Searched refs:dirlen (Results 1 – 10 of 10) sorted by relevance
/external/icu4c/tools/genrb/ |
D | genrb.c | 461 int32_t dirlen = 0; in processFile() local 476 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile() 496 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 499 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 501 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in processFile() 502 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile() 522 if( (filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in processFile() 524 openFileName[dirlen] = U_FILE_SEP_CHAR; in processFile() 526 openFileName[dirlen + 1] = '\0'; in processFile() 528 openFileName = (char *) uprv_malloc(dirlen + filelen + 1); in processFile() [all …]
|
D | parse.c | 666 int32_t dirlen = 0; in importFromDataFile() local 697 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in importFromDataFile() 717 dirlen = (int32_t)uprv_strlen(genrbdata->inputDir); in importFromDataFile() 720 dirlen = (int32_t)uprv_strlen(genrbdata->inputDir); in importFromDataFile() 722 if(genrbdata->inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in importFromDataFile() 723 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in importFromDataFile() 743 if( (filename[0] != U_FILE_SEP_CHAR) && (genrbdata->inputDir[dirlen-1] !='.')){ in importFromDataFile() 745 openFileName[dirlen] = U_FILE_SEP_CHAR; in importFromDataFile() 747 openFileName[dirlen + 1] = '\0'; in importFromDataFile() 749 openFileName = (char *) uprv_malloc(dirlen + filelen + 1); in importFromDataFile()
|
/external/elfutils/libdwfl/ |
D | dwfl_build_id_find_elf.c | 108 size_t dirlen = strlen (dir); in __libdwfl_open_by_build_id() local 109 char *name = malloc (dirlen + sizeof id_name); in __libdwfl_open_by_build_id() 112 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name); in __libdwfl_open_by_build_id()
|
/external/e2fsprogs/lib/ext2fs/ |
D | finddev.c | 83 int dirlen; in scan_dir() local 86 dirlen = strlen(dirname); in scan_dir() 91 if (dirlen + strlen(dp->d_name) + 2 >= sizeof(path)) in scan_dir()
|
/external/e2fsprogs/lib/blkid/ |
D | devno.c | 99 int dirlen; in blkid__scan_dir() local 104 dirlen = strlen(dirname) + 2; in blkid__scan_dir() 106 if (dirlen + strlen(dp->d_name) >= sizeof(path)) in blkid__scan_dir()
|
/external/icu4c/tools/toolutil/ |
D | ucbuf.c | 640 int32_t dirlen = 0; in ucbuf_resolveFileName() local 652 dirlen = (int32_t)uprv_strlen(inputDir); in ucbuf_resolveFileName() 654 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in ucbuf_resolveFileName() 655 requiredLen = dirlen + filelen + 2; in ucbuf_resolveFileName() 674 if( (fileName[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in ucbuf_resolveFileName() 676 target[dirlen] = U_FILE_SEP_CHAR; in ucbuf_resolveFileName() 678 target[dirlen + 1] = '\0'; in ucbuf_resolveFileName() 680 requiredLen = dirlen + filelen + 1; in ucbuf_resolveFileName()
|
/external/quake/quake/src/WinQuake/ |
D | common.cpp | 1268 int dirlen; member 1673 header.dirlen = LittleLong (header.dirlen); in COM_LoadPackFile() 1675 numpackfiles = header.dirlen / sizeof(dpackfile_t); in COM_LoadPackFile() 1686 Sys_FileRead (packhandle, (void *)info, header.dirlen); in COM_LoadPackFile() 1690 for (i=0 ; i<header.dirlen ; i++) in COM_LoadPackFile()
|
/external/quake/quake/src/QW/client/ |
D | common.c | 1309 int dirlen; member 1661 header.dirlen = LittleLong (header.dirlen); in COM_LoadPackFile() 1663 numpackfiles = header.dirlen / sizeof(dpackfile_t); in COM_LoadPackFile() 1674 fread (&info, 1, header.dirlen, packhandle); in COM_LoadPackFile() 1677 crc = CRC_Block((byte *)info, header.dirlen); in COM_LoadPackFile()
|
/external/elfutils/ |
D | android.patch | 93 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name);
|
/external/elfutils/src/ |
D | ldgeneric.c | 362 size_t dirlen = strlen (path->pname); in open_along_path2() local 376 rfname = (char *) alloca (dirlen + 5 + fnamelen + extlen); in open_along_path2() 378 dirlen), in open_along_path2() 399 rfname = (char *) alloca (dirlen + 1 + fnamelen + 1); in open_along_path2() 400 memcpy (stpcpy (mempcpy (rfname, path->pname, dirlen), "/"), in open_along_path2() 445 rfname[dirlen] = '\0'; in open_along_path2()
|