Home
last modified time | relevance | path

Searched refs:dirlen (Results 1 – 9 of 9) sorted by relevance

/external/icu/icu4c/source/tools/genrb/
Dgenrb.cpp563 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 …]
Dparse.cpp726 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/
Ddwfl_build_id_find_elf.c86 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/
Dfinddev.c84 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/
Ddevno.c99 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/
Ducbuf.c640 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/
Ddlfcn.c489 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/
Dftp.c4293 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/
Dldgeneric.c352 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()