/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/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/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() 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/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/mbedtls/tests/suites/ |
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/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/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/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/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/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/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/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/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/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/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/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() 397 strncpy(mtpt, "<swap>", mtlen); in ext2fs_check_mount_point()
|
/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 …]
|
/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/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/iptables/extensions/ |
D | libxt_set.h | 65 strncpy(setname, req.set.name, IPSET_MAXNAMELEN); in get_set_byid() 77 strncpy(req.set.name, setname, IPSET_MAXNAMELEN); in get_set_byname_only() 108 strncpy(req.set.name, setname, IPSET_MAXNAMELEN); in get_set_byname()
|
/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()
|