Lines Matching defs:length
88 writeOutString(PortProxy& proxy, Addr addr, string str, int length)
90 char cleanedString[length + 1];
91 cleanedString[length] = 0;
93 if (str.length() > length) {
94 memcpy(cleanedString, str.c_str(), length);
98 memcpy(cleanedString, str.c_str(), str.length());
99 memset(cleanedString + str.length(), 0, length - str.length());
101 proxy.writeBlob(addr, &cleanedString, length);
104 for (int i = 0; i < length; i++)
130 // The length of the structure in paragraphs, aka 16 byte chunks.
131 uint8_t length = 1;
132 proxy.writeBlob(addr + 8, &length, 1);
133 checkSum += length;
180 proxy.writeBlob(addr + 1, &length, 1);
181 checkSum += length;
187 SimObject(p), type(_type), length(_length)
201 // Base table length goes here but will be calculated later.
392 return length;
398 addr(p->address), addrLength(p->length)
419 return length;
444 return length;