/hardware/invensense/mlsdk/platform/linux/ |
D | mlsl_linux_mpu.c | 279 unsigned short length, in inv_serial_write() argument 291 msg.length = length; in inv_serial_write() 296 data[0], length, result); in inv_serial_write() 302 for (ii = 0; ii < length; ii++) { in inv_serial_write() 307 data[0], length, data_buff); in inv_serial_write() 316 unsigned short length, in inv_serial_read() argument 328 msg.length = length; in inv_serial_read() 335 result, registerAddr, length); in inv_serial_read() 341 for (ii = 0; ii < length; ii++) { in inv_serial_read() 346 registerAddr, length, data_buff); in inv_serial_read() [all …]
|
/hardware/invensense/mlsdk/mllite/ |
D | mldl.c | 153 unsigned short length, in inv_get_mpu_memory_original() argument 163 if (offset >= localDmpMemorySize || (offset + length) > localDmpMemorySize) { in inv_get_mpu_memory_original() 167 memcpy(buffer, &localDmpMemory[offset], length); in inv_get_mpu_memory_original() 733 unsigned short length, unsigned char *buffer) in inv_get_mpu_memory_one_bank() argument 739 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) { in inv_get_mpu_memory_one_bank() 744 memcpy(buffer, &mldlCfg.ram[bank][memAddr], length); in inv_get_mpu_memory_one_bank() 748 ((bank << 8) | memAddr), length, buffer); in inv_get_mpu_memory_one_bank() 778 unsigned short length, in inv_set_mpu_memory_one_bank() argument 785 ((memAddr + length) > MPU_MEM_BANK_SIZE) || (NULL == buffer)) { in inv_set_mpu_memory_one_bank() 789 different = memcmp(&mldlCfg.ram[bank][memAddr], buffer, length); in inv_set_mpu_memory_one_bank() [all …]
|
D | mldl.h | 137 unsigned short length, 140 unsigned short length, 143 unsigned short length, 152 unsigned short length, 167 unsigned short length, 171 unsigned short length,
|
D | mlFIFOHW.c | 111 uint_fast16_t inv_get_fifo(uint_fast16_t length, unsigned char *buffer) in inv_get_fifo() argument 119 toRead = length - FIFO_FOOTER_SIZE + fifo_objHW.fifoCount; in inv_get_fifo() 121 if (length > MAX_FIFO_LENGTH || toRead > length || NULL == buffer) { in inv_get_fifo() 133 if (inFifo < length + fifo_objHW.fifoCount) { in inv_get_fifo() 182 return length - FIFO_FOOTER_SIZE; in inv_get_fifo()
|
D | ml_stored_data.c | 114 unsigned int length; in inv_get_cal_length() local 115 length = INV_CAL_HDR_LEN + // header in inv_get_cal_length() 120 return length; in inv_get_cal_length() 1231 inv_error_t inv_store_cal(unsigned char *calData, int length) in inv_store_cal() argument 1252 calData[0] = (unsigned char)((length >> 24) & 0xff); in inv_store_cal() 1253 calData[1] = (unsigned char)((length >> 16) & 0xff); in inv_store_cal() 1254 calData[2] = (unsigned char)((length >> 8) & 0xff); in inv_store_cal() 1255 calData[3] = (unsigned char)(length & 0xff); in inv_store_cal() 1256 STORECAL_LOG("calLen = %d\n", length); in inv_store_cal() 1470 length - (INV_CAL_HDR_LEN + INV_CAL_CHK_LEN)); in inv_store_cal() [all …]
|
/hardware/invensense/mlsdk/platform/include/ |
D | mlsl.h | 137 unsigned short length, 154 unsigned short length, 173 unsigned short length, 190 unsigned short length, 205 unsigned short length, 220 unsigned short length,
|
/hardware/ril/mock-ril/src/cpp/ |
D | node_buffer.cpp | 87 size_t length; member 93 static inline Blob * blob_new(size_t length) { in blob_new() argument 98 blob->data = (char*) malloc(length); in blob_new() 105 V8::AdjustAmountOfExternalAllocatedMemory(sizeof(Blob) + length); in blob_new() 106 blob->length = length; in blob_new() 123 V8::AdjustAmountOfExternalAllocatedMemory(-(sizeof(Blob) + blob->length)); in blob_unref() 142 assert(start + length_ <= parent->length()); 154 size_t length() const { return length_; } 181 size_t length = 0; in New() local 183 length = args[0]->Uint32Value(); in New() [all …]
|
D | ctrl_server.cpp | 71 Buffer *ObtainBuffer(int length) { in ObtainBuffer() argument 72 Buffer *b = Buffer::New(length); in ObtainBuffer() 76 int WriteAll(int s, void *data, int length) { in WriteAll() argument 79 int count = length; in WriteAll() 81 while (length > 0) { in WriteAll() 82 ret_value = send(s, bytes, length, 0); in WriteAll() 90 length -= ret_value; in WriteAll() 96 int ReadAll(int s, void *data, int length) { in ReadAll() argument 99 int count = length; in ReadAll() 101 while (length != 0) { in ReadAll() [all …]
|
D | node_buffer.h | 60 static Buffer* New(size_t length); // public constructor 68 size_t length() const { return length_; } in length() function 70 void NewBlob(size_t length); 72 int AsciiWrite(char *string, int offset, int length); 73 int Utf8Write(char *string, int offset, int length); 90 Buffer(size_t length);
|
D | js_support.cpp | 96 int ReadFile(const char *fileName, char** data, size_t *length) { in ReadFile() argument 131 if (length != NULL) { in ReadFile() 132 *length = fileLength; in ReadFile() 190 size_t length; in ReadFileToBuffer() local 191 int status = ReadFile(fileName, &buffer, &length); in ReadFileToBuffer() 193 Buffer *buf = Buffer::New(length); in ReadFileToBuffer() 194 memmove(buf->data(), buffer, length); in ReadFileToBuffer() 377 size_t length; in testReadFile() local 382 status = ReadFile("/sdcard/data/no-file", &buffer, &length); in testReadFile() 384 status, buffer, length); in testReadFile()
|
D | responses.cpp | 73 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspStrings() 99 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspString() 117 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspIntegers() 140 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspGetSimStatus() 177 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspEnterSimPinData() 197 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspGetCurrentCalls() 245 rsp->ParseFromArray(buffer->data(), buffer->length()); in unmarshallRilSignalStrength() 293 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspSignalStrength() 320 rsp->ParseFromArray(buffer->data(), buffer->length()); in RspOperator() 352 rsp->ParseFromArray(buffer->data(), buffer->length()); in UnsolRspSignalStrength() [all …]
|
D | requests.cpp | 83 req->SerializeToArray(buffer->data(), buffer->length()); in ReqEnterSimPin() 139 DBG("buffer size=%d", buffer->length()); in ReqDial() 141 req->SerializeToArray(buffer->data(), buffer->length()); in ReqDial() 145 DBG("ReqDial X, buffer->length()=%d", buffer->length()); in ReqDial() 168 req->SerializeToArray(buffer->data(), buffer->length()); in ReqHangUp() 196 req->SerializeToArray(buffer->data(), buffer->length()); in ReqSeparateConnection() 224 req->SerializeToArray(buffer->data(), buffer->length()); in ReqSetMute() 254 req->SerializeToArray(buffer->data(), buffer->length()); in ReqScreenState() 362 buffer, buffer->length()); in AddRequest() 392 req->request_, req->buffer_, req->buffer_->length(), req->token_); in Process()
|
D | protobuf_v8.cpp | 207 return String::New(value.data(), value.length()); in ToJs() 289 message->ParseFromArray(buf->data(), buf->length()); in Parse() 323 SET(String, string(*ascii, ascii.length())); in ToProto() 419 int length = array->Length(); in ToProto() local 420 for (int j = 0; ok && (j < length); j++) { in ToProto() 443 int length = message->ByteSize(); in Serialize() local 444 Buffer* buffer = Buffer::New(length); in Serialize() 508 if (!descriptors.ParseFromArray(buf->data(), buf->length())) { in NewSchema()
|
/hardware/qcom/gps/loc_api/libloc_api/ |
D | loc_eng_xtra.cpp | 59 static int qct_loc_eng_inject_xtra_data(char* data, int length); 112 static int qct_loc_eng_inject_xtra_data(char* data, int length) in qct_loc_eng_inject_xtra_data() argument 123 LOGV ("qct_loc_eng_inject_xtra_data, xtra size = %d, data ptr = 0x%x\n", length, (int) data); in qct_loc_eng_inject_xtra_data() 129 predicted_orbits_data_ptr->total_size = length; in qct_loc_eng_inject_xtra_data() 130 total_parts = (length / XTRA_BLOCK_SIZE); in qct_loc_eng_inject_xtra_data() 143 if (XTRA_BLOCK_SIZE > (length - len_injected)) in qct_loc_eng_inject_xtra_data() 145 predicted_orbits_data_ptr->part_len = length - len_injected; in qct_loc_eng_inject_xtra_data()
|
/hardware/ti/omap3/omx/ti_omx_config_parser/src/ |
D | ti_video_config_parser.cpp | 121 int16 length = 0; in ti_video_config_parser() local 126 tmp_ptr += length; in ti_video_config_parser() 127 length = GetNAL_Config(&tmp_ptr, &initbufsize); in ti_video_config_parser() 128 buffer_begin[0] = length & 0xFF; in ti_video_config_parser() 129 buffer_begin[1] = (length >> 8) & 0xFF; in ti_video_config_parser() 130 oscl_memcpy(buffer_begin + 2, tmp_ptr, length); in ti_video_config_parser() 131 buffer_begin += (length + 2); in ti_video_config_parser() 132 tConfigSize += (length + 2); in ti_video_config_parser()
|
D | ti_m4v_config_parser.cpp | 102 OSCL_EXPORT_REF int16 iGetM4VConfigInfo(uint8 *buffer, int32 length, int32 *width, int32 *height, i… in iGetM4VConfigInfo() argument 107 psBits.numBytes = length; in iGetM4VConfigInfo() 114 if (length == 0) in iGetM4VConfigInfo() 797 OSCL_EXPORT_REF int16 iGetAVCConfigInfo(uint8 *buffer, int32 length, int32 *width, int32 *height, i… in iGetAVCConfigInfo() argument 805 uint8* temp = (uint8 *)OSCL_MALLOC(sizeof(uint8) * length); in iGetAVCConfigInfo() 813 oscl_memcpy(sps, buffer, length); in iGetAVCConfigInfo() 821 if (length < 3) in iGetAVCConfigInfo() 832 while (sps[i++] == 0 && i < length) in iGetAVCConfigInfo() 843 sps_length < length - i - 2) in iGetAVCConfigInfo() 848 if (sps_length >= length - i - 2) in iGetAVCConfigInfo() [all …]
|
/hardware/ril/mock-ril/src/js/ |
D | simulated_radio.js | 183 for (var i = 0; i < calls.length; i++) { 228 && (index < calls.length) 263 print('callArray.length=' + callArray.length); 264 for (var i = 0; i < callArray.length; i++) { 284 for (var i = 0; i < calls.length; i++) { 374 for (i = 0, j = 0; i < calls.length; i++) { 449 for (var i = 0; i < calls.length; i++) { 485 for (var i = 0; i < calls.length; i++) { 537 for (var i = 0; i < calls.length; i++) { 578 for (var i = 0; i < calls.length; i++) { [all …]
|
D | simulated_radio_tests.js | 95 for (var i = 0; i < calls.length; i++) { 139 for (var i = 0; i < calls.length; i++) { 180 for (i = 0; i < calls.length; i++) { 205 if (testCalls.length == 0) {
|
/hardware/msm7k/libgralloc-qsd8k/ |
D | gralloc.cpp | 94 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, in mmap() argument 96 return ::mmap(start, length, prot, flags, fd, offset); in mmap() 99 virtual int munmap(void* start, size_t length) { in munmap() argument 100 return ::munmap(start, length); in munmap()
|
D | pmemalloc.h | 77 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, 137 virtual void* mmap(void* start, size_t length, int prot, int flags, int fd, 139 virtual int munmap(void* start, size_t length) = 0;
|
D | framebuffer.cpp | 214 info.red.length = 8; in mapFrameBufferLocked() 216 info.green.length = 8; in mapFrameBufferLocked() 218 info.blue.length = 8; in mapFrameBufferLocked() 220 info.transp.length = 0; in mapFrameBufferLocked() 295 info.red.offset, info.red.length, in mapFrameBufferLocked() 296 info.green.offset, info.green.length, in mapFrameBufferLocked() 297 info.blue.offset, info.blue.length in mapFrameBufferLocked()
|
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
D | ti_m4v_config_parser.h | 102 int32 length, 118 int32 length, 127 int32 FindNAL(uint8** nal_pnt, uint8* buffer, int32 length);
|
/hardware/msm7k/libgralloc/ |
D | framebuffer.cpp | 187 info.red.length = 5; in mapFrameBufferLocked() 189 info.green.length = 6; in mapFrameBufferLocked() 191 info.blue.length = 5; in mapFrameBufferLocked() 193 info.transp.length = 0; in mapFrameBufferLocked() 259 info.red.offset, info.red.length, in mapFrameBufferLocked() 260 info.green.offset, info.green.length, in mapFrameBufferLocked() 261 info.blue.offset, info.blue.length in mapFrameBufferLocked()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/proto/ |
D | wpa.h | 53 uint8 length; 67 uint8 length;
|
/hardware/broadcom/wlan/bcm4329/dhdutil/include/proto/ |
D | wpa.h | 53 uint8 length; 67 uint8 length;
|