/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/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...] |
v3_bcons.c | 83 ASN1_OPT(BASIC_CONSTRAINTS, pathlen, ASN1_INTEGER) 93 X509V3_add_value_int("pathlen", bcons->pathlen, &extlist); 111 } else if(!strcmp(val->name, "pathlen")) { 112 if(!X509V3_get_value_int(val, &bcons->pathlen)) goto err;
|
/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...] |
v3_bcons.c | 83 ASN1_OPT(BASIC_CONSTRAINTS, pathlen, ASN1_INTEGER) 93 X509V3_add_value_int("pathlen", bcons->pathlen, &extlist); 111 } else if(!strcmp(val->name, "pathlen")) { 112 if(!X509V3_get_value_int(val, &bcons->pathlen)) goto err;
|
/system/core/libcutils/ |
debugger.c | 23 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen) { 42 if (pathbuf && pathlen) { 43 ssize_t n = TEMP_FAILURE_RETRY(read(s, pathbuf, pathlen - 1));
|
/external/e2fsprogs/lib/ext2fs/ |
namei.c | 24 const char *pathname, size_t pathlen, int follow, 76 const char *pathname, int pathlen, 90 pathlen--; 94 for (len=0; --pathlen >= 0;len++) { 99 if (pathlen < 0) 114 const char *pathname, size_t pathlen, int follow, 124 root, base, pathlen, pathname, link_count); 126 retval = dir_namei(fs, root, base, pathname, pathlen,
|
/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...] |
/bootable/recovery/minzip/ |
DirUtil.c | 73 size_t pathLen = strlen(path); 74 char *cpath = (char *)malloc(pathLen + 2); 79 memcpy(cpath, path, pathLen); 83 char *c = cpath + pathLen - 1; 99 cpath[pathLen] = '/'; 100 cpath[pathLen + 1] = '\0';
|
/development/tools/etc1tool/ |
etc1tool.cpp | 67 size_t pathLen = strlen(pPath); 69 if (pathLen + extensionLen + 1 > pathCapacity) { 74 if ((pathLen == 1 && pPath[0] == '.') || (pathLen == 2 && pPath[0] == '.' 75 && pPath[1] == '.') || (pathLen >= 2 && pPath[pathLen - 2] == '/' 76 && pPath[pathLen - 1] == '.') || (pathLen >= 3 77 && pPath[pathLen - 3] == '/' && pPath[pathLen - 2] == '. [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/core/toolbox/ |
chmod.c | 22 int pathlen = strlen(path); local 28 if (strlen(dp->d_name) + pathlen + 2/*NUL and slash*/ > PATH_MAX) {
|
/system/core/include/cutils/ |
debugger.h | 47 int dump_tombstone(pid_t tid, char* pathbuf, size_t pathlen);
|
/external/lzma/C/Util/SfxSetup/ |
SfxSetup.c | 245 size_t pathLen;
297 pathLen = wcslen(path);
306 wcscpy(path + pathLen, L"7z");
326 pathLen = wcslen(path);
398 temp = path + pathLen;
503 WCHAR *temp = path + pathLen;
570 path[pathLen] = L'\0';
|
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
UnixStream.cpp | 51 make_unix_path(char *path, size_t pathlen, int port_number) 84 snprintf(path, pathlen, "%s/qemu-gles-%d", tmp, port_number);
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
UnixStream.cpp | 51 make_unix_path(char *path, size_t pathlen, int port_number) 84 snprintf(path, pathlen, "%s/qemu-gles-%d", tmp, port_number);
|
/external/chromium_org/third_party/openssl/openssl/android.testssl/ |
CAss.cnf | 74 basicConstraints = CA:true,pathlen:1
|
/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/openssl/android.testssl/ |
CAss.cnf | 74 basicConstraints = CA:true,pathlen:1
|
/frameworks/native/cmds/rawbu/ |
backup.cpp | 238 int pathLen = strlen(path); 240 if (!write_int32(fh, pathLen)) return 0; 241 if (fwrite(path, 1, pathLen, fh) != (size_t)pathLen) { 450 int32_t pathLen = read_int32(fh, -1); 451 if (pathLen <= 0) { 452 fprintf(stderr, "bad path length %d in restore file\n", pathLen); 455 char* readPath = (char*)malloc(pathLen+1); 456 if (fread(readPath, 1, pathLen, fh) != (size_t)pathLen) { [all...] |
/external/qemu/android/utils/ |
path.c | 456 int pathLen = strlen(path); 464 result = malloc(currentLen + pathLen + 2); 470 memcpy(result + currentLen, path, pathLen+1); 476 int pathLen = strlen(path); 489 result = malloc(currentLen + pathLen + 2); 495 memcpy(result + currentLen, path, pathLen+1);
|
/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/icu/source/common/ |
udata.cpp | 496 int32_t pathLen = 0; 508 pathLen = (int32_t)uprv_strlen(currentPath); 514 pathLen = (int32_t)uprv_strlen(currentPath); 517 pathLen = (int32_t)(nextPath - currentPath); 523 if(pathLen == 0) { 532 for(qqq=0;qqq<pathLen;qqq++) 540 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); 546 (pathLen>=4) && 547 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */ 558 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) [all...] |
/external/icu4c/common/ |
udata.cpp | 520 int32_t pathLen = 0; 532 pathLen = (int32_t)uprv_strlen(currentPath); 538 pathLen = (int32_t)uprv_strlen(currentPath); 541 pathLen = (int32_t)(nextPath - currentPath); 547 if(pathLen == 0) { 556 for(qqq=0;qqq<pathLen;qqq++) 564 pathBuffer.clear().append(currentPath, pathLen, *pErrorCode); 570 (pathLen>=4) && 571 uprv_strncmp(pathBuffer.data() +(pathLen-4), suffix, 4)==0 && /* suffix matches */ 582 if(pathBuffer[pathLen-1] != U_FILE_SEP_CHAR) [all...] |