/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/uboot/u-boot-2020.01/drivers/misc/ |
D | misc_sandbox.c | 55 strncpy(rx_msg, "Zero", rx_size); in misc_sandbox_call() 58 strncpy(rx_msg, "One", rx_size); in misc_sandbox_call() 61 strncpy(rx_msg, "Two", rx_size); in misc_sandbox_call() 73 strncpy(rx_msg, "Forty", rx_size); in misc_sandbox_call() 76 strncpy(rx_msg, "Forty-one", rx_size); in misc_sandbox_call() 79 strncpy(rx_msg, "Forty-two", rx_size); in misc_sandbox_call()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_mdx.function | 18 strncpy( (char *) src_str, text_src_string, sizeof(src_str) - 1 ); 38 strncpy( (char *) src_str, text_src_string, sizeof(src_str) - 1 ); 58 strncpy( (char *) src_str, text_src_string, sizeof(src_str) - 1 ); 78 strncpy( (char *) src_str, text_src_string, sizeof(src_str) - 1 );
|
D | test_suite_md.function | 141 strncpy( (char *) src_str, text_src_string, sizeof( src_str ) - 1 ); 142 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 ); 164 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 ); 196 strncpy( (char *) src_str, text_src_string, sizeof(src_str) - 1 ); 197 strncpy( (char *) md_name, text_md_name, sizeof(md_name) - 1 ); 247 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 ); 293 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 ); 320 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 ); 363 strncpy( (char *) md_name, text_md_name, sizeof( md_name ) - 1 );
|
/third_party/curl/lib/ |
D | strerror.c | 645 strncpy(buf, p, len); in get_winsock_error() 738 strncpy(buf, strerror(err), max); in Curl_strerror() 771 strncpy(buf, msg, max); in Curl_strerror() 783 strncpy(buf, buffer, max); in Curl_strerror() 791 strncpy(buf, msg, max); in Curl_strerror() 844 strncpy(buf, txt, buflen); in Curl_winapi_strerror() 986 strncpy(buf, txtbuf, buflen); in Curl_sspi_strerror() 996 strncpy(buf, txt, buflen); in Curl_sspi_strerror()
|
/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/uboot/u-boot-2020.01/board/corscience/tricorder/ |
D | tricorder-eeprom.c | 147 strncpy(eeprom.board_name, name, length); in tricorder_eeprom_write() 150 strncpy(eeprom.board_version, version, length); in tricorder_eeprom_write() 153 strncpy(eeprom.board_serial, serial, length); in tricorder_eeprom_write() 158 strncpy(eeprom.interface_version, interface, length); in tricorder_eeprom_write()
|
/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/giflib/ |
D | gifinto.c | 118 strncpy(FullPath, *FileName, STRLEN); in main() 128 strncpy(FoutTmpName, FullPath, STRLEN); /* First setup the Path */ in main() 168 strncpy(DefaultName, FullPath, STRLEN); in main()
|
/third_party/selinux/libselinux/src/ |
D | canonicalize_context.c | 36 strncpy(buf, con, size); in security_canonicalize_context_raw() 47 strncpy(buf, con, size); in security_canonicalize_context_raw()
|
/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/e2fsprogs/ext2ed/ |
D | dir_com.c | 229 strncpy (full_dir_name,dir_entry_ptr->name,dir_entry_ptr->name_len); in type_dir___cd() 247 strncpy (dir_name,full_dir_name,ptr-full_dir_name); in type_dir___cd() 462 strncpy (temp,dir_entry_ptr->name,dir_entry_ptr->name_len); /* The name is not terminated */ in action_show() 611 strncpy (variable,buffer,ptr-buffer);variable [ptr-buffer]=0; in type_dir___set() 641 strncpy (dir_entry_ptr->name,value,strlen (value)); in type_dir___set() 648 strncpy (temp,dir_entry_ptr->name,dir_entry_ptr->name_len); in type_dir___set()
|
/third_party/musl/porting/liteos_m/kernel/include/ |
D | string.h | 36 char *strncpy (char *__restrict, const char *__restrict, size_t); 123 #define strncpy(dst, src, n) __strncpy(dst, src, n) macro 134 #define strncpy(dst, src, n) __strncpy(dst, src, n) macro
|
/third_party/musl/porting/liteos_a/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/grpc/src/core/ext/filters/load_reporting/ |
D | server_load_reporting_filter.cc | 184 strncpy(cur_pos, kEmptyAddressLengthString, kLengthPrefixSize); in StoreClientIpAndLrToken() 186 strncpy(cur_pos, kEncodedIpv4AddressLengthString, kLengthPrefixSize); in StoreClientIpAndLrToken() 188 strncpy(cur_pos, kEncodedIpv6AddressLengthString, kLengthPrefixSize); in StoreClientIpAndLrToken() 195 strncpy(cur_pos, client_ip.c_str(), client_ip.size()); in StoreClientIpAndLrToken() 200 strncpy(cur_pos, lr_token, lr_token_len); in StoreClientIpAndLrToken()
|
/third_party/flutter/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/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/libxml2/os400/ |
D | libxmlmain.c | 52 strncpy(tocode, "IBMCCSID01208", sizeof tocode); in main() 53 strncpy(fromcode, "IBMCCSID000000000010", sizeof fromcode); in main()
|
/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/e2fsprogs/lib/ext2fs/ |
D | ismounted.c | 175 strncpy(mtpt, "/", mtlen); in check_mntent_file() 191 strncpy(mtpt, mnt->mnt_dir, mtlen); in check_mntent_file() 279 strncpy(mtpt, mp->f_mntonname, mtlen); in check_getmntinfo() 396 strncpy(mtpt, "<swap>", mtlen); in ext2fs_check_mount_point()
|
/third_party/boost/libs/endian/example/ |
D | udt_conversion_example.cpp | 30 std::strncpy(desc_, desc, sizeof(desc_)-1); in UDT() 40 std::strncpy(desc_, s, sizeof(desc_)-1); in desc()
|
/third_party/mingw-w64/mingw-w64-crt/gdtoa/ |
D | g_xfmt.c | 87 strncpy (b, "Infinity", ndig ? ndig : 8); in __g_xfmt() 90 strncpy (buf, "NaN", ndig ? ndig : 3); in __g_xfmt()
|
/third_party/ltp/testcases/kernel/syscalls/gethostid/ |
D | gethostid01.c | 196 strncpy(name2, name, HOSTIDLEN); in main() 214 strncpy(hostid2, hostid, in main()
|
/third_party/libexif/libexif/ |
D | exif-entry.c | 531 strncpy (val, (char *) e->data, MIN (maxlen-1, e->size)); in exif_entry_format_value() 904 strncpy (val, (char *) e->data + 8, MIN (e->size - 8, maxlen-1)); in exif_entry_get_value() 908 strncpy (val, _("Unsupported UNICODE string"), maxlen-1); in exif_entry_get_value() 916 strncpy (val, _("Unsupported JIS string"), maxlen-1); in exif_entry_get_value() 945 strncpy (val, _("Unknown Exif Version"), maxlen-1); in exif_entry_get_value() 960 strncpy (val, _("FlashPix Version 1.0"), maxlen-1); in exif_entry_get_value() 962 strncpy (val, _("FlashPix Version 1.01"), maxlen-1); in exif_entry_get_value() 964 strncpy (val, _("Unknown FlashPix Version"), maxlen-1); in exif_entry_get_value() 975 strncpy (val, (char *) e->data, MIN (maxlen-1, e->size)); in exif_entry_get_value() 977 strncpy (val, _("[None]"), maxlen-1); in exif_entry_get_value() [all …]
|