Lines Matching defs:len
197 int len;
229 len = p - base_path;
231 result = g_malloc(len + strlen(filename) + 1);
232 memcpy(result, base_path, len);
233 strcpy(result + len, filename);
926 int len;
950 len = p - filename;
951 if (len > sizeof(protocol) - 1)
952 len = sizeof(protocol) - 1;
953 memcpy(protocol, filename, len);
954 protocol[len] = '\0';
2670 if (result->len > 0) {