Home
last modified time | relevance | path

Searched refs:write_data (Results 1 – 25 of 41) sorted by relevance

12

/external/autotest/server/site_tests/firmware_ECCbiEeprom/
Dfirmware_ECCbiEeprom.py95 write_data = self.TEST_EEPROM_DATA_2
97 write_data = self.TEST_EEPROM_DATA
99 self._write_eeprom(offset, write_data)
103 return before, write_data, after
111 before, write_data, after = self._read_write_data(offset)
128 before, write_data, after = self._read_write_data(offset)
130 if write_data != after:
/external/webrtc/common_audio/
Dring_buffer_unittest.cc63 std::unique_ptr<int[]> write_data(new int[buffer_size]); in RandomStressTest() local
79 write_element = SetIncrementingData(write_data.get(), expected_elements, in RandomStressTest()
83 WebRtc_WriteBuffer(buffer.get(), write_data.get(), num_elements)); in RandomStressTest()
117 int write_data[kDataSize]; in TEST() local
125 SetIncrementingData(write_data, kDataSize, 0); in TEST()
126 EXPECT_EQ(kDataSize, WebRtc_WriteBuffer(buffer.get(), write_data, kDataSize)); in TEST()
135 EXPECT_EQ(kDataSize, WebRtc_WriteBuffer(buffer.get(), write_data, kDataSize)); in TEST()
/external/tpm2-tss/test/integration/
Dsapi-nv-readwrite.int.c117 TPM2B_MAX_NV_BUFFER write_data = { in nv_write_read_test() local
128 &write_data, in nv_write_read_test()
143 if (memcmp (nv_buf.buffer, write_data.buffer, write_data.size) != 0) { in nv_write_read_test()
146 LOGBLOB_DEBUG (write_data.buffer, write_data.size, "write_data"); in nv_write_read_test()
Dsapi-nv-policy-locality.int.c178 TPM2B_MAX_NV_BUFFER write_data = { in nv_write() local
191 &write_data, in nv_write()
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/train/
Ddata_split_person.py38 from data_split import write_data
73 write_data(train_data, "./person_split/train")
74 write_data(valid_data, "./person_split/valid")
75 write_data(test_data, "./person_split/test")
Ddata_split.py36 from data_prepare import write_data
88 write_data(train_data, "./data/train")
89 write_data(valid_data, "./data/valid")
90 write_data(test_data, "./data/test")
Ddata_prepare_test.py29 from data_prepare import write_data
65 write_data(self.data, data_path_test)
Ddata_prepare.py143 def write_data(data_to_write, path): function
164 write_data(data, "./data/complete_data")
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dwps-nfc.py320 global write_data
321 tag.ndef.message = str(write_data)
334 global write_data, write_wait_remove
336 write_data = wpas_get_config_token(id)
337 if write_data == None:
347 global write_data, write_wait_remove
349 write_data = wpas_get_er_config_token(uuid)
350 if write_data == None:
360 global write_data, write_wait_remove
362 write_data = wpas_get_password_token()
[all …]
/external/wpa_supplicant_8/hostapd/
Dwps-ap-nfc.py193 global write_data
194 tag.ndef.message = str(write_data)
207 global write_data, write_wait_remove
209 write_data = wpas_get_config_token()
210 if write_data == None:
220 global write_data, write_wait_remove
222 write_data = wpas_get_password_token()
223 if write_data == None:
/external/marisa-trie/lib/marisa/grimoire/io/
Dwriter.h25 write_data(&obj, sizeof(T)); in write()
33 write_data(objs, sizeof(T) * num_objs); in write()
54 void write_data(const void *data, std::size_t size);
Dwriter.cc73 write_data(buf, size); in seek()
78 write_data(buf, count); in seek()
112 void Writer::write_data(const void *data, std::size_t size) { in write_data() function in marisa::grimoire::io::Writer
/external/pigweed/pw_blob_store/size_report/
Dbasic_blob.cc69 pw::ConstByteSpan write_data = std::span(blob_source_buffer); in main() local
74 unsigned(write_data.size()), in main()
89 writer.Write(write_data); in main()
Ddeferred_write_blob.cc69 pw::ConstByteSpan write_data = std::span(blob_source_buffer); in main() local
74 unsigned(write_data.size()), in main()
89 writer.Write(write_data); in main()
Dbase.cc68 pw::ConstByteSpan write_data = std::span(blob_source_buffer); in main() local
73 unsigned(write_data.size()), in main()
/external/OpenCL-CTS/test_conformance/basic/
Dtest_progvar.cpp951 cl_uchar* write_data = (cl_uchar*)align_malloc(write_data_size, ALIGNMENT); in l_write_read_for_type() local
954 … write_mem( clCreateBuffer( context, CL_MEM_USE_HOST_PTR, write_data_size, write_data, &status ) ); in l_write_read_for_type()
978 write_data[value_idx] = (1<<value_idx) & bool_iter; in l_write_read_for_type()
983 l_set_randomly( write_data, write_data_size, rand_state ); in l_write_read_for_type()
989 …status = clSetKernelArg(reader,1,ti.get_size(),write_data + (NUM_TESTED_VALUES-1)*ti.get_size()); … in l_write_read_for_type()
994 l_copy( expected, 0, write_data, 0, ti ); in l_write_read_for_type()
995 l_copy( expected, 1, write_data, 1, ti ); in l_write_read_for_type()
996 l_copy( expected, 2, write_data, 2, ti ); in l_write_read_for_type()
997 l_copy( expected, 3, write_data, 3, ti ); in l_write_read_for_type()
1000 l_copy( expected, 2 + iptr_idx, write_data, 4, ti ); in l_write_read_for_type()
[all …]
/external/curl/docs/examples/
Durl2file.c32 static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) in write_data() function
64 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); in main()
Dsepheaders.c32 static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) in write_data() function
58 curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, write_data); in main()
Dexternalsocket.c55 static size_t write_data(void *ptr, size_t size, size_t nmemb, void *stream) in write_data() function
143 curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data); in main()
/external/ltp/testcases/kernel/syscalls/lseek/
Dlseek11.c143 static void write_data(int fd, int num) in write_data() function
175 write_data(fd, i + 1); in setup()
179 write_data(fd, i + 1); in setup()
/external/arm-trusted-firmware/plat/intel/soc/common/drivers/qspi/
Dcadence_qspi.c605 uint32_t write_count, write_capacity, *write_data, space, in cad_qspi_indirect_page_bound_write() local
624 write_data = (uint32_t *)(buffer + write_count); in cad_qspi_indirect_page_bound_write()
626 mmio_write_32(CAD_QSPIDATA_OFST, *write_data++); in cad_qspi_indirect_page_bound_write()
760 uint8_t *write_data; in cad_qspi_write() local
781 write_data = buffer; in cad_qspi_write()
791 status = cad_qspi_write_bank(bank_offset, write_data, in cad_qspi_write()
797 write_data += copy_len; in cad_qspi_write()
/external/rust/crates/criterion/src/
Dcsv_report.rs25 fn write_data( in write_data() method
71 writer.write_data(id, measurements, formatter)?; in write_file()
/external/python/cpython2/Lib/test/
Dtest_shutil.py145 def write_data(path, data): function
159 write_data(os.path.join(src_dir, 'test.txt'), '123')
162 write_data(os.path.join(src_dir, 'test_dir', 'test.txt'), '456')
191 def write_data(path, data): function
208 write_data(join(src_dir, 'test.txt'), '123')
209 write_data(join(src_dir, 'test.tmp'), '123')
211 write_data(join(src_dir, 'test_dir', 'test.txt'), '456')
213 write_data(join(src_dir, 'test_dir2', 'test.txt'), '456')
216 write_data(join(src_dir, 'test_dir2', 'subdir', 'test.txt'), '456')
217 write_data(join(src_dir, 'test_dir2', 'subdir2', 'test.py'), '456')
/external/curl/lib/vquic/
Dngtcp2.c982 static CURLcode write_data(struct HTTP *stream, const void *mem, size_t memlen) in write_data() function
1012 result = write_data(stream, buf, buflen); in cb_h3_recv_data()
1075 result = write_data(stream, "\r\n", 2); in cb_h3_end_headers()
1106 result = write_data(stream, line, ncopy); in cb_h3_recv_header()
1113 result = write_data(stream, h3name.base, h3name.len); in cb_h3_recv_header()
1117 result = write_data(stream, ": ", 2); in cb_h3_recv_header()
1121 result = write_data(stream, h3val.base, h3val.len); in cb_h3_recv_header()
1125 result = write_data(stream, "\r\n", 2); in cb_h3_recv_header()
/external/tpm2-tss/src/tss2-fapi/api/
DFapi_NvWrite.c302 SAFE_FREE(context->nv_cmd.write_data); in Fapi_NvWrite_Finish()

12