Home
last modified time | relevance | path

Searched refs:memset (Results 1 – 25 of 470) sorted by relevance

12345678910>>...19

/system/chre/apps/test/chqts/src/shared/
Dnano_string_test.cc44 ::memset(expected, kUnsetValue, sizeof(expected)); in testMemset()
45 ::memset(actual, kUnsetValue, sizeof(actual)); in testMemset()
47 ::memset(expected, kNewValue, kLenToSet); in testMemset()
48 nanoapp_testing::memset(actual, kNewValue, kLenToSet); in testMemset()
76 ::memset(expected, kUnsetValue, sizeof(expected)); in testMemcpy()
77 ::memset(actual, kUnsetValue, sizeof(actual)); in testMemcpy()
116 ::memset(expected, kUnsetValue, sizeof(expected)); in testStrncpy()
117 ::memset(actual, kUnsetValue, sizeof(actual)); in testStrncpy()
/system/core/libappfuse/tests/
DFuseBridgeLoopTest.cc67 memset(&request_, 0, sizeof(FuseRequest)); in CheckNotImpl()
73 memset(&response_, 0, sizeof(FuseResponse)); in CheckNotImpl()
81 memset(&request_, 0, sizeof(FuseRequest)); in CheckProxy()
87 memset(&request_, 0, sizeof(FuseRequest)); in CheckProxy()
92 memset(&response_, 0, sizeof(FuseResponse)); in CheckProxy()
98 memset(&response_, 0, sizeof(FuseResponse)); in CheckProxy()
105 memset(&request_, 0, sizeof(FuseRequest)); in SendInitRequest()
135 memset(&response_, 0, sizeof(FuseResponse)); in TEST_F()
146 memset(&request_, 0, sizeof(FuseRequest)); in TEST_F()
154 memset(&response_, 0, sizeof(FuseResponse)); in TEST_F()
DFuseBufferTest.cc81 memset(&request, 0, sizeof(FuseRequest)); in TEST()
118 memset(response.read_data, 'a', 10); in TEST()
142 memset(response.read_data, 'a', 10); in TEST()
161 memset(&buffer, 0, sizeof(FuseBuffer)); in TEST()
182 memset(&buffer, 0, sizeof(FuseBuffer)); in TEST()
/system/bt/stack/test/
Dstack_a2dp_test.cc298 memset(codec_info_sbc_invalid, 0, sizeof(codec_info_sbc_invalid)); in TEST_F()
386 memset(codec_info_result, 0, sizeof(codec_info_result)); in TEST_F()
414 memset(codec_info_test, 0, sizeof(codec_info_test)); in TEST_F()
471 memset(codec_info_sbc_test, 0xAB, sizeof(codec_info_sbc_test)); in TEST_F()
476 memset(codec_info_aac_test, 0xAB, sizeof(codec_info_aac_test)); in TEST_F()
481 memset(codec_info_non_a2dp_test, 0xAB, sizeof(codec_info_non_a2dp_test)); in TEST_F()
491 memset(codec_info_sbc_test, 0xAB, sizeof(codec_info_sbc_test)); in TEST_F()
500 memset(codec_info_aac_test, 0xAB, sizeof(codec_info_aac_test)); in TEST_F()
510 memset(codec_info_sbc_test, 0xAB, sizeof(codec_info_sbc_test)); in TEST_F()
517 memset(codec_info_aac_test, 0xAB, sizeof(codec_info_aac_test)); in TEST_F()
[all …]
Dstack_avrcp_test.cc42 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
52 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
67 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
81 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
91 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
101 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
/system/memory/libion/tests/
Dmap_test.cpp44 memset(ptr, 0xaa, size); in TEST_F()
65 memset(ptr, 0, getpagesize()); in TEST_F()
66 memset(ptr + getpagesize(), 0xaa, getpagesize()); in TEST_F()
98 memset(ptr, 0xaa, size); in TEST_F()
123 memset(ptr, 0xaa, size); in TEST_F()
/system/bt/stack/btm/
Dbtm_ble_adv_filter.cc278 memset(&btm_ble_adv_filt_cb.p_addr_filter_count[0], 0, in btm_ble_dealloc_addr_filter_counter()
285 memset(p_addr_filter, 0, sizeof(tBTM_BLE_PF_COUNT)); in btm_ble_dealloc_addr_filter_counter()
304 memset(param, 0, len_max); in BTM_LE_PF_local_name()
322 memset(&btm_ble_adv_filt_cb.cur_filter_target, 0, sizeof(tBLE_BD_ADDR)); in BTM_LE_PF_local_name()
349 memset(param, 0, len_max); in BTM_LE_PF_manu_data()
385 memset(&btm_ble_adv_filt_cb.cur_filter_target, 0, sizeof(tBLE_BD_ADDR)); in BTM_LE_PF_manu_data()
401 memset(param, 0, len_max); in BTM_LE_PF_srvc_data_pattern()
423 memset(&btm_ble_adv_filt_cb.cur_filter_target, 0, sizeof(tBLE_BD_ADDR)); in BTM_LE_PF_srvc_data_pattern()
496 memset(param, 0, len); in BTM_LE_PF_addr_filter()
526 memset(&btm_ble_adv_filt_cb.cur_filter_target, 0, sizeof(tBLE_BD_ADDR)); in BTM_LE_PF_addr_filter()
[all …]
Dbtm_ble_batchscan.cc82 memset(&adv_data, 0, sizeof(tBTM_BLE_TRACK_ADV_DATA)); in btm_ble_batchscan_filter_track_adv_vse_cback()
239 memset(param, 0, len); in btm_ble_read_batchscan_reports()
308 memset(param, 0, len); in btm_ble_set_storage_config()
331 memset(param, 0, len); in btm_ble_set_batchscan_param()
348 memset(param, 0, len); in btm_ble_enable_batchscan()
523 memset(&track_adv_data, 0, sizeof(tBTM_BLE_TRACK_ADV_DATA)); in BTM_BleTrackAdvertiser()
541 memset(&ble_batchscan_cb, 0, sizeof(tBTM_BLE_BATCH_SCAN_CB)); in btm_ble_batchscan_init()
542 memset(&ble_advtrack_cb, 0, sizeof(tBTM_BLE_ADV_TRACK_CB)); in btm_ble_batchscan_init()
552 memset(&ble_batchscan_cb, 0, sizeof(tBTM_BLE_BATCH_SCAN_CB)); in btm_ble_batchscan_cleanup()
553 memset(&ble_advtrack_cb, 0, sizeof(tBTM_BLE_ADV_TRACK_CB)); in btm_ble_batchscan_cleanup()
Dble_advertiser_hci_interface.cc127 memset(param, 0, BTM_BLE_MULTI_ADV_SET_PARAM_LEN); in SetParameters()
166 memset(param, 0, BTM_BLE_MULTI_ADV_WRITE_DATA_LEN); in SetAdvertisingData()
193 memset(param, 0, BTM_BLE_MULTI_ADV_WRITE_DATA_LEN); in SetScanResponseData()
217 memset(param, 0, BTM_BLE_MULTI_ADV_SET_RANDOM_ADDR_LEN); in SetRandomAddress()
245 memset(param, 0, BTM_BLE_MULTI_ADV_ENB_LEN); in Enable()
404 memset(pp, 0, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1); in SetAdvertisingData()
430 memset(pp, 0, HCIC_PARAM_SIZE_BLE_WRITE_ADV_DATA + 1); in SetScanResponseData()
547 memset(param, 0, HCI_LE_SET_EXT_ADVERTISING_PARAM_LEN); in SetParameters()
579 memset(param, 0, cmd_length); in SetAdvertisingData()
601 memset(param, 0, cmd_length); in SetScanResponseData()
[all …]
/system/core/libunwindstack/tests/
DMemoryLocalTest.cpp31 memset(src.data(), 0x4c, 1024); in TEST()
42 memset(src.data(), 0x23, 512); in TEST()
78 memset(mapping + getpagesize() - 1024, 0x4c, 1024); in TEST()
96 memset(mapping, 0xFF, 3 * 4096); in TEST()
DGenGnuDebugdata.cpp35 memset(ehdr, 0, sizeof(Ehdr)); in InitEhdr()
57 memset(&shdr, 0, sizeof(shdr)); in GenElf()
63 memset(&shdr, 0, sizeof(shdr)); in GenElf()
73 memset(&shdr, 0, sizeof(shdr)); in GenElf()
DElfTestUtils.cpp38 memset(ehdr, 0, sizeof(Ehdr)); in TestInitEhdr()
74 memset(&shdr, 0, sizeof(shdr)); in TestInitGnuDebugdata()
84 memset(&shdr, 0, sizeof(shdr)); in TestInitGnuDebugdata()
125 memset(&shdr, 0, sizeof(shdr)); in TestInitGnuDebugdata()
DElfInterfaceTest.cpp228 memset(&phdr, 0, sizeof(phdr)); in MultipleExecutablePtLoads()
237 memset(&phdr, 0, sizeof(phdr)); in MultipleExecutablePtLoads()
295 memset(&phdr, 0, sizeof(phdr)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
304 memset(&phdr, 0, sizeof(phdr)); in MultipleExecutablePtLoadsIncrementsNotSizeOfPhdr()
364 memset(&phdr, 0, sizeof(phdr)); in NonExecutablePtLoads()
373 memset(&phdr, 0, sizeof(phdr)); in NonExecutablePtLoads()
424 memset(&phdr, 0, sizeof(phdr)); in ManyPhdrs()
429 memset(&phdr, 0, sizeof(phdr)); in ManyPhdrs()
434 memset(&phdr, 0, sizeof(phdr)); in ManyPhdrs()
439 memset(&phdr, 0, sizeof(phdr)); in ManyPhdrs()
[all …]
DMemoryRemoteTest.cpp59 memset(src.data(), 0x4c, 1024); in TEST_F()
86 memset(&src[i * getpagesize()], i, getpagesize()); in TEST_F()
115 memset(mapping, 0x4c, 4 * getpagesize()); in TEST_F()
158 memset(src, 0x4c, pagesize * 2); in TEST_F()
240 memset(mapping, 0xFF, 3 * page_size); in TEST_F()
273 memset(mapping, 0xFF, 3 * page_size); in TEST_F()
309 memset(mapping, 0xFC, 2 * page_size); in TEST_F()
/system/bt/vendor_libs/test_vendor_lib/test/
Dasync_manager_unittest.cc46 memset(&serv_addr, 0, sizeof(serv_addr)); in StartServer()
60 memset(&cli_addr, 0, sizeof(cli_addr)); in AcceptConnection()
82 memset(server_buffer_, 0, kBufferSize); in SetUp()
108 memset((void*)&serv_addr, 0, sizeof(serv_addr)); in ConnectClient()
/system/core/logd/
Dlibaudit.c78 memset(&req, 0, sizeof(req)); in audit_send()
79 memset(&addr, 0, sizeof(addr)); in audit_send()
155 memset(&status, 0, sizeof(status)); in audit_setup()
192 memset(&status, 0, sizeof(status)); in audit_rate_limit()
/system/media/audio_utils/tests/
Dprimitives_tests.cpp45 memset(container.data(), 0, container.size() * sizeof(container[0])); in zeroFill()
382 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0])); in TEST()
390 memset(u16ary, 0, 65536 * sizeof(u16ref[0])); in TEST()
397 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0])); in TEST()
405 memset(u16ary, 0x9, 65536 * sizeof(u16ary[0])); in TEST()
415 memset(u16ary, 0x9, 65536 * sizeof(u16ary[0])); in TEST()
460 memset(u24ary, 0x99, 65536 * sizeof(u24ary[0])); in TEST()
469 memset(u24ary, 0, 65536 * sizeof(u24ary[0])); in TEST()
477 memset(u24ary, 0x99, 65536 * sizeof(u24ary[0])); in TEST()
485 memset(u24ary, 0x9, 65536 * sizeof(u24ary[0])); in TEST()
[all …]
/system/bt/btif/src/
Dbtif_sock_util.cc97 memset(&msg, 0, sizeof(msg)); in sock_send_fd()
117 memset(&iv, 0, sizeof(iv)); in sock_send_fd()
138 memset(&msg, 0, sizeof(msg)); in sock_send_fd()
/system/core/libprocessgroup/cgrouprc_format/
Dcgroup_controller.cpp24 memset(name_, 0, sizeof(name_)); in CgroupController()
25 memset(path_, 0, sizeof(path_)); in CgroupController()
/system/bt/bta/test/gatt/
Ddatabase_test.cc93 memset(&attr, 0, sizeof(attr)); in TEST()
123 memset(&attr, 0, sizeof(attr)); in TEST()
157 memset(&attr, 0, sizeof(attr)); in TEST()
190 memset(&attr, 0, sizeof(attr)); in TEST()
/system/core/libdiskconfig/
Dconfig_mbr.c36 memset(&pentry->start, 0xff, sizeof(struct chs)); in cfg_pentry()
37 memset(&pentry->end, 0xff, sizeof(struct chs)); in cfg_pentry()
40 memset(&pentry->start, 0, sizeof(struct chs)); in cfg_pentry()
41 memset(&pentry->end, 0, sizeof(struct chs)); in cfg_pentry()
158 memset(ebr, 0, sizeof(struct pc_boot_record)); in mk_ext_pentry()
290 memset(&blank, 0, sizeof(struct part_info)); in config_mbr()
/system/bt/stack/smp/
Dp_256_curvepara.cc40 memset(ec->omega, 0, KEY_LENGTH_DWORDS_P256); in p_256_init_curve()
41 memset(ec->a, 0, KEY_LENGTH_DWORDS_P256); in p_256_init_curve()
/system/extras/libfec/test/
Dtest_rs.c43 memset(data, 0x00, sizeof(data)); in main()
44 memset(corr, 0x00, sizeof(corr)); in main()
/system/chre/apps/test/common/chre_cross_validator_wifi/src/
Dwifi_scan_result.cc29 memset(mSsid, 0, CHRE_WIFI_SSID_MAX_LEN); in WifiScanResult()
47 memset(mSsid, 0, CHRE_WIFI_SSID_MAX_LEN); in WifiScanResult()
/system/core/libsysutils/src/
DFrameworkListener.cpp105 memset(argv, 0, sizeof(argv)); in dispatchCommand()
106 memset(tmp, 0, sizeof(tmp)); in dispatchCommand()
164 memset(tmp, 0, sizeof(tmp)); in dispatchCommand()

12345678910>>...19