/external/clang/test/Analysis/ |
D | malloc-interprocedural.c | 105 char *strndup(const char *str, size_t n) { in strndup() function 126 (void)strndup(0, 20); // no-warning in useStrndup() 129 (void)strndup("hi there", n); // no-warning in useStrndup() 132 (void)strndup("hi there", n); in useStrndup()
|
D | taint-generic.c | 25 char *strndup(const char *s, size_t n); 104 dup = strndup(s, 20); in testUncontrolledFormatString()
|
/external/igt-gpu-tools/tools/ |
D | intel_opregion_decode.c | 155 s = strndup(header->sign, sizeof(header->sign)); in decode_header() 162 s = strndup(header->sver, sizeof(header->sver)); in decode_header() 166 s = strndup(header->vver, sizeof(header->vver)); in decode_header() 170 s = strndup(header->gver, sizeof(header->gver)); in decode_header() 179 s = strndup(header->dver, sizeof(header->dver)); in decode_header() 327 s = strndup(vbt->product_string, sizeof(vbt->product_string)); in decode_vbt()
|
/external/clang/test/SemaCXX/ |
D | warn-memsize-comparison.cpp | 13 extern "C" char *strndup(const char *src, size_t n); 67 if (strndup(b1, sizeof(b1) != 0)) {} // \ in f() 71 if (strndup(b1, sizeof(b1)) != 0) {} in f()
|
D | warn-memset-bad-sizeof.cpp | 130 extern "C" char *strndup(const char *src, unsigned n); 145 strndup(FOO, sizeof(FOO)); // \ in strcpy_and_friends()
|
/external/blktrace/iowatcher/ |
D | mpstat.c | 158 line = strndup(cur, cpu - cur); in count_mpstat_cpus() 169 cur = strndup(record, len); in count_mpstat_cpus() 194 tmp = strndup(trace_name, cur - trace_name); in guess_filename()
|
D | fio.c | 59 tmp = strndup(cur, end - cur); in parse_fio_line()
|
/external/toybox/toys/pending/ |
D | mdev.c | 117 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()
|
/external/libxkbcommon/xkbcommon/src/compose/ |
D | paths.c | 119 match = strndup(right, right_len); in resolve_name() 125 match = strndup(left, left_len); in resolve_name()
|
/external/clang/test/Sema/ |
D | builtins-gnu-mode.c | 9 int strndup; variable
|
/external/llvm/test/Transforms/InstCombine/ |
D | objsize.ll | 175 declare noalias i8* @strndup(i8* nocapture, i32) nounwind 188 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 197 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 206 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 215 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0…
|
/external/mesa3d/src/util/ |
D | strndup.h | 37 strndup(const char *str, size_t max) in strndup() function
|
D | Makefile.sources | 101 strndup.h \
|
/external/libepoxy/test/ |
D | egl_has_extension_nocontext.c | 61 an_extension = strndup(extensions, first_space - extensions); in main()
|
D | egl_epoxy_api.c | 134 an_extension = strndup(extensions, first_space - extensions); in main()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/InstCombine/ |
D | objsize.ll | 177 declare noalias i8* @strndup(i8* nocapture, i32) nounwind 190 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 199 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 208 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0… 217 …%call = tail call i8* @strndup(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str, i64 0, i64 0…
|
/external/u-boot/include/linux/ |
D | string.h | 97 extern char * strndup(const char *, size_t);
|
/external/strace/ |
D | xmalloc.c | 137 p = strndup(str, n); in xstrndup()
|
/external/minijail/ |
D | bpf.c | 350 begin->label = strndup(label, MAX_BPF_LABEL_LEN); in bpf_label_id() 369 begin->label = strndup(label, MAX_BPF_LABEL_LEN); in bpf_label_id()
|
/external/selinux/libselinux/src/ |
D | label_support.c | 47 *entry = strndup(tmp_buf, *len); in read_spec_entry()
|
/external/libxkbcommon/xkbcommon/src/ |
D | atom.c | 212 node.string = strndup(string, len); in atom_intern()
|
/external/libxkbcommon/xkbcommon/src/x11/ |
D | util.c | 146 *out = strndup(name, length); in get_atom_name()
|
/external/ltp/lib/ |
D | tst_kconfig.c | 157 result->value = strndup(val+1, strlen(val)-2); in match()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_xfb_varying.cpp | 131 return strndup(name, name_size); in get_field_name()
|
/external/selinux/libsepol/src/ |
D | util.c | 226 *str = strndup(tmp_buf, *len); in tokenize_str()
|