Searched refs:dirlen (Results 1 – 9 of 9) sorted by relevance
/external/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 563 int32_t dirlen = 0; in processFile() local 578 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile() 598 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 601 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 603 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in processFile() 604 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile() 624 if( (filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in processFile() 626 openFileName[dirlen] = U_FILE_SEP_CHAR; in processFile() 628 openFileName[dirlen + 1] = '\0'; in processFile() 630 openFileName = (char *) uprv_malloc(dirlen + filelen + 1); in processFile() [all …]
|
D | parse.cpp | 726 int32_t dirlen = (int32_t)uprv_strlen(inputDir); in getRules() local 728 if((filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')) { in getRules() 740 openFileName.append(inputDir, dirlen, errorCode); in getRules() 741 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in getRules()
|
/external/elfutils/libdwfl/ |
D | dwfl_build_id_find_elf.c | 86 size_t dirlen = strlen (dir); in __libdwfl_open_by_build_id() local 87 char *name = malloc (dirlen + sizeof id_name); in __libdwfl_open_by_build_id() 90 memcpy (mempcpy (name, dir, dirlen), id_name, sizeof id_name); in __libdwfl_open_by_build_id()
|
/external/e2fsprogs/lib/ext2fs/ |
D | finddev.c | 84 int dirlen; in scan_dir() local 87 dirlen = strlen(dirname); in scan_dir() 92 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/icu/icu4c/source/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/libxml2/os400/dlfcn/ |
D | dlfcn.c | 489 int dirlen, const char * link) in dlGetObjectName() argument 523 if (dirlen < 0 || dirlen > _QP0L_DIR_NAME_LG + 4) in dlGetObjectName() 524 dirlen = _QP0L_DIR_NAME_LG + 4; in dlGetObjectName() 526 while (*dir && n < dirlen) in dlGetObjectName()
|
/external/curl/lib/ |
D | ftp.c | 4293 size_t dirlen = slash_pos-cur_pos; in ftp_parse_url_path() local 4299 if(!dirlen) in ftp_parse_url_path() 4300 dirlen++; in ftp_parse_url_path() 4303 slash_pos ? curlx_uztosi(dirlen) : 1, in ftp_parse_url_path()
|
/external/elfutils/src/ |
D | ldgeneric.c | 352 size_t dirlen = strlen (path->pname); in open_along_path2() local 366 rfname = (char *) alloca (dirlen + 5 + fnamelen + extlen); in open_along_path2() 368 dirlen), in open_along_path2() 389 rfname = (char *) alloca (dirlen + 1 + fnamelen + 1); in open_along_path2() 390 memcpy (stpcpy (mempcpy (rfname, path->pname, dirlen), "/"), in open_along_path2() 435 rfname[dirlen] = '\0'; in open_along_path2()
|