Home
last modified time | relevance | path

Searched refs:strndup (Results 1 – 25 of 80) sorted by relevance

1234

/third_party/musl/libc-test/src/functionalext/supplement/string/
Dstrndup.c28 char *result = strndup(str, 2); in strndup_0100()
42 char *result = strndup(str, 12); in strndup_0200()
56 char *result = strndup(str, 0); in strndup_0300()
Dtest_src_functionalext_supplement_string.gni28 "strndup",
/third_party/toybox/toys/pending/
Dmdev.c117 char *regex = strndup(pos, end2-pos); in make_device()
148 char *str = strndup(pos, s-pos); in make_device()
159 char *str = strndup(s, end2-s); in make_device()
/third_party/libinput/src/
Dutil-strings.c127 char *copy = strndup(word, l); in strv_from_string()
237 return strndup(base, suffix-base); in trunkname()
/third_party/musl/porting/liteos_a/kernel/src/string/
Dstrndup.c4 char *strndup(const char *s, size_t n) in strndup() function
/third_party/musl/src/string/
Dstrndup.c4 char *strndup(const char *s, size_t n) in strndup() function
/third_party/mesa3d/src/util/
Dstrndup.h37 strndup(const char *str, size_t max) in strndup() function
/third_party/selinux/libselinux/src/
Dget_default_type.c65 t = strndup(ptr, strlen(buf) - len - 1); in find_default_type()
Dlabel_support.c47 *entry = strndup(tmp_buf, *len); in read_spec_entry()
Dcontext.c71 n->component[i] = strndup(tok, p - tok); in context_new()
/third_party/musl/libc-test/src/api/
Dstring.c38 {char*(*p)(const char*,size_t) = strndup;} in f()
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/
Dproxy.c605 if(NULL == (proxy->version = strndup(line, i - pos))) in curl_header_cb()
611 if(NULL == (status = strndup(&(line[pos]), i - pos))) in curl_header_cb()
620 if(NULL == (proxy->status_msg = strndup(&(line[pos]), i - pos))) in curl_header_cb()
631 if(NULL == (name = strndup(line, i - pos))) in curl_header_cb()
654 if(NULL == (value = strndup(&(line[pos]), i - pos))) in curl_header_cb()
/third_party/musl/include/
Dstring.h71 char *strndup (const char *, size_t);
/third_party/musl/porting/uniproton/kernel/include/
Dstring.h69 char *strndup (const char *, size_t);
/third_party/musl/porting/linux/user/include/
Dstring.h71 char *strndup (const char *, size_t);
/third_party/musl/ndk_musl_include/
Dstring.h69 char *strndup (const char *, size_t);
/third_party/musl/porting/liteos_m/user/include/
Dstring.h69 char *strndup (const char *, size_t);
/third_party/selinux/libsepol/utils/
Dsepol_check_access.c61 tmp = strndup(permlist, delim - permlist); in main()
/third_party/rust/crates/libc/libc-test/semver/
Dredox.txt211 strndup
/third_party/musl/porting/liteos_m/kernel/include/
Dstring.h69 char *strndup (const char *, size_t);
/third_party/musl/porting/liteos_a/kernel/include/
Dstring.h71 char *strndup (const char *, size_t);
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
Dstructures.c586 if(NULL == (name = strndup(stream + offset, name_size))) in SPDYF_name_value_from_stream()
601 if(NULL == (value = strndup(stream + offset, value_size))) in SPDYF_name_value_from_stream()
/third_party/alsa-utils/axfer/
Dxfer-options.c69 xfer->paths[0] = strndup("-", PATH_MAX); in allocate_paths()
74 xfer->paths[i] = strndup(paths[i], PATH_MAX); in allocate_paths()
/third_party/nghttp2/examples/
Dlibevent-client.c33 char *strndup(const char *s, size_t size);
584 host = strndup(&uri[u.field_data[UF_HOST].off], u.field_data[UF_HOST].len); in run()
/third_party/selinux/libsepol/src/
Dutil.c230 *str = strndup(tmp_buf, *len); in tokenize_str()

1234