/ndk/sources/host-tools/make-3.81/glob/ |
glob.c | 370 size_t dirlen; 524 dirlen = strlen (pattern); 539 dirlen = 0; 546 dirlen = 1; 552 dirlen = filename - pattern; 559 ++dirlen; 560 drive_spec = (char *) __alloca (dirlen + 1); 562 *((char *) mempcpy (drive_spec, pattern, dirlen)) = '\0'; 564 memcpy (drive_spec, pattern, dirlen); 565 drive_spec[dirlen] = '\0' 369 size_t dirlen; local 706 &dirname[1], dirlen); local 1108 size_t dirlen = strlen (dirname); local 1249 size_t dirlen = strlen (directory); local [all...] |
/external/elfutils/libdwfl/ |
dwfl_build_id_find_elf.c | 108 size_t dirlen = strlen (dir); local 109 char *name = malloc (dirlen + sizeof id_name); 112 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name);
|
/external/icu4c/tools/genrb/ |
genrb.c | 462 int32_t dirlen = 0; local 478 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); 498 dirlen = (int32_t)uprv_strlen(inputDir); 501 dirlen = (int32_t)uprv_strlen(inputDir); 503 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { 504 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); 524 if( (filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ 526 openFileName[dirlen] = U_FILE_SEP_CHAR; 528 openFileName[dirlen + 1] = '\0'; 530 openFileName = (char *) uprv_malloc(dirlen + filelen + 1) 695 int32_t dirlen = (int32_t)uprv_strlen(outputDir); local [all...] |
parse.cpp | 663 int32_t dirlen = 0; local 694 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); 714 dirlen = (int32_t)uprv_strlen(genrbdata->inputDir); 717 dirlen = (int32_t)uprv_strlen(genrbdata->inputDir); 719 if(genrbdata->inputDir[dirlen-1] != U_FILE_SEP_CHAR) { 720 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); 740 if( (filename[0] != U_FILE_SEP_CHAR) && (genrbdata->inputDir[dirlen-1] !='.')){ 742 openFileName[dirlen] = U_FILE_SEP_CHAR; 744 openFileName[dirlen + 1] = '\0'; 746 openFileName = (char *) uprv_malloc(dirlen + filelen + 1) [all...] |
/external/e2fsprogs/lib/blkid/ |
devno.c | 99 int dirlen; local 104 dirlen = strlen(dirname) + 2; 106 if (dirlen + strlen(dp->d_name) >= sizeof(path))
|
/external/e2fsprogs/lib/ext2fs/ |
finddev.c | 83 int dirlen; local 86 dirlen = strlen(dirname); 91 if (dirlen + strlen(dp->d_name) + 2 >= sizeof(path))
|
/external/icu4c/tools/toolutil/ |
ucbuf.c | 641 int32_t dirlen = 0; local 653 dirlen = (int32_t)uprv_strlen(inputDir); 655 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { 656 requiredLen = dirlen + filelen + 2; 675 if( (fileName[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ 677 target[dirlen] = U_FILE_SEP_CHAR; 679 target[dirlen + 1] = '\0'; 681 requiredLen = dirlen + filelen + 1;
|
/ndk/sources/host-tools/make-3.81/ |
implicit.c | 923 int dirlen = (lastslash + 1) - filename; 927 fullstemlen = dirlen + stemlen; 929 bcopy (filename, file->stem, dirlen); 930 bcopy (stem, file->stem + dirlen, stemlen); 921 int dirlen = (lastslash + 1) - filename; local
|
/external/quake/quake/src/WinQuake/ |
common.cpp | 1268 int dirlen; member in struct:__anon14407 1673 header.dirlen = LittleLong (header.dirlen); 1675 numpackfiles = header.dirlen / sizeof(dpackfile_t); 1686 Sys_FileRead (packhandle, (void *)info, header.dirlen); 1690 for (i=0 ; i<header.dirlen ; i++) [all...] |
/external/quake/quake/src/QW/client/ |
common.c | 1309 int dirlen; member in struct:__anon14122 1661 header.dirlen = LittleLong (header.dirlen); 1663 numpackfiles = header.dirlen / sizeof(dpackfile_t); 1674 fread (&info, 1, header.dirlen, packhandle); 1677 crc = CRC_Block((byte *)info, header.dirlen); 1680 // for (i=0 ; i<header.dirlen ; i++) [all...] |
/external/elfutils/src/ |
ldgeneric.c | 362 size_t dirlen = strlen (path->pname); local 376 rfname = (char *) alloca (dirlen + 5 + fnamelen + extlen); 378 dirlen), 399 rfname = (char *) alloca (dirlen + 1 + fnamelen + 1); 400 memcpy (stpcpy (mempcpy (rfname, path->pname, dirlen), "/"), 445 rfname[dirlen] = '\0'; [all...] |