Home
last modified time | relevance | path

Searched refs:data_size (Results 1 – 12 of 12) sorted by relevance

/device/google/contexthub/util/nanotool/
Dnanopacket.cpp75 size_t data_size = data ? data->size() : 0; in NanoPacket() local
76 size_t required_buffer_size = 14 + data_size; in NanoPacket()
95 packet_buffer_[9] = data_size; in NanoPacket()
105 packet_buffer_[data_size + 10] = crc; in NanoPacket()
106 packet_buffer_[data_size + 11] = crc >> 8; in NanoPacket()
107 packet_buffer_[data_size + 12] = crc >> 16; in NanoPacket()
108 packet_buffer_[data_size + 13] = crc >> 24; in NanoPacket()
/device/generic/goldfish/camera/
DQemuClient.cpp263 status_t QemuClient::sendMessage(const void* data, size_t data_size) in sendMessage() argument
270 const size_t written = TEMP_FAILURE_RETRY(write(mPipeFD, data, data_size)); in sendMessage()
271 if (written == data_size) { in sendMessage()
280 status_t QemuClient::receiveMessage(void** data, size_t* data_size) in receiveMessage() argument
283 *data_size = 0; in receiveMessage()
321 *data_size = payload_size; in receiveMessage()
DQemuClient.h247 virtual status_t sendMessage(const void* data, size_t data_size);
263 virtual status_t receiveMessage(void** data, size_t* data_size);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dzipimport.c690 long compress, crc, data_size, file_size, file_offset, date, time; in read_directory() local
755 data_size = PyMarshal_ReadLongFromFile(fp); in read_directory()
778 t = Py_BuildValue("siiiiiii", path, compress, data_size, in read_directory()
843 long compress, data_size, file_size, file_offset; in get_data() local
847 &data_size, &file_size, &file_offset, &time, in get_data()
876 data_size : data_size + 1); in get_data()
885 bytes_read = fread(buf, 1, data_size, fp); in get_data()
887 if (err || bytes_read != data_size) { in get_data()
895 buf[data_size] = 'Z'; /* saw this in zipfile.py */ in get_data()
896 data_size++; in get_data()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
Dzipimport.c690 long compress, crc, data_size, file_size, file_offset, date, time; in read_directory() local
762 data_size = PyMarshal_ReadLongFromFile(fp); in read_directory()
786 t = Py_BuildValue("siiiiiii", path, compress, data_size, in read_directory()
856 long compress, data_size, file_size, file_offset; in get_data() local
860 &data_size, &file_size, &file_offset, &time, in get_data()
899 data_size : data_size + 1); in get_data()
908 bytes_read = fread(buf, 1, data_size, fp); in get_data()
915 if (err || bytes_read != data_size) { in get_data()
923 buf[data_size] = 'Z'; /* saw this in zipfile.py */ in get_data()
924 data_size++; in get_data()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dsndhdr.py88 data_size = f(h[8:12])
103 return type, rate, nchannels, data_size//frame_size, sample_bits
Dsocket.py298 data_size = len(data)
302 while write_offset < data_size:
306 if write_offset < data_size:
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
Dsocket.py302 data_size = len(data)
306 while write_offset < data_size:
310 if write_offset < data_size:
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c881 static bool forwardPacket(uint32_t event, void *data, size_t data_size, in forwardPacket() argument
890 packet = heapAlloc(data_size + hdr_size); in forwardPacket()
899 memcpy(packet + hdr_size, hostPacket, data_size); in forwardPacket()
/device/google/dragon/audio/soundtrigger/
Dsound_trigger_hw.c360 sound_model->data_size); in stdev_load_sound_model()
/device/google/marlin/camera/usbcamcore/src/
DQualcommUsbCamera.cpp133 uint32_t data_size,
2938 uint32_t data_size, in jpegEncodeCb() argument
2950 out_data, data_size); in jpegEncodeCb()
/device/google/dragon/recovery/updater/
Dec_commands.h453 uint8_t data_size; member