/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/libxcam/xcore/ |
D | analyzer_loader.cpp | 30 _path = strndup (lib_path, XCAM_MAX_STR_SIZE); in AnalyzerLoader() 32 _symbol = strndup (symbol, XCAM_MAX_STR_SIZE); in AnalyzerLoader()
|
D | worker.cpp | 30 _name = strndup (name, XCAM_MAX_STR_SIZE); in Worker() 49 _name = strndup (name, XCAM_MAX_STR_SIZE); in set_name()
|
D | image_handler.cpp | 29 _name = strndup (name, XCAM_MAX_STR_SIZE); in ImageHandler()
|
D | xcam_thread.cpp | 34 _name = strndup (name, XCAM_MAX_STR_SIZE); in Thread()
|
D | file_handle.cpp | 69 _file_name = strndup (name, 512); in open()
|
/external/libxcam/modules/isp/ |
D | x3a_analyzer_aiq.cpp | 43 : _name (strndup(name, XCAM_MAX_STR_SIZE)) in CpfReader() 75 _cpf_path = strndup (cpf_path, XCAM_MAX_STR_SIZE); in X3aAnalyzerAiq() 91 _cpf_path = strndup (cpf_path, XCAM_MAX_STR_SIZE); in X3aAnalyzerAiq()
|
/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/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()
|
/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/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/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/clang/test/Sema/ |
D | builtins-gnu-mode.c | 9 int strndup; variable
|
/external/mesa3d/src/util/ |
D | strndup.h | 37 strndup(const char *str, size_t max) in strndup() function
|
D | Makefile.sources | 46 strndup.h \
|
/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/libmtp/src/ |
D | util.h | 30 char *strndup (const char *s, size_t n);
|
D | util.c | 138 char *strndup (const char *s, size_t n) in strndup() function
|
/external/libxcam/modules/isp/iq/ |
D | x3a_ciq_tuning_handler.cpp | 33 _name = strndup (name, XCAM_MAX_STR_SIZE); in X3aCiqTuningHandler()
|
/external/libxcam/wrapper/gstreamer/ |
D | gstxcamsrc.cpp | 594 xcamsrc->path_to_cpf = strndup(DEFAULT_CPF_FILE_NAME, XCAM_MAX_STR_SIZE); in gst_xcam_src_init() 595 xcamsrc->path_to_3alib = strndup(DEFAULT_DYNAMIC_3A_LIB, XCAM_MAX_STR_SIZE); in gst_xcam_src_init() 749 src->device = strndup (device, XCAM_MAX_STR_SIZE); in gst_xcam_src_set_property() 784 src->path_to_fake = strndup (raw_path, XCAM_MAX_STR_SIZE); in gst_xcam_src_set_property() 818 src->path_to_cpf = strndup (cpf, XCAM_MAX_STR_SIZE); in gst_xcam_src_set_property() 827 src->path_to_3alib = strndup (path, XCAM_MAX_STR_SIZE); in gst_xcam_src_set_property() 928 xcamsrc->device = strndup (CAPTURE_DEVICE_STILL, XCAM_MAX_STR_SIZE); in gst_xcam_src_start() 930 xcamsrc->device = strndup (CAPTURE_DEVICE_VIDEO, XCAM_MAX_STR_SIZE); in gst_xcam_src_start()
|
/external/strace/ |
D | xmalloc.c | 137 p = strndup(str, n); in xstrndup()
|
/external/libxcam/tests/ |
D | test-binary-kernel.cpp | 77 kernel_name = strndup (optarg, 1024); in main()
|
/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()
|