Home
last modified time | relevance | path

Searched refs:compLen (Results 1 – 4 of 4) sorted by relevance

/external/deqp/executor/
DxeTestCase.cpp47 int compLen = 0; in getFirstComponentLength() local
48 while (path[compLen] != 0 && path[compLen] != '.') in getFirstComponentLength()
49 compLen++; in getFirstComponentLength()
50 return compLen; in getFirstComponentLength()
53 static bool compareNameToPathComponent (const char* name, const char* path, int compLen) in compareNameToPathComponent() argument
55 for (int pos = 0; pos < compLen; pos++) in compareNameToPathComponent()
61 if (name[compLen] != 0) in compareNameToPathComponent()
156 int compLen = getFirstComponentLength(path); in find() local
157 XE_CHECK(compLen > 0); in find()
159 if (compareNameToPathComponent(getName(), path, compLen)) in find()
[all …]
/external/oj-libjdwp/src/share/back/
DSDE.c170 int compLen; in patternMatch() local
183 compLen = pattLen - 1; in patternMatch()
184 offset = (int)strlen(classname) - compLen; in patternMatch()
194 return strncmp(pattern, start, compLen) == 0; in patternMatch()
DeventFilter.c250 int compLen; in patternStringMatch() local
263 compLen = pattLen - 1; in patternStringMatch()
264 offset = (int)strlen(classname) - compLen; in patternStringMatch()
274 return strncmp(pattern, start, compLen) == 0; in patternStringMatch()
/external/curl/lib/
Dftp.c4119 size_t compLen = slashPos - curPos; in ftp_parse_url_path() local
4122 if((compLen == 0) && (ftpc->dirdepth == 0)) in ftp_parse_url_path()
4123 ++compLen; in ftp_parse_url_path()
4128 if(compLen > 0) { in ftp_parse_url_path()
4129 char *comp = calloc(1, compLen + 1); in ftp_parse_url_path()
4134 strncpy(comp, curPos, compLen); in ftp_parse_url_path()