/system/chre/apps/test/chqts/src/shared/ |
D | nano_string_test.cc | 44 ::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/ |
D | FuseBridgeLoopTest.cc | 67 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()
|
D | FuseBufferTest.cc | 81 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/ |
D | stack_a2dp_test.cc | 298 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 …]
|
D | stack_avrcp_test.cc | 42 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/ |
D | map_test.cpp | 44 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/ |
D | btm_ble_adv_filter.cc | 278 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 …]
|
D | btm_ble_batchscan.cc | 82 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()
|
D | ble_advertiser_hci_interface.cc | 127 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/ |
D | MemoryLocalTest.cpp | 31 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()
|
D | GenGnuDebugdata.cpp | 35 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()
|
D | ElfTestUtils.cpp | 38 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()
|
D | ElfInterfaceTest.cpp | 228 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 …]
|
D | MemoryRemoteTest.cpp | 59 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/ |
D | async_manager_unittest.cc | 46 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/ |
D | libaudit.c | 78 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/ |
D | primitives_tests.cpp | 45 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/ |
D | btif_sock_util.cc | 97 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/ |
D | cgroup_controller.cpp | 24 memset(name_, 0, sizeof(name_)); in CgroupController() 25 memset(path_, 0, sizeof(path_)); in CgroupController()
|
/system/bt/bta/test/gatt/ |
D | database_test.cc | 93 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/ |
D | config_mbr.c | 36 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/ |
D | p_256_curvepara.cc | 40 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/ |
D | test_rs.c | 43 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/ |
D | wifi_scan_result.cc | 29 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/ |
D | FrameworkListener.cpp | 105 memset(argv, 0, sizeof(argv)); in dispatchCommand() 106 memset(tmp, 0, sizeof(tmp)); in dispatchCommand() 164 memset(tmp, 0, sizeof(tmp)); in dispatchCommand()
|