Home
last modified time | relevance | path

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

12345678910>>...19

/system/chre/apps/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()
77 ::memset(expected, kUnsetValue, sizeof(expected)); in testMemcpy()
78 ::memset(actual, kUnsetValue, sizeof(actual)); in testMemcpy()
118 ::memset(expected, kUnsetValue, sizeof(expected)); in testStrncpy()
119 ::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.cc41 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
51 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
66 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
80 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
90 memset(browse_cmd_buf, 0, sizeof(browse_cmd_buf)); in TEST_F()
100 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/
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()
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()
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.cpp42 memset(src.data(), 0x4c, 1024); in TEST()
69 memset(&src[i * getpagesize()], i, getpagesize()); in TEST()
98 memset(mapping, 0x4c, 4 * getpagesize()); in TEST()
141 memset(src, 0x4c, pagesize * 2); in TEST()
223 memset(mapping, 0xFF, 3 * page_size); in TEST()
258 memset(mapping, 0xFF, 3 * page_size); in TEST()
296 memset(mapping, 0xFC, 2 * page_size); in TEST()
/system/media/audio_utils/tests/
Dprimitives_tests.cpp41 memset(container.data(), 0, container.size() * sizeof(container[0])); in zeroFill()
375 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0])); in TEST()
383 memset(u16ary, 0, 65536 * sizeof(u16ref[0])); in TEST()
390 memset(u16ary, 0x99, 65536 * sizeof(u16ref[0])); in TEST()
398 memset(u16ary, 0x9, 65536 * sizeof(u16ary[0])); in TEST()
408 memset(u16ary, 0x9, 65536 * sizeof(u16ary[0])); in TEST()
453 memset(u24ary, 0x99, 65536 * sizeof(u24ary[0])); in TEST()
462 memset(u24ary, 0, 65536 * sizeof(u24ary[0])); in TEST()
470 memset(u24ary, 0x99, 65536 * sizeof(u24ary[0])); in TEST()
478 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/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()
/system/core/trusty/libtrusty/tipc-test/
Dtipc_test.c297 memset(buf, i + j, sizeof(buf)); in closer3_test()
369 memset(tx_buf, i + 1, msg_len); in echo_test()
433 memset(tx_buf, i + 1, msg_len); in burst_write_test()
531 memset(tx_buf, i + j, msgsz); in select_test()
756 memset(tx0_buf, i + 1, iovs[0].iov_len); in writev_test()
757 memset(tx1_buf, i + 2, iovs[1].iov_len); in writev_test()
758 memset(rx_buf, i + 3, sizeof(rx_buf)); in writev_test()
838 memset(tx_buf, i + 1, sizeof(tx_buf)); in readv_test()
839 memset(rx0_buf, i + 2, iovs[0].iov_len); in readv_test()
840 memset(rx1_buf, i + 3, iovs[1].iov_len); in readv_test()
/system/netd/client/
DFwmarkClient.cpp93 memset(&message, 0, sizeof(message)); in send()
103 memset(cmsgu.cmsg, 0, sizeof(cmsgu.cmsg)); in send()
/system/bt/embdrv/sbc/decoder/include/
Doi_string.h59 #define OI_MemSet(block, val, size) memset((block), (val), (size))
60 #define OI_MemZero(block, size) memset((block), 0, (size))

12345678910>>...19