/hardware/qcom/sm7250/display/sdm/include/private/ |
D | generic_payload.h | 110 template<typename A> int CreatePayload(A *&p, uint32_t sz) { in CreatePayload() 116 if (!sz) { in CreatePayload() 120 p = new A[sz]; in CreatePayload() 126 array_size = sz; in CreatePayload() 133 template<typename A> int GetPayload(A *&p, uint32_t *sz) const { in GetPayload() 134 if ((sz == nullptr) || (sizeof(A) != type_size)) { in GetPayload() 140 *sz = 0; in GetPayload() 150 *sz = array_size; in GetPayload()
|
/hardware/qcom/gps/msm8084/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument 174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
|
D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
/hardware/qcom/gps/msm8996/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument 174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
|
D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
/hardware/qcom/gps/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument 174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
|
D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
/hardware/qcom/gps/msm8909/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument 174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
|
D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument 174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
|
D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
/hardware/qcom/gps/msm8994/loc_api/libloc_api_50001/ |
D | loc_eng_dmn_conn_glue_pipe.c | 138 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz) in loc_eng_dmn_conn_glue_pipewrite() argument 142 result = write(fd, buf, sz); in loc_eng_dmn_conn_glue_pipewrite() 170 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz) in loc_eng_dmn_conn_glue_piperead() argument 174 len = read(fd, buf, sz); in loc_eng_dmn_conn_glue_piperead()
|
D | loc_eng_dmn_conn_glue_pipe.h | 40 int loc_eng_dmn_conn_glue_pipewrite(int fd, const void * buf, size_t sz); 41 int loc_eng_dmn_conn_glue_piperead(int fd, void * buf, size_t sz);
|
/hardware/google/aemu/host-common/ |
D | address_space_shared_slots_host_memory_allocator.cpp | 94 …ock::MemBlock(const address_space_device_control_ops* o, const AddressSpaceHwFuncs* h, uint32_t sz) in MemBlock() argument 96 bits = android::aligned_buf_alloc(kAllocAlignment, sz); in MemBlock() 97 bitsSize = sz; in MemBlock() 98 physBase = allocateAddressSpaceBlock(hw, sz); in MemBlock() 107 if (!freeSubblocks.insert({0, sz}).second) { in MemBlock() 197 const size_t sz) { in findFreeSubblock() argument 205 if (i->second >= sz && sz < bestSize) { in findFreeSubblock() 278 const uint32_t sz = stream->getBe32(); in load() local 279 if (!freeSubblocks.insert({off, sz}).second) { in load() 425 for (uint32_t sz = stream->getBe32(); sz > 0; --sz) { in load() local [all …]
|
D | MediaVideoToolBoxVideoHelper.cpp | 253 size_t sz) { in parseInputFrames() argument 255 VTB_DPRINT("input frame %d bytes", (int)sz); in parseInputFrames() 257 const uint8_t* remainingFrame = parseOneFrame(frame, sz); in parseInputFrames() 263 sz = sz - consumed; in parseInputFrames() 416 size_t sz) { in createSampleBuffer() argument 424 sz, // blockLength in createSampleBuffer() 428 sz, // dataLength in createSampleBuffer() 651 int sz = planeHeight * planeWidth; in copyFrameToCPU() local 652 imageSize += sz; in copyFrameToCPU() 653 memcpy(dst, planeData, sz); in copyFrameToCPU() [all …]
|
/hardware/nxp/uwb/halimpl/hal/sr1xx/ |
D | phNxpUciHal_fwd.cc | 712 phHbci_Status_t phHbci_GetApdu(uint8_t *pApdu, uint16_t sz) in phHbci_GetApdu() argument 717 if (sz == 0 || sz > PHHBCI_MAX_LEN_PAYLOAD_MISO) { in phHbci_GetApdu() 721 ret_Read = read((intptr_t)tPalConfig.pDevHandle, (void*)pApdu, (sz)); in phHbci_GetApdu() 724 ALOGD("ERROR: Get APDU %u bytes failed!\n", sz); in phHbci_GetApdu() 734 if (sz != (ret = fwrite(gDummyMiso, sizeof(uint8_t), sz, gOpts.fMosi))) in phHbci_GetApdu() 736 ALOGD("ERROR: %s dummy write returned %d, expected %d\n", gOpts.mosiFile, ret, sz); in phHbci_GetApdu() 738 if (sz != (ret = fwrite(pApdu, sizeof(uint8_t), sz, gOpts.fMiso))) in phHbci_GetApdu() 740 ALOGD("ERROR: %s write returned %d, expected %d\n", gOpts.misoFile, ret, sz); in phHbci_GetApdu() 744 if (sz != (ret = fwrite(pApdu, sizeof(uint8_t), sz, gOpts.fMiso))) in phHbci_GetApdu() 746 ALOGD("ERROR: %s write returned %d, expected %d\n", gOpts.misoFile, ret, sz); in phHbci_GetApdu() [all …]
|
/hardware/broadcom/libbt/src/ |
D | upio.c | 153 int fd, sz, id; in init_rfkill() local 169 sz = read(fd, &buf, sizeof(buf)); in init_rfkill() 172 if (sz >= 9 && memcmp(buf, "bluetooth", 9) == 0) in init_rfkill() 291 int sz; in upio_set_bluetooth_power() local 338 sz = write(fd, &buffer, 1); in upio_set_bluetooth_power() 340 if (sz < 0) { in upio_set_bluetooth_power()
|
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ |
D | ExternalCameraUtils.h | 59 size_t operator()(const Size& sz) const { in operator() 61 result = 31 * result + sz.width; in operator() 62 result = 31 * result + sz.height; in operator() 188 #define ASPECT_RATIO(sz) (static_cast<float>((sz).width) / (sz).height) argument 243 int formatConvert(const YCbCrLayout& in, const YCbCrLayout& out, Size sz, uint32_t format);
|
/hardware/interfaces/automotive/evs/aidl/impl/default/src/ |
D | ConfigManager.cpp | 548 size_t sz = 0; in readConfigDataFromBinary() local 581 sz = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() 584 for (size_t idx = 0; idx < sz; ++idx) { in readConfigDataFromBinary() 592 sz = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() 595 for (size_t idx = 0; idx < sz; ++idx) { in readConfigDataFromBinary() 687 sz = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() 690 for (size_t idx = 0; idx < sz; ++idx) { in readConfigDataFromBinary() 698 sz = *(reinterpret_cast<size_t*>(p)); in readConfigDataFromBinary() 701 for (size_t idx = 0; idx < sz; ++idx) { in readConfigDataFromBinary() 786 size_t sz = mCameraGroups.size(); in writeConfigDataToBinary() local [all …]
|
/hardware/libhardware_legacy/ |
D | uevent.c | 46 int sz = 64*1024; in uevent_init() local 58 setsockopt(s, SOL_SOCKET, SO_RCVBUFFORCE, &sz, sizeof(sz)); in uevent_init()
|
/hardware/qcom/sm7250/display/gpu_tonemapper/ |
D | glengine.cpp | 138 unsigned int engine_load3DTexture(void *colorMapData, int sz, int format) in engine_load3DTexture() argument 150 GL(glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB10_A2, sz, sz, sz, 0, GL_RGBA, in engine_load3DTexture() 156 unsigned int engine_load1DTexture(void *data, int sz, int format) in engine_load1DTexture() argument 160 if ((data != 0) && (sz != 0)) { in engine_load1DTexture() 168 GL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB10_A2, sz, 1, 0, GL_RGBA, in engine_load1DTexture()
|
/hardware/interfaces/camera/device/default/ |
D | ExternalCameraUtils.h | 64 size_t operator()(const Size& sz) const { in operator() 66 result = 31 * result + sz.width; in operator() 67 result = 31 * result + sz.height; in operator() 196 #define ASPECT_RATIO(sz) (static_cast<float>((sz).width) / (sz).height) argument 248 int formatConvert(const YCbCrLayout& in, const YCbCrLayout& out, Size sz, uint32_t format);
|
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
D | glengine.cpp | 138 unsigned int engine_load3DTexture(void *colorMapData, int sz, int format) in engine_load3DTexture() argument 150 GL(glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB10_A2, sz, sz, sz, 0, GL_RGBA, in engine_load3DTexture() 156 unsigned int engine_load1DTexture(void *data, int sz, int format) in engine_load1DTexture() argument 160 if ((data != 0) && (sz != 0)) { in engine_load1DTexture() 168 GL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB10_A2, sz, 1, 0, GL_RGBA, in engine_load1DTexture()
|
/hardware/qcom/sm8150/display/gpu_tonemapper/ |
D | glengine.cpp | 138 unsigned int engine_load3DTexture(void *colorMapData, int sz, int format) in engine_load3DTexture() argument 150 GL(glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB10_A2, sz, sz, sz, 0, GL_RGBA, in engine_load3DTexture() 156 unsigned int engine_load1DTexture(void *data, int sz, int format) in engine_load1DTexture() argument 160 if ((data != 0) && (sz != 0)) { in engine_load1DTexture() 168 GL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB10_A2, sz, 1, 0, GL_RGBA, in engine_load1DTexture()
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
D | glengine.cpp | 138 unsigned int engine_load3DTexture(void *colorMapData, int sz, int format) in engine_load3DTexture() argument 150 GL(glTexImage3D(GL_TEXTURE_3D, 0, GL_RGB10_A2, sz, sz, sz, 0, GL_RGBA, in engine_load3DTexture() 156 unsigned int engine_load1DTexture(void *data, int sz, int format) in engine_load1DTexture() argument 160 if ((data != 0) && (sz != 0)) { in engine_load1DTexture() 168 GL(glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB10_A2, sz, 1, 0, GL_RGBA, in engine_load1DTexture()
|