Searched refs:strncpy (Results 26 - 50 of 603) sorted by relevance

1234567891011>>

/external/oprofile/libop/
H A Dop_xml_events.c87 strncpy(um_type, "bitmask", sizeof(um_type));
90 strncpy(um_type, "exclusive", sizeof(um_type));
93 strncpy(um_type, "mandatory", sizeof(um_type));
/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_ci.c63 strncpy(p_data_area, p_data, len);
/external/chromium_org/third_party/webrtc/modules/video_capture/ios/
H A Ddevice_info_ios.mm59 strncpy(deviceNameUTF8, [deviceName UTF8String], deviceNameUTF8Length);
62 strncpy(deviceUniqueIdUTF8,
/external/linux-tools-perf/perf-3.12.0/tools/perf/ui/tui/
H A Dhelpline.c25 strncpy(ui_helpline__current, msg, sz)[sz - 1] = '\0';
/external/webrtc/src/modules/audio_processing/ns/
H A Dnoise_suppression.c30 strncpy(versionStr, version, versionLen);
H A Dnoise_suppression_x.c30 strncpy(versionStr, version, versionLen);
/external/e2fsprogs/misc/
H A De2label.c83 strncpy(label, sb.s_volume_name, VOLNAMSZ);
94 strncpy(sb.s_volume_name, label, VOLNAMSZ);
/external/qemu/telephony/
H A Dsim_card.c45 strncpy( card->pin, "0000", sizeof(card->pin) );
46 strncpy( card->puk, "12345678", sizeof(card->puk) );
91 strncpy( sim->pin, pin, A_SIM_PIN_SIZE );
98 strncpy( sim->puk, puk, A_SIM_PUK_SIZE );
131 strncpy( sim->puk, puk, A_SIM_PUK_SIZE );
132 strncpy( sim->pin, pin, A_SIM_PIN_SIZE );
/external/jhead/
H A Dgpsinfo.c230 strncpy(ImageInfo.GpsLat+2, TempString, 29);
232 strncpy(ImageInfo.GpsLong+2, TempString, 29);
240 strncpy(ImageInfo.GpsLatRaw, TempString, MAX_BUF_SIZE);
242 strncpy(ImageInfo.GpsLongRaw, TempString, MAX_BUF_SIZE);
268 strncpy(ImageInfo.GpsDateStamp, (char*)ValuePtr, sizeof(ImageInfo.GpsDateStamp));
/external/chromium_org/third_party/skia/tools/
H A Dwin_dbghelp.cpp49 strncpy(dest, srcOrEmptyString, len);
222 strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1);
227 strncpy(binaries_path, vargs0, pos_last_slash);
/external/skia/tools/
H A Dwin_dbghelp.cpp49 strncpy(dest, srcOrEmptyString, len);
222 strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1);
227 strncpy(binaries_path, vargs0, pos_last_slash);
/external/clang/test/CodeGen/
H A Dlibcalls-fno-builtin.c19 char *strncpy(char *s1, const char *s2, size_t n);
83 char *t14(char *x) { return strncpy(x, "foo", 3); }
85 // CHECK: strncpy
/external/netperf/
H A Dnetserver.c827 strncpy(local_host_name,"0.0.0.0",sizeof(local_host_name));
829 strncpy(listen_port,TEST_PORT,sizeof(listen_port));
845 strncpy(local_host_name,arg1,sizeof(local_host_name));
855 strncpy(local_host_name,"::0",sizeof(local_host_name));
875 strncpy(listen_port,optarg,sizeof(listen_port));
884 strncpy(local_host_name,"::0",sizeof(local_host_name));
987 strncpy(listen_port,TEST_PORT,sizeof(listen_port));
996 strncpy(listen_port,TEST_PORT,sizeof(listen_port));
/external/valgrind/main/coregrind/m_demangle/
H A Dvg_libciface.h63 #define strncpy(_dd,_ss,_sz) VG_(strncpy)((_dd),(_ss),(_sz)) macro
/external/clang/test/Analysis/
H A Dstring.c443 // strncpy()
451 #define strncpy(a,b,n) __strncpy_chk(a,b,n,(size_t)-1) macro
455 #define strncpy BUILTIN(strncpy) macro
456 char *strncpy(char *restrict s1, const char *restrict s2, size_t n);
462 strncpy(NULL, x, 5); // expected-warning{{Null pointer argument in call to string copy function}}
466 strncpy(x, NULL, 5); // expected-warning{{Null pointer argument in call to string copy function}}
470 strncpy(x, (char*)&strcpy_fn, 5); // expected-warning{{Argument to string copy function is the address of the function 'strcpy_fn', which is not a null-terminated string}}
476 clang_analyzer_eval(strncpy(x, y, 5) == x); // expected-warning{{TRUE}}
484 strncpy(
[all...]
/external/srec/srec/EventLog/src/
H A Driff.c465 strncpy(chunk.tag, "swi ", 4);
469 strncpy(list_chunk.tag, "segs", 4);
495 strncpy(list_chunk.tag, "kvs ", 4);
567 strncpy(parent.tag, "WAVE", 4);
575 strncpy(chunk.tag, "fmt ", 4);
600 strncpy(chunk.tag, "data", 4);
696 strncpy(parent.tag, "WAVE", 4);
703 strncpy(chunk.tag, "fmt ", 4);
739 strncpy(chunk.tag, "data", 4);
888 strncpy(c
[all...]
/external/chromium_org/rlz/win/lib/
H A Dregistry_util.cc34 strncpy(value, base::WideToUTF8(value_string).c_str(), *value_size);
/external/chromium_org/third_party/freetype/include/freetype/config/
H A Dftstdlib.h89 #define ft_strncpy strncpy
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-shape.cc62 strncpy (buf, *pp, len);
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-null/
H A Dgraw_util.c68 strncpy(out_filename, argv[*argi + 1], sizeof(out_filename) - 1);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Ddlopen.h79 strncpy(fname2 + 1, fname, 998);
/external/compiler-rt/lib/asan/
H A Dasan_interceptors.h90 DECLARE_REAL(char*, strncpy, char *to, const char *from, uptr size)
/external/freetype/include/config/
H A Dftstdlib.h89 #define ft_strncpy strncpy
/external/harfbuzz_ng/src/
H A Dhb-shape.cc62 strncpy (buf, *pp, len);
/external/ipsec-tools/src/racoon/
H A Dmisc.h63 #define strlcpy(d,s,l) (strncpy(d,s,l), (d)[(l)-1] = '\0')

Completed in 3340 milliseconds

1234567891011>>