/external/dtc/tests/ |
D | get_path.c | 32 static void check_path_buf(void *fdt, const char *path, int pathlen, int buflen) in check_path_buf() argument 47 if (buflen <= pathlen) { in check_path_buf() 69 int pathlen = strlen(path); in check_path() local 71 check_path_buf(fdt, path, pathlen, 1024); in check_path() 72 check_path_buf(fdt, path, pathlen, pathlen+1); in check_path() 73 check_path_buf(fdt, path, pathlen, pathlen); in check_path() 74 check_path_buf(fdt, path, pathlen, 0); in check_path() 75 check_path_buf(fdt, path, pathlen, 2); in check_path()
|
/external/boringssl/src/crypto/x509v3/ |
D | v3_pci.c | 84 ASN1_OBJECT **language, ASN1_INTEGER **pathlen, in process_pci_value() argument 102 if (*pathlen) { in process_pci_value() 108 if (!X509V3_get_value_int(val, pathlen)) { in process_pci_value() 203 ASN1_INTEGER *pathlen = NULL; in r2i_pci() local 229 &language, &pathlen, &policy); in r2i_pci() 235 if (!process_pci_value(cnf, &language, &pathlen, &policy)) { in r2i_pci() 265 pci->pcPathLengthConstraint = pathlen; in r2i_pci() 266 pathlen = NULL; in r2i_pci() 273 if (pathlen) { in r2i_pci() 274 ASN1_INTEGER_free(pathlen); in r2i_pci() [all …]
|
D | v3_bcons.c | 89 ASN1_OPT(BASIC_CONSTRAINTS, pathlen, ASN1_INTEGER) 100 X509V3_add_value_int("pathlen", bcons->pathlen, &extlist); 121 if (!X509V3_get_value_int(val, &bcons->pathlen)) in v2i_BASIC_CONSTRAINTS()
|
D | v3_purp.c | 441 if (bs->pathlen) { in x509v3_cache_extensions() 442 if ((bs->pathlen->type == V_ASN1_NEG_INTEGER) in x509v3_cache_extensions() 447 x->ex_pathlen = ASN1_INTEGER_get(bs->pathlen); in x509v3_cache_extensions()
|
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
D | common.h | 46 int pathlen; \ 55 pathlen = strlen(fullpath); \ 64 if (fullpath[pathlen - 1] == '/') { \ 65 fullpath[pathlen - 1] = '\0'; \ 66 pathlen--; \ 68 sprintf(fullpath + pathlen, "/%s", direntp->d_name); \
|
/external/e2fsprogs/lib/ext2fs/ |
D | namei.c | 26 const char *pathname, size_t pathlen, int follow, 98 const char *pathname, int pathlen, in dir_namei() argument 112 pathlen--; in dir_namei() 116 for (len=0; --pathlen >= 0;len++) { in dir_namei() 121 if (pathlen < 0) in dir_namei() 136 const char *pathname, size_t pathlen, int follow, in open_namei() argument 146 root, base, pathlen, pathname, link_count); in open_namei() 148 retval = dir_namei(fs, root, base, pathname, pathlen, in open_namei()
|
/external/python/cpython2/RISCOS/Modules/ |
D | getpath_riscos.c | 11 int pathlen = strlen(pypath); in calculate_path() local 12 module_search_path = malloc(pathlen + 1); in calculate_path() 14 strncpy(module_search_path, pypath, pathlen + 1); in calculate_path()
|
/external/libxml2/os400/dlfcn/ |
D | dlfcn.c | 351 dlmakepath(char * path, size_t pathlen, const char * tail, size_t taillen) in dlmakepath() argument 357 pathlen = 0; in dlmakepath() 379 pathlen = dlparentpath(path, pathlen); in dlmakepath() 387 if (pathlen + i + 1 >= MAXPATHLEN) { in dlmakepath() 392 path[pathlen++] = '/'; in dlmakepath() 393 memcpy(path + pathlen, tail, i); in dlmakepath() 394 pathlen += i; in dlmakepath() 397 if (!pathlen) in dlmakepath() 398 path[pathlen++] = '/'; in dlmakepath() 400 path[pathlen] = '\0'; in dlmakepath() [all …]
|
/external/python/cpython2/Lib/ |
D | ntpath.py | 344 pathlen = len(path) 345 while index < pathlen: 349 pathlen = len(path) 355 index = pathlen - 1 362 pathlen = len(path) 367 index = pathlen - 1 380 pathlen = len(path) 390 index = pathlen - 1
|
/external/u-boot/net/ |
D | nfs.c | 244 int pathlen; in nfs_mount_req() local 246 pathlen = strlen(path); in nfs_mount_req() 251 *p++ = htonl(pathlen); in nfs_mount_req() 252 if (pathlen & 3) in nfs_mount_req() 253 *(p + pathlen / 4) = 0; in nfs_mount_req() 254 memcpy(p, path, pathlen); in nfs_mount_req() 255 p += (pathlen + 3) / 4; in nfs_mount_req() 638 int pathlen; in nfs_readlink_reply() local 641 pathlen = strlen(nfs_path); in nfs_readlink_reply() 642 memcpy(nfs_path + pathlen, in nfs_readlink_reply() [all …]
|
/external/python/cpython3/Lib/ |
D | ntpath.py | 366 pathlen = len(path) 367 while index < pathlen: 371 pathlen = len(path) 377 index = pathlen - 1 384 pathlen = len(path) 389 index = pathlen - 1 406 pathlen = len(path) 411 index = pathlen - 1
|
/external/minijail/ |
D | util.c | 430 size_t pathlen; in path_join() local 433 pathlen = strlen(external_path) + strlen(internal_path) + 2; in path_join() 434 path = malloc(pathlen); in path_join() 435 snprintf(path, pathlen, "%s/%s", external_path, internal_path); in path_join()
|
/external/e2fsprogs/util/ |
D | symlinks.c | 273 static void dirwalk (char *path, int pathlen, dev_t dev) in dirwalk() argument 285 name = path + pathlen; in dirwalk() 304 path[pathlen] = '\0'; in dirwalk()
|
/external/wayland/cursor/ |
D | xcursor.c | 634 int pathlen = strlen (path); in _XcursorAddPathElt() local 637 if (path[0] == '\0' || path[pathlen - 1] != '/') in _XcursorAddPathElt() 640 pathlen++; in _XcursorAddPathElt() 650 strncpy (path + pathlen, elt, len); in _XcursorAddPathElt() 651 path[pathlen + len] = '\0'; in _XcursorAddPathElt()
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | execveat.c | 72 int pathlen = path ? strlen(path) : 0; in check_execveat_invoked_rc() local 74 if (pathlen > 40) in check_execveat_invoked_rc() 76 fd, path, (path + pathlen - 20), flags); in check_execveat_invoked_rc()
|
/external/wpa_supplicant_8/hs20/server/ca/ |
D | openssl.cnf | 118 basicConstraints = critical, CA:true, pathlen:0 128 basicConstraints = critical, CA:true, pathlen:0
|
/external/mesa3d/src/glx/apple/ |
D | appledri.h | 111 Bool doubleSwap, char *path, size_t pathlen,
|
D | appledri.c | 309 Bool doubleSwap, char *path, size_t pathlen, in XAppleDRICreateSharedBuffer() argument 337 if (rep.stringLength > 0 && rep.stringLength <= pathlen) { in XAppleDRICreateSharedBuffer()
|
/external/mksh/src/ |
D | misc.c | 1659 #define pathlen sb.st_size in do_realpath() macro 1660 #define pathcnd (ldestlen < (pathlen + 1)) in do_realpath() 1662 #define pathlen PATH_MAX in do_realpath() macro 1765 if (notoktoadd(pathlen, 1)) { in do_realpath() 1770 ldest = aresize(ldest, pathlen + 1, ATEMP); in do_realpath() 1772 llen = readlink(Xstring(xs, xp), ldest, pathlen); in do_realpath() 1869 #undef pathlen in do_realpath()
|
/external/kmod/libkmod/ |
D | libkmod-module.c | 113 size_t pathlen; in path_join() local 118 pathlen = strlen(path); in path_join() 119 if (prefixlen + pathlen + 1 >= PATH_MAX) in path_join() 122 memcpy(buf + prefixlen, path, pathlen + 1); in path_join() 1734 int fd, err, pathlen; in kmod_module_get_initstate() local 1743 pathlen = snprintf(path, sizeof(path), in kmod_module_get_initstate() 1752 if (pathlen > (int)sizeof("/initstate") - 1) { in kmod_module_get_initstate() 1754 path[pathlen - (sizeof("/initstate") - 1)] = '\0'; in kmod_module_get_initstate()
|
D | libkmod-config.c | 839 size_t pathlen; in kmod_config_new() local 846 pathlen = strlen(path) + 1; in kmod_config_new() 847 cf = malloc(sizeof(*cf) + pathlen); in kmod_config_new() 852 memcpy(cf->path, path, pathlen); in kmod_config_new()
|
/external/curl/lib/ |
D | cookie.c | 751 size_t pathlen = (endslash-path + 1); /* include end slash */ in Curl_cookie_add() local 752 co->path = malloc(pathlen + 1); /* one extra for the zero byte */ in Curl_cookie_add() 754 memcpy(co->path, path, pathlen); in Curl_cookie_add() 755 co->path[pathlen] = 0; /* zero terminate */ in Curl_cookie_add()
|
/external/selinux/checkpolicy/ |
D | checkpolicy.c | 394 size_t scontext_len, pathlen; in main() local 898 pathlen = strlen(ans); in main() 899 ans[pathlen - 1] = 0; in main()
|
/external/python/cpython3/Modules/ |
D | getpath.c | 266 copy_absolute(wchar_t *path, wchar_t *p, size_t pathlen) in copy_absolute() argument 272 if (!_Py_wgetcwd(path, pathlen)) { in copy_absolute()
|
/external/pcre/dist2/src/ |
D | pcre2grep.c | 3060 int pathlen; in grep_or_recurse() local 3222 pathlen = (int)(strlen(pathname)); in grep_or_recurse() 3228 if (pathlen > 3 && strcmp(pathname + pathlen - 3, ".gz") == 0) in grep_or_recurse() 3247 if (pathlen > 4 && strcmp(pathname + pathlen - 4, ".bz2") == 0) in grep_or_recurse()
|