/system/core/toolbox/ |
chmod.c | 22 int pathlen = strlen(path); local 28 if (strlen(dp->d_name) + pathlen + 2/*NUL and slash*/ > PATH_MAX) {
|
/external/chromium_org/third_party/openssl/openssl/crypto/x509v3/ |
v3_pci.c | 76 ASN1_OBJECT **language, ASN1_INTEGER **pathlen, 96 else if (strcmp(val->name, "pathlen") == 0) 98 if (*pathlen) 104 if (!X509V3_get_value_int(val, pathlen)) 249 ASN1_INTEGER *pathlen = NULL; local 279 &language, &pathlen, &policy); 288 &language, &pathlen, &policy)) 318 pci->pcPathLengthConstraint = pathlen; pathlen = NULL; 322 if (pathlen) { ASN1_INTEGER_free(pathlen); pathlen = NULL; [all...] |
x509v3.h | 154 ASN1_INTEGER *pathlen; member in struct:BASIC_CONSTRAINTS_st
|
/external/openssl/crypto/x509v3/ |
v3_pci.c | 76 ASN1_OBJECT **language, ASN1_INTEGER **pathlen, 96 else if (strcmp(val->name, "pathlen") == 0) 98 if (*pathlen) 104 if (!X509V3_get_value_int(val, pathlen)) 249 ASN1_INTEGER *pathlen = NULL; local 279 &language, &pathlen, &policy); 288 &language, &pathlen, &policy)) 318 pci->pcPathLengthConstraint = pathlen; pathlen = NULL; 322 if (pathlen) { ASN1_INTEGER_free(pathlen); pathlen = NULL; [all...] |
x509v3.h | 154 ASN1_INTEGER *pathlen; member in struct:BASIC_CONSTRAINTS_st
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
memfs_malloc.cc | 219 const int pathlen = FLAGS_memfs_malloc_path.size(); local 220 if (pathlen + 8 > sizeof(path)) { 224 memcpy(path, FLAGS_memfs_malloc_path.data(), pathlen); 225 memcpy(path + pathlen, ".XXXXXX", 8); // Also copies terminating \0
|
/external/chromium_org/third_party/tcmalloc/vendor/src/ |
memfs_malloc.cc | 219 const int pathlen = FLAGS_memfs_malloc_path.size(); local 220 if (pathlen + 8 > sizeof(path)) { 224 memcpy(path, FLAGS_memfs_malloc_path.data(), pathlen); 225 memcpy(path + pathlen, ".XXXXXX", 8); // Also copies terminating \0
|
/external/grub/stage2/ |
fsys_iso9660.c | 141 unsigned int pathlen; local 155 /* pathlen = strcspn(dirname, "/\n\t "); */ 156 for (pathlen = 0 ; 157 dirname[pathlen] 158 && !isspace(dirname[pathlen]) && dirname[pathlen] != '/' ; 159 pathlen++) 346 if (name_len >= pathlen 347 && !memcmp(name, dirname, pathlen)) 349 if (dirname[pathlen] == '/' || !print_possibilities [all...] |
/external/bison/lib/ |
spawni.c | 147 size_t pathlen; local 322 pathlen = strlen (path); 323 name = alloca (pathlen + len + 1); 325 name = (char *) memcpy (name + pathlen + 1, file, len);
|
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/ |
file.c | 288 size_t pathlen, i, j; local 305 pathlen = yasm__splitpath_unix(from, &tail); 307 out = yasm_xmalloc(pathlen+strlen(to)+2); /* worst case maximum len */ 310 for (i=0, j=0; i<pathlen; i++) { 311 if (i<pathlen-1 && from[i] == '/' && from[i+1] == '/') 315 pathlen = j; 318 if (pathlen > 0 && out[pathlen-1] != '/') 319 out[pathlen++] = '/'; 334 } else if (pathlen == 0 373 size_t pathlen, i, j; local [all...] |
/external/qemu/distrib/sdl-1.2.15/src/main/win32/ |
SDL_win32_main.c | 201 DWORD pathlen; local 209 pathlen = GetModuleFileName(NULL, path, SDL_arraysize(path)); 210 while ( pathlen > 0 && path[pathlen] != '\\' ) { 211 --pathlen; 213 path[pathlen] = '\0';
|
/system/extras/tests/sdcard/ |
sdcard_perf_test.cpp | 622 int pathlen = strlen(path); local 623 char* nameStart = filepath + pathlen; 625 snprintf(nameStart, MAX_PATH - pathlen, "/file%d", j);
|
/external/checkpolicy/ |
checkpolicy.c | 385 size_t scontext_len, pathlen; local 834 pathlen = strlen(ans); 835 ans[pathlen - 1] = 0;
|
/system/core/adb/ |
jdwp_service.c | 456 int pathlen = socknamelen; local 458 if (pathlen >= maxpath) { 460 pathlen+1-maxpath ); 475 addrlen = (pathlen + sizeof(addr.sun_family));
|
/ndk/sources/host-tools/make-3.81/ |
variable.c | 1127 size_t pathlen = 0; local [all...] |
/external/mksh/src/ |
misc.c | 1351 #define pathlen sb.st_size macro 1352 #define pathcnd (ldestlen < (pathlen + 1)) 1354 #define pathlen PATH_MAX macro 1533 #undef pathlen macro [all...] |
edit.c | 766 size_t pathlen, patlen, oldsize, newsize, i, j; local 777 pathlen = p - sp; 778 if (pathlen) { 785 XcheckN(xs, xp, pathlen * 2); 792 pathlen++; 809 memmove(words[j], words[j] + pathlen, 810 strlen(words[j] + pathlen) + 1); [all...] |
/sdk/emulator/qtools/ |
trace_reader.cpp | 948 int pathlen = strlen(buf) - prefix_len - 1; local 949 char *path = new char[pathlen + 1]; 950 strncpy(path, buf + prefix_len, pathlen); 951 path[pathlen] = 0; [all...] |
/external/e2fsprogs/misc/ |
mke2fs.c | 1206 int pathlen = sizeof(PATH_SET) + 1; local 1209 pathlen += strlen(oldpath); 1210 newpath = malloc(pathlen); [all...] |
/system/core/sdcard/ |
sdcard.c | 326 ssize_t pathlen = 0; local 328 pathlen = get_node_path_locked(node->parent, buf, bufsize - namelen - 2); 329 if (pathlen < 0) { 332 buf[pathlen++] = '/'; 335 memcpy(buf + pathlen, name, namelen + 1); /* include trailing \0 */ 336 return pathlen + namelen; 350 size_t pathlen = strlen(path); local 352 size_t childlen = pathlen + namelen + 1; 359 memcpy(buf, path, pathlen); 360 buf[pathlen] = '/' [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
x509v3.h | 154 ASN1_INTEGER *pathlen; member in struct:BASIC_CONSTRAINTS_st
|
/external/openssl/include/openssl/ |
x509v3.h | 154 ASN1_INTEGER *pathlen; member in struct:BASIC_CONSTRAINTS_st
|