/third_party/musl/src/locale/ |
D | dcngettext.c | 16 int dirlen; member 25 static char *gettextdir(const char *domainname, size_t *dirlen) in gettextdir() argument 30 *dirlen = p->dirlen; in gettextdir() 46 size_t dirlen = strnlen(dirname, PATH_MAX); in bindtextdomain() local 47 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain() 62 p = calloc(sizeof *p + domlen + dirlen + 2, 1); in bindtextdomain() 68 p->dirlen = dirlen; in bindtextdomain() 72 memcpy(p->dirname, dirname, dirlen+1); in bindtextdomain() 152 size_t dirlen, loclen, catlen, modlen, alt_modlen; in dcngettext() local 160 dirlen = q->dirlen; in dcngettext() [all …]
|
/third_party/openssl/crypto/ |
D | LPdir_win.c | 83 size_t dirlen = strlen(directory); in LP_find_file() local 85 if (dirlen == 0 || dirlen > INT_MAX - 3) { in LP_find_file() 100 size_t index = 0, len_0 = dirlen + 1; in LP_find_file() 154 if (directory[dirlen - 1] != '*') { in LP_find_file() 155 char *buf = _alloca(dirlen + 3); in LP_find_file() 158 if (buf[dirlen - 1] != '/' && buf[dirlen - 1] != '\\') in LP_find_file() 159 strcpy(buf + dirlen, "/*"); in LP_find_file() 161 strcpy(buf + dirlen, "*"); in LP_find_file()
|
/third_party/musl/porting/linux/user/src/locale/ |
D | dcngettext.c | 36 int dirlen; member 45 static char *gettextdir(const char *domainname, size_t *dirlen) in gettextdir() argument 50 *dirlen = p->dirlen; in gettextdir() 70 size_t dirlen = strnlen(dirname, PATH_MAX); in bindtextdomain() local 71 if (domlen > NAME_MAX || dirlen >= PATH_MAX) { in bindtextdomain() 86 p = calloc(sizeof *p + domlen + dirlen + 2, 1); in bindtextdomain() 92 p->dirlen = dirlen; in bindtextdomain() 96 memcpy(p->dirname, dirname, dirlen+1); in bindtextdomain() 195 size_t dirlen, loclen, catlen, modlen, alt_modlen; in dcngettext() local 203 dirlen = q->dirlen; in dcngettext() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/ |
D | genrb.cpp | 566 int32_t dirlen = 0; in processFile() local 581 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile() 601 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 604 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 606 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in processFile() 607 openFileName = (char *) uprv_malloc(dirlen + filelen + 2); in processFile() 627 if( (filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in processFile() 629 openFileName[dirlen] = U_FILE_SEP_CHAR; in processFile() 631 openFileName[dirlen + 1] = '\0'; in processFile() 633 openFileName = (char *) uprv_malloc(dirlen + filelen + 1); in processFile() [all …]
|
D | parse.cpp | 728 int32_t dirlen = (int32_t)uprv_strlen(inputDir); in getRules() local 730 if((filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')) { in getRules() 742 openFileName.append(inputDir, dirlen, errorCode); in getRules() 743 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in getRules()
|
/third_party/openssl/crypto/dso/ |
D | dso_win32.c | 199 int dirlen; member 259 result->dirlen = (int)(filename - start); in win32_splitter() 263 result->dirlen += (int)(filename - start); in win32_splitter() 275 result->dirlen = 0; in win32_splitter() 277 result->dirlen += (int)(filename - start); in win32_splitter() 296 if (!result->dirlen) in win32_splitter() 325 len += file_split->dirlen; in win32_joiner() 372 while (file_split->dirlen > (start - file_split->dir)) { in win32_joiner() 374 file_split->dirlen - (start - in win32_joiner() 377 end = start + file_split->dirlen - (start - file_split->dir); in win32_joiner() [all …]
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | genrb.cpp | 588 int32_t dirlen = 0; in processFile() local 611 dirlen = inputDirBuf.length(); in processFile() 614 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 616 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in processFile() 628 if( (filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in processFile() 814 int32_t dirlen = (int32_t)uprv_strlen(outputDir); in make_res_filename() local 817 resName = (char*) uprv_malloc(sizeof(char) * (dirlen + pkgLen + basenamelen + 8)); in make_res_filename() 826 if(outputDir[dirlen] != U_FILE_SEP_CHAR) { in make_res_filename() 827 resName[dirlen] = U_FILE_SEP_CHAR; in make_res_filename() 828 resName[dirlen + 1] = '\0'; in make_res_filename()
|
D | parse.cpp | 728 int32_t dirlen = (int32_t)uprv_strlen(inputDir); in getRules() local 730 if((filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')) { in getRules() 742 openFileName.append(inputDir, dirlen, errorCode); in getRules() 743 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in getRules()
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | genrb.cpp | 588 int32_t dirlen = 0; in processFile() local 611 dirlen = inputDirBuf.length(); in processFile() 614 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 616 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in processFile() 628 if( (filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in processFile() 814 int32_t dirlen = (int32_t)uprv_strlen(outputDir); in make_res_filename() local 817 resName = (char*) uprv_malloc(sizeof(char) * (dirlen + pkgLen + basenamelen + 8)); in make_res_filename() 826 if(outputDir[dirlen] != U_FILE_SEP_CHAR) { in make_res_filename() 827 resName[dirlen] = U_FILE_SEP_CHAR; in make_res_filename() 828 resName[dirlen + 1] = '\0'; in make_res_filename()
|
D | parse.cpp | 728 int32_t dirlen = (int32_t)uprv_strlen(inputDir); in getRules() local 730 if((filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')) { in getRules() 742 openFileName.append(inputDir, dirlen, errorCode); in getRules() 743 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in getRules()
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | genrb.cpp | 588 int32_t dirlen = 0; in processFile() local 611 dirlen = inputDirBuf.length(); in processFile() 614 dirlen = (int32_t)uprv_strlen(inputDir); in processFile() 616 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in processFile() 628 if( (filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in processFile() 814 int32_t dirlen = (int32_t)uprv_strlen(outputDir); in make_res_filename() local 817 resName = (char*) uprv_malloc(sizeof(char) * (dirlen + pkgLen + basenamelen + 8)); in make_res_filename() 826 if(outputDir[dirlen] != U_FILE_SEP_CHAR) { in make_res_filename() 827 resName[dirlen] = U_FILE_SEP_CHAR; in make_res_filename() 828 resName[dirlen + 1] = '\0'; in make_res_filename()
|
D | parse.cpp | 728 int32_t dirlen = (int32_t)uprv_strlen(inputDir); in getRules() local 730 if((filename[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')) { in getRules() 742 openFileName.append(inputDir, dirlen, errorCode); in getRules() 743 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in getRules()
|
/third_party/libuv/src/win/ |
D | fs-event.c | 71 size_t dirlen = wcslen(dir); in uv__relative_path() local 72 assert(!_wcsnicmp(filename, dir, dirlen)); in uv__relative_path() 73 if (dirlen > 0 && dir[dirlen - 1] == '\\') in uv__relative_path() 74 dirlen--; in uv__relative_path() 75 relpathlen = filenamelen - dirlen - 1; in uv__relative_path() 79 wcsncpy(*relpath, filename + dirlen + 1, relpathlen); in uv__relative_path()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | finddev.c | 88 int dirlen; in scan_dir() local 91 dirlen = strlen(dirname); in scan_dir() 96 if (dirlen + strlen(dp->d_name) + 2 >= sizeof(path)) in scan_dir()
|
/third_party/e2fsprogs/lib/blkid/ |
D | devno.c | 103 int dirlen; in blkid__scan_dir() local 108 dirlen = strlen(dirname) + 2; in blkid__scan_dir() 110 if (dirlen + strlen(dp->d_name) >= sizeof(path)) in blkid__scan_dir()
|
/third_party/skia/third_party/externals/icu/source/tools/toolutil/ |
D | ucbuf.cpp | 642 int32_t dirlen = 0; in ucbuf_resolveFileName() local 654 dirlen = (int32_t)uprv_strlen(inputDir); in ucbuf_resolveFileName() 656 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in ucbuf_resolveFileName() 657 requiredLen = dirlen + filelen + 2; in ucbuf_resolveFileName() 676 if( (fileName[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in ucbuf_resolveFileName() 678 target[dirlen] = U_FILE_SEP_CHAR; in ucbuf_resolveFileName() 680 target[dirlen + 1] = '\0'; in ucbuf_resolveFileName() 682 requiredLen = dirlen + filelen + 1; in ucbuf_resolveFileName()
|
/third_party/flutter/skia/third_party/externals/icu/source/tools/toolutil/ |
D | ucbuf.cpp | 642 int32_t dirlen = 0; in ucbuf_resolveFileName() local 654 dirlen = (int32_t)uprv_strlen(inputDir); in ucbuf_resolveFileName() 656 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in ucbuf_resolveFileName() 657 requiredLen = dirlen + filelen + 2; in ucbuf_resolveFileName() 676 if( (fileName[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in ucbuf_resolveFileName() 678 target[dirlen] = U_FILE_SEP_CHAR; in ucbuf_resolveFileName() 680 target[dirlen + 1] = '\0'; in ucbuf_resolveFileName() 682 requiredLen = dirlen + filelen + 1; in ucbuf_resolveFileName()
|
/third_party/icu/icu4c/source/tools/toolutil/ |
D | ucbuf.cpp | 642 int32_t dirlen = 0; in ucbuf_resolveFileName() local 654 dirlen = (int32_t)uprv_strlen(inputDir); in ucbuf_resolveFileName() 656 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in ucbuf_resolveFileName() 657 requiredLen = dirlen + filelen + 2; in ucbuf_resolveFileName() 676 if( (fileName[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in ucbuf_resolveFileName() 678 target[dirlen] = U_FILE_SEP_CHAR; in ucbuf_resolveFileName() 680 target[dirlen + 1] = '\0'; in ucbuf_resolveFileName() 682 requiredLen = dirlen + filelen + 1; in ucbuf_resolveFileName()
|
/third_party/node/deps/icu-small/source/tools/toolutil/ |
D | ucbuf.cpp | 642 int32_t dirlen = 0; in ucbuf_resolveFileName() local 654 dirlen = (int32_t)uprv_strlen(inputDir); in ucbuf_resolveFileName() 656 if(inputDir[dirlen-1] != U_FILE_SEP_CHAR) { in ucbuf_resolveFileName() 657 requiredLen = dirlen + filelen + 2; in ucbuf_resolveFileName() 676 if( (fileName[0] != U_FILE_SEP_CHAR) && (inputDir[dirlen-1] !='.')){ in ucbuf_resolveFileName() 678 target[dirlen] = U_FILE_SEP_CHAR; in ucbuf_resolveFileName() 680 target[dirlen + 1] = '\0'; in ucbuf_resolveFileName() 682 requiredLen = dirlen + filelen + 1; in ucbuf_resolveFileName()
|
/third_party/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()
|
/third_party/wayland_standard/cursor/ |
D | xcursor.c | 668 int dirlen; in _XcursorBuildThemeDir() local 680 dirlen = colon - dir; in _XcursorBuildThemeDir() 697 dirlen--; in _XcursorBuildThemeDir() 704 len = 1 + homelen + 1 + dirlen + 1 + themelen + 1; in _XcursorBuildThemeDir() 713 _XcursorAddPathElt (full, dir, dirlen); in _XcursorBuildThemeDir()
|
/third_party/ltp/testcases/kernel/fs/ftest/ |
D | ftest02.c | 88 static int dirlen; variable 140 dirlen = strlen(dirname); in main()
|
D | ftest06.c | 93 static int dirlen; variable 152 dirlen = strlen(dirname); in main()
|
/third_party/curl/lib/ |
D | ftp.c | 4151 size_t dirlen = slashPos - rawPath; in ftp_parse_url_path() local 4152 if(dirlen == 0) in ftp_parse_url_path() 4153 dirlen++; in ftp_parse_url_path() 4161 ftpc->dirs[0] = calloc(1, dirlen + 1); in ftp_parse_url_path() 4167 strncpy(ftpc->dirs[0], rawPath, dirlen); in ftp_parse_url_path()
|
/third_party/python/Lib/test/ |
D | test_os.py | 126 dirlen = 200 # characters 128 dirname = dirname + ('a' * (dirlen - len(dirname)))
|