Home
last modified time | relevance | path

Searched refs:pathlen (Results 1 – 25 of 150) sorted by relevance

123456

/external/dtc/tests/
Dget_path.c19 static void check_path_buf(void *fdt, const char *path, int pathlen, int buflen) in check_path_buf() argument
35 if (buflen <= pathlen) { in check_path_buf()
57 int pathlen = strlen(path); in check_path() local
59 check_path_buf(fdt, path, pathlen, 1024); in check_path()
60 check_path_buf(fdt, path, pathlen, pathlen+1); in check_path()
61 check_path_buf(fdt, path, pathlen, pathlen); in check_path()
62 check_path_buf(fdt, path, pathlen, 0); in check_path()
63 check_path_buf(fdt, path, pathlen, 2); in check_path()
/external/mbedtls/tests/data_files/dir4/
DReadme3 1. zero pathlen constraint on an intermediate CA (invalid)
8 2. zero pathlen constraint on the root CA (invalid)
13 3. nonzero pathlen constraint on the root CA (invalid)
18 4. nonzero pathlen constraint on an intermediate CA (invalid)
23 5. nonzero pathlen constraint on an intermediate CA with maximum number of elements in the chain (v…
28 6. nonzero pathlen constraint on the root CA with maximum number of elements in the chain (valid)
33 7. pathlen constraint on the root CA with maximum number of elements and a self signed certificate …
39 8. zero pathlen constraint on first intermediate CA (valid)
44 9. zero pathlen constraint on trusted root (valid)
/external/openthread/third_party/mbedtls/repo/tests/data_files/dir4/
DReadme3 1. zero pathlen constraint on an intermediate CA (invalid)
8 2. zero pathlen constraint on the root CA (invalid)
13 3. nonzero pathlen constraint on the root CA (invalid)
18 4. nonzero pathlen constraint on an intermediate CA (invalid)
23 5. nonzero pathlen constraint on an intermediate CA with maximum number of elements in the chain (v…
28 6. nonzero pathlen constraint on the root CA with maximum number of elements in the chain (valid)
33 7. pathlen constraint on the root CA with maximum number of elements and a self signed certificate …
39 8. zero pathlen constraint on first intermediate CA (valid)
44 9. zero pathlen constraint on trusted root (valid)
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509v3/
Dv3_pci.c85 ASN1_OBJECT **language, ASN1_INTEGER **pathlen, in process_pci_value() argument
103 if (*pathlen) { in process_pci_value()
109 if (!X509V3_get_value_int(val, pathlen)) { in process_pci_value()
204 ASN1_INTEGER *pathlen = NULL; in r2i_pci() local
230 &language, &pathlen, &policy); in r2i_pci()
236 if (!process_pci_value(cnf, &language, &pathlen, &policy)) { in r2i_pci()
266 pci->pcPathLengthConstraint = pathlen; in r2i_pci()
267 pathlen = NULL; in r2i_pci()
274 if (pathlen) { in r2i_pci()
275 ASN1_INTEGER_free(pathlen); in r2i_pci()
[all …]
Dv3_bcons.c89 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()
/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dcommon.h46 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/
Dnamei.c26 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/rust/crates/openssl/src/x509/
Dextension.rs29 pathlen: Option<u32>, field
44 pathlen: None, in new()
62 pub fn pathlen(&mut self, pathlen: u32) -> &mut BasicConstraints { in pathlen() method
63 self.pathlen = Some(pathlen); in pathlen()
79 if let Some(pathlen) = self.pathlen { in build()
80 write!(value, ",pathlen:{}", pathlen).unwrap(); in build()
/external/python/cpython2/RISCOS/Modules/
Dgetpath_riscos.c11 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/
Ddlfcn.c351 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/
Dntpath.py344 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/boringssl/src/crypto/x509v3/
Dv3_bcons.c95 ASN1_OPT(BASIC_CONSTRAINTS, pathlen, ASN1_INTEGER),
104 X509V3_add_value_int("pathlen", bcons->pathlen, &extlist);
122 if (!X509V3_get_value_int(val, &bcons->pathlen)) { in v2i_BASIC_CONSTRAINTS()
/external/cronet/third_party/boringssl/src/crypto/x509v3/
Dv3_bcons.c95 ASN1_OPT(BASIC_CONSTRAINTS, pathlen, ASN1_INTEGER),
104 X509V3_add_value_int("pathlen", bcons->pathlen, &extlist);
122 if (!X509V3_get_value_int(val, &bcons->pathlen)) { in v2i_BASIC_CONSTRAINTS()
/external/python/cpython3/Lib/
Dntpath.py379 pathlen = len(path)
380 while index < pathlen:
384 pathlen = len(path)
390 index = pathlen - 1
397 pathlen = len(path)
402 index = pathlen - 1
419 pathlen = len(path)
424 index = pathlen - 1
/external/openscreen/cast/common/certificate/
Dcast_cert_validator_internal.cc165 if (basic_constraints->pathlen) { in VerifyCertificateChain()
166 if (basic_constraints->pathlen->length != 1) { in VerifyCertificateChain()
169 const int pathlen = *basic_constraints->pathlen->data; in VerifyCertificateChain() local
170 if (pathlen < 0) { in VerifyCertificateChain()
173 if (pathlen < max_pathlen) { in VerifyCertificateChain()
174 max_pathlen = pathlen; in VerifyCertificateChain()
/external/cronet/third_party/boringssl/src/fuzz/conf_corpus/
D8baa38c5c8540561d86491916d0bb36cc13c12185 proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
43 proxyCertInfo=critical,language:id-ppl-anyLanguage,pathlen:1,policy:text:AB
Ddd3c504d9aa688c7b6663010be449da67635f0433 pathlen=0
49 pathlen=0
Dac5814a191294c3f7c6c68d44cbf3519b3eb644f4 basicConstraints = critical,CA:true,pathlen:1
81 basicConstraints = critical,CA:true,pathlen:1
/external/libpcap/
Dpcap-new.c79 size_t pathlen; in pcap_findalldevs_ex() local
214 pathlen = strlen(path); in pcap_findalldevs_ex()
254 if (pathlen + strlen(filedata.cFileName) >= sizeof(filename)) in pcap_findalldevs_ex()
258 if (pathlen + strlen(filedata->d_name) >= sizeof(filename)) in pcap_findalldevs_ex()
/external/curl/lib/
Durlapi.c911 size_t pathlen; in parseurl() local
1150 pathlen = strlen(path) - qlen - fraglen; in parseurl()
1186 pathlen = strlen(path) - fraglen; in parseurl()
1188 if(pathlen && (flags & CURLU_URLENCODE)) { in parseurl()
1191 if(urlencode_str(&enc, path, pathlen, TRUE, FALSE)) { in parseurl()
1195 pathlen = Curl_dyn_len(&enc); in parseurl()
1199 if(pathlen <= 1) { in parseurl()
1205 u->path = Curl_memdup(path, pathlen + 1); in parseurl()
1210 u->path[pathlen] = 0; in parseurl()
1215 u->path[pathlen] = 0; in parseurl()
[all …]
/external/e2fsprogs/util/
Dsymlinks.c273 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/linux-kselftest/tools/testing/selftests/exec/
Dexecveat.c73 int pathlen = path ? strlen(path) : 0; in check_execveat_invoked_rc() local
75 if (pathlen > 40) in check_execveat_invoked_rc()
77 fd, path, (path + pathlen - 20), flags); in check_execveat_invoked_rc()
/external/wayland/cursor/
Dxcursor.c641 int pathlen = strlen (path); in _XcursorAddPathElt() local
644 if (path[0] == '\0' || path[pathlen - 1] != '/') in _XcursorAddPathElt()
647 pathlen++; in _XcursorAddPathElt()
657 strncpy (path + pathlen, elt, len); in _XcursorAddPathElt()
658 path[pathlen + len] = '\0'; in _XcursorAddPathElt()
/external/igt-gpu-tools/lib/
Digt_debugfs.c158 char *igt_debugfs_path(int device, char *path, int pathlen) in igt_debugfs_path() argument
181 snprintf(path, pathlen, "%s/dri/%d/name", debugfs_root, idx); in igt_debugfs_path()
197 snprintf(path, pathlen, "%s/dri/%d/name", in igt_debugfs_path()
214 snprintf(path, pathlen, "%s/dri/%d", debugfs_root, idx); in igt_debugfs_path()
/external/libfuse/lib/modules/
Diconv.c45 size_t pathlen; in iconv_convpath() local
58 pathlen = strlen(path); in iconv_convpath()
59 newpathlen = pathlen * 4; in iconv_convpath()
69 &pathlen, &p, &plen); in iconv_convpath()
78 inc = (pathlen + 1) * 4; in iconv_convpath()

123456