/third_party/libexif/libexif/olympus/ |
D | mnote-olympus-entry.c | 389 strncpy (v, _("No manual focus selection"), maxlen); in mnote_olympus_entry_get_value() 418 case 0: strncpy (v, _("AF position: center"), maxlen); break; in mnote_olympus_entry_get_value() 419 case 1: strncpy (v, _("AF position: top"), maxlen); break; in mnote_olympus_entry_get_value() 420 case 2: strncpy (v, _("AF position: bottom"), maxlen); break; in mnote_olympus_entry_get_value() 421 case 3: strncpy (v, _("AF position: left"), maxlen); break; in mnote_olympus_entry_get_value() 422 case 4: strncpy (v, _("AF position: right"), maxlen); break; in mnote_olympus_entry_get_value() 423 case 5: strncpy (v, _("AF position: upper-left"), maxlen); break; in mnote_olympus_entry_get_value() 424 case 6: strncpy (v, _("AF position: upper-right"), maxlen); break; in mnote_olympus_entry_get_value() 425 case 7: strncpy (v, _("AF position: lower-left"), maxlen); break; in mnote_olympus_entry_get_value() 426 case 8: strncpy (v, _("AF position: lower-right"), maxlen); break; in mnote_olympus_entry_get_value() [all …]
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | goomsl_lex.l | 71 <INITIAL>"true" { strncpy(yylval.strValue, "1", 2047); return LTYPE_INTEGER; } 72 <INITIAL>"false" { strncpy(yylval.strValue, "0", 2047); return LTYPE_INTEGER; } 73 <INITIAL>{ID} { strncpy(yylval.strValue, yytext, 2047); return LTYPE_VAR; } 74 <INITIAL>{DIGIT}+ { strncpy(yylval.strValue, yytext, 2047); return LTYPE_INTEGER; } 76 <INITIAL>"0x"{XDIGIT}+ { strncpy(yylval.strValue, yytext, 2047); return LTYPE_INTEGER; } 77 <INITIAL>{DIGIT}+"."{DIGIT}* { strncpy(yylval.strValue, yytext, 2047); return LTYPE_FLOAT; }
|
/third_party/elfio/examples/c_wrapper/ |
D | elfio_c_wrapper.cpp | 116 strncpy( msg, error.c_str(), (size_t)msg_len - 1 ); in elfio_validate() 139 strncpy( buffer, psection->get_name().c_str(), (size_t)len - 1 ); in elfio_section_get_name() 239 strncpy( name, name_param.c_str(), (size_t)name_len - 1 ); in elfio_symbol_get_symbol() 365 strncpy( name, name_str.c_str(), (size_t)name_len - 1 ); in elfio_note_get_note() 407 strncpy( field, field_str.c_str(), (size_t)field_len - 1 ); in elfio_modinfo_get_attribute() 408 strncpy( value, value_str.c_str(), (size_t)value_len - 1 ); in elfio_modinfo_get_attribute() 420 strncpy( value, value_str.c_str(), (size_t)value_len - 1 ); in elfio_modinfo_get_attribute_by_name() 459 strncpy( str, str_str.c_str(), (size_t)str_len - 1 ); in elfio_dynamic_get_entry()
|
/third_party/elfio/c_wrapper/ |
D | elfio_c_wrapper.cpp | 116 strncpy( msg, error.c_str(), (size_t)msg_len - 1 ); in elfio_validate() 139 strncpy( buffer, psection->get_name().c_str(), (size_t)len - 1 ); in elfio_section_get_name() 239 strncpy( name, name_param.c_str(), (size_t)name_len - 1 ); in elfio_symbol_get_symbol() 364 strncpy( name, name_str.c_str(), (size_t)name_len - 1 ); in elfio_note_get_note() 406 strncpy( field, field_str.c_str(), (size_t)field_len - 1 ); in elfio_modinfo_get_attribute() 407 strncpy( value, value_str.c_str(), (size_t)value_len - 1 ); in elfio_modinfo_get_attribute() 419 strncpy( value, value_str.c_str(), (size_t)value_len - 1 ); in elfio_modinfo_get_attribute_by_name() 458 strncpy( str, str_str.c_str(), (size_t)str_len - 1 ); in elfio_dynamic_get_entry()
|
/third_party/mesa3d/src/gallium/targets/d3dadapter9/ |
D | description.c | 252 strncpy(drvid->Driver, "igdumd32.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version() 257 strncpy(drvid->Driver, "vm3dum.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version() 262 strncpy(drvid->Driver, "atiumdag.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version() 267 strncpy(drvid->Driver, "nvd3dum.dll", sizeof(drvid->Driver)); in d3d_fill_driver_version()
|
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
D | test_VIDIOC_QUERYCAP.c | 116 strncpy((char *)cap2.driver, (char *)cap.driver, in test_VIDIOC_QUERYCAP() 118 strncpy((char *)cap2.card, (char *)cap.card, sizeof(cap2.card)); in test_VIDIOC_QUERYCAP() 119 strncpy((char *)cap2.bus_info, (char *)cap.bus_info, in test_VIDIOC_QUERYCAP()
|
/third_party/curl/lib/ |
D | strerror.c | 758 strncpy(buf, p, len); in get_winsock_error() 851 strncpy(buf, sys_errlist[err], max); in Curl_strerror() 884 strncpy(buf, msg, max); in Curl_strerror() 893 strncpy(buf, msg, max); in Curl_strerror() 946 strncpy(buf, txt, buflen); in Curl_winapi_strerror() 1088 strncpy(buf, txtbuf, buflen); in Curl_sspi_strerror() 1098 strncpy(buf, txt, buflen); in Curl_sspi_strerror()
|
/third_party/jerryscript/jerry-port/default/ |
D | default-module.c | 146 strncpy (path_p, base_p, MAX_JERRY_PATH_SIZE); in jerry_port_normalize_path() 158 strncpy (out_buf_p, norm_p, out_buf_size); in jerry_port_normalize_path() 172 strncpy (out_buf_p, in_path_p, out_buf_size); in jerry_port_normalize_path()
|
/third_party/selinux/libsepol/src/ |
D | ibendport_record.c | 65 strncpy(tmp_key->ibdev_name, ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_key_create() 169 strncpy(tmp_ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_get_ibdev_name() 189 strncpy(tmp, ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_set_ibdev_name() 233 strncpy(new_ibendport->ibdev_name, ibendport->ibdev_name, IB_DEVICE_NAME_MAX - 1); in sepol_ibendport_clone()
|
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/ |
D | string_strncpy_test.cpp | 25 strncpy(dstChar, srcChar, STR_SIZE_ONE); 30 strncpy(dstChar2, srcChar, STR_SIZE_THREE);
|
/third_party/musl/third_party/openbsd/ |
D | .upstream_base_commits | 3 lib/libc/string/strncpy.c openbsd lib/libc/string/strncpy.c 9b9d2a55a62c8e82206c25f94fcc7f4e2765250e
|
/third_party/cups-filters/utils/ |
D | driverless.c | 217 strncpy(model, "Unknown", sizeof(model) - 1); in listPrintersInArray() 220 strncpy(make, txt_usb_mfg, sizeof(make) - 1); in listPrintersInArray() 228 strncpy(model, txt_usb_mdl, sizeof(model) - 1); in listPrintersInArray() 240 strncpy(model, txt_product + 1, sizeof(model) - 1); in listPrintersInArray() 244 strncpy(model, txt_product, sizeof(model) - 1); in listPrintersInArray() 246 strncpy(model, txt_ty, sizeof(model) - 1); in listPrintersInArray() 253 strncpy(pdl, txt_pdl, sizeof(pdl) - 1); in listPrintersInArray() 323 strncpy(make_and_model, model, sizeof(make_and_model) - 1); in listPrintersInArray()
|
/third_party/ltp/testcases/network/nfsv4/locks/ |
D | netsync.c | 27 strncpy(message + s, tmp, r); in serverReceiveClient() 172 strncpy(message + s, tmp, r); in readFromServer() 189 strncpy(fname, p, i); in getConfiguration()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | string.h | 32 char *strncpy (char *__restrict, const char *__restrict, size_t); 119 #define strncpy(dst, src, n) __strncpy(dst, src, n) macro 130 #define strncpy(dst, src, n) __strncpy(dst, src, n) macro
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | string.h | 34 char *strncpy (char *__restrict, const char *__restrict, size_t); 121 #define strncpy(dst, src, n) __strncpy(dst, src, n) macro 132 #define strncpy(dst, src, n) __strncpy(dst, src, n) macro
|
/third_party/libexif/libexif/ |
D | exif-entry.c | 533 strncpy (val, (char *) e->data, MIN (maxlen-1, e->size)); in exif_entry_format_value() 918 strncpy (val, (char *) e->data + 8, MIN (e->size - 8, maxlen-1)); in exif_entry_get_value() 922 strncpy (val, _("Unsupported UNICODE string"), maxlen-1); in exif_entry_get_value() 930 strncpy (val, _("Unsupported JIS string"), maxlen-1); in exif_entry_get_value() 959 strncpy (val, _("Unknown Exif Version"), maxlen-1); in exif_entry_get_value() 974 strncpy (val, _("FlashPix Version 1.0"), maxlen-1); in exif_entry_get_value() 976 strncpy (val, _("FlashPix Version 1.01"), maxlen-1); in exif_entry_get_value() 978 strncpy (val, _("Unknown FlashPix Version"), maxlen-1); in exif_entry_get_value() 989 strncpy (val, (char *) e->data, MIN (maxlen-1, e->size)); in exif_entry_get_value() 991 strncpy (val, _("[None]"), maxlen-1); in exif_entry_get_value() [all …]
|
/third_party/skia/tools/ |
D | win_dbghelp.cpp | 50 strncpy(dest, srcOrEmptyString, len); in strncpyOrSetBlank() 223 strncpy(app_name, vargs0 + pos_last_slash + 1, pos_period - pos_last_slash - 1); in setUpDebuggingFromArgs() 228 strncpy(binaries_path, vargs0, pos_last_slash); in setUpDebuggingFromArgs()
|
/third_party/gstreamer/gstplugins_bad/ext/opencv/ |
D | MotionCells.cpp | 217 strncpy (m_motioncellsidxcstr, tmpstr, m_motioncells_idx_count); in performDetectionMotionCells() 222 strncpy (m_motioncellsidxcstr, " ", m_motioncells_idx_count); in performDetectionMotionCells() 298 strncpy (m_initdatafilefailed, strerror (errno), BUSMSGLEN - 1); in initDataFile() 338 strncpy (m_savedatafilefailed, strerror (errno), BUSMSGLEN - 1); in saveMotionCells() 350 strncpy (m_savedatafilefailed, strerror (errno), BUSMSGLEN - 1); in saveMotionCells() 370 strncpy (m_savedatafilefailed, strerror (errno), BUSMSGLEN - 1); in saveMotionCells() 380 strncpy (m_savedatafilefailed, strerror (errno), BUSMSGLEN - 1); in saveMotionCells()
|
/third_party/mesa3d/src/gallium/auxiliary/os/ |
D | os_process.c | 95 strncpy(procname, name, size); in os_get_process_name() 118 strncpy(cmdline, args, size); in os_get_command_line()
|
/third_party/cups-filters/backend/ |
D | implicitclass.c | 227 strncpy(dest_host,ptr1,sizeof(dest_host) - 1); in main() 283 strncpy(printer_uri, ptr1, sizeof(printer_uri) - 1); in main() 284 strncpy(document_format, ptr3, sizeof(document_format) - 1); in main() 285 strncpy(resolution, ptr4, sizeof(resolution) - 1); in main()
|
/third_party/cups-filters/filter/foomatic-rip/ |
D | spooler.c | 54 strncpy(path, getenv("CUPS_FONTPATH"), PATH_MAX - 1); in init_cups() 56 strncpy(path, getenv("CUPS_DATADIR"), PATH_MAX - 1); in init_cups() 100 strncpy(job->printer, pname, 256); in init_cups()
|
/third_party/curl/packages/OS400/ |
D | curlmain.c | 71 strncpy(tocode, "IBMCCSID01208", sizeof(tocode)); /* Use UTF-8. */ in main() 72 strncpy(fromcode, "IBMCCSID000000000010", sizeof(fromcode)); in main()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_mdx.function | 16 strncpy((char *) src_str, text_src_string, sizeof(src_str) - 1); 36 strncpy((char *) src_str, text_src_string, sizeof(src_str) - 1);
|
/third_party/ltp/lib/ |
D | tst_sys_conf.c | 29 strncpy(n->path, path, sizeof(n->path)-1); in tst_sys_conf_save_str() 30 strncpy(n->value, value, sizeof(n->value)-1); in tst_sys_conf_save_str()
|
/third_party/mesa3d/src/drm-shim/ |
D | device.c | 191 strncpy(args->name, shim_device.driver_name, args->name_len); in drm_shim_ioctl_version() 193 strncpy(args->date, date, args->date_len); in drm_shim_ioctl_version() 195 strncpy(args->desc, desc, args->desc_len); in drm_shim_ioctl_version() 209 strncpy(gu->unique, shim_device.unique, gu->unique_len); in drm_shim_ioctl_get_unique()
|