Lines Matching defs:length
128 size_t i, length;
159 length = strcspn(c, ",");
160 if (length != 32 || c[length] != ',')
166 memcpy(mapping->guid, c, length);
167 c += length + 1;
169 length = strcspn(c, ",");
170 if (length >= sizeof(mapping->name) || c[length] != ',')
176 memcpy(mapping->name, c, length);
177 c += length + 1;
187 length = strlen(fields[i].name);
188 if (strncmp(c, fields[i].name, length) != 0 || c[length] != ':')
191 c += length + 1;
243 length = strlen(name);
244 if (strncmp(c, name, length) != 0)
1289 const size_t length = strcspn(c, "\r\n");
1290 if (length < sizeof(line))
1294 memcpy(line, c, length);
1295 line[length] = '\0';
1313 c += length;