/device/google/contexthub/firmware/os/platform/stm32/ |
D | eeData.c | 37 uint32_t sz = info / (EE_DATA_NAME_MAX + 1); in eeFind() local 41 p += (sz + 3) / 4; in eeFind() 45 *szP = sz; in eeFind() 70 uint32_t sz = 0; in eeDataGetEx() local 77 data = eeFind(name, offsetP, first, &sz); in eeDataGetEx() 82 if (sz > *szP) in eeDataGetEx() 83 sz = *szP; in eeDataGetEx() 84 *szP = sz; in eeDataGetEx() 85 memcpy(buf, data, sz); in eeDataGetEx() 88 *szP = sz; in eeDataGetEx() [all …]
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | goldfish_dma.cpp | 56 int goldfish_dma_create_region(uint32_t sz, struct goldfish_dma_context* res) { in goldfish_dma_create_region() argument 65 info.size = sz; in goldfish_dma_create_region() 76 res->size = sz; in goldfish_dma_create_region() 78 __FUNCTION__, sz, res, res->fd); in goldfish_dma_create_region() 111 uint32_t sz) { in goldfish_dma_write() argument 113 __FUNCTION__, cxt, cxt->mapped_addr, to_write, sz); in goldfish_dma_write() 114 memcpy(reinterpret_cast<void *>(cxt->mapped_addr), to_write, sz); in goldfish_dma_write()
|
D | goldfish_dma_host.cpp | 16 int goldfish_dma_create_region(uint32_t sz, struct goldfish_dma_context* res) { in goldfish_dma_create_region() argument 30 uint32_t sz) { in goldfish_dma_write() argument
|
D | goldfish_dma.h | 27 int goldfish_dma_create_region(uint32_t sz, struct goldfish_dma_context* res); 34 uint32_t sz);
|
/device/google/contexthub/firmware/lib/libc/ |
D | new.cpp | 25 void* operator new(size_t sz) in operator new() argument 27 return eOsHeapAlloc(sz); in operator new() 30 void* operator new[](size_t sz) in operator new[]() argument 32 return eOsHeapAlloc(sz); in operator new[]()
|
/device/google/contexthub/firmware/os/core/ |
D | heap.c | 115 void* heapAlloc(uint32_t sz) in heapAlloc() argument 126 sz = (sz + 3) &~ 3; in heapAlloc() 130 if (!node->used && node->size >= sz && (!best || best->size > node->size)) { in heapAlloc() 132 if (best->size == sz) in heapAlloc() 142 if (best->size - sz > sizeof(struct HeapNode)) { //there is a point to split up the chunk in heapAlloc() 144 node = (struct HeapNode*)(best->data + sz); in heapAlloc() 148 node->size = best->size - sz - sizeof(struct HeapNode); in heapAlloc() 156 best->size = sz; in heapAlloc()
|
D | simpleQ.c | 51 …uint32_t i, sz = sizeof(struct SimpleQueue) + (sizeof(struct SimpleQueueEntry) + entrySz) * numEnt… in simpleQueueAlloc() local 57 sq = heapAlloc(sz); in simpleQueueAlloc() 61 memset(sq, 0, sz); in simpleQueueAlloc()
|
/device/generic/goldfish/audio/ |
D | device_port_source.cpp | 157 const size_t sz = doRead(readBuf.data(), readBuf.size()); in producerThread() local 158 if (sz > 0) { in producerThread() 159 LOG_ALWAYS_FATAL_IF(mRingBuffer.produce(readBuf.data(), sz) < sz); in producerThread() 162 const size_t sz = doRead(produceChunk.data, readBuf.size()); in producerThread() local 163 if (sz > 0) { in producerThread() 164 LOG_ALWAYS_FATAL_IF(mRingBuffer.produce(readBuf.size()) < sz); in producerThread() 170 size_t doRead(void *dst, size_t sz) { in doRead() 171 const int res = ::pcm_read(mPcm.get(), dst, sz); in doRead() 178 return sz; in doRead() 306 const size_t sz = sampleRateHz / 20; in BusySignalGenerator() local [all …]
|
D | stream_in.cpp | 166 size_t operator()(const void *dst, size_t sz) override { in doRead() 167 if (dataMQ.write(static_cast<const uint8_t *>(dst), sz)) { in doRead() 168 totalWritten += sz; in doRead() 169 return sz; in doRead()
|
D | stream_out.cpp | 172 size_t operator()(void *dst, size_t sz) override { in doWrite() 173 if (dataMQ.read(static_cast<uint8_t *>(dst), sz)) { in doWrite() 174 totalRead += sz; in doWrite() 175 return sz; in doWrite()
|
/device/linaro/dragonboard/qcom/qrtr/ |
D | qrtr.py | 73 def recv(self, sz=65536): argument 74 buf = ctypes.create_string_buffer(sz) 75 n = _qrtr.qrtr_recv(self.sock, c_char_p(ctypes.addressof(buf)), sz) 80 def recvfrom(self, sz=65536): argument 83 buf = ctypes.create_string_buffer(sz)
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/sys/xt-shmem/board-hikey/ |
D | arch_hifi330.h | 115 #define ENTRY(sz) entry sp, sz 117 #define RET(sz) retw
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 197 sz(INITIAL_DMA_REGION_SIZE), in gralloc_dmaregion_t() 204 host_memory_allocator.hostMalloc(&address_space_block, sz); in gralloc_dmaregion_t() 206 goldfish_dma_create_region(sz, &goldfish_dma); in gralloc_dmaregion_t() 213 uint32_t sz; member 257 grdma->sz = new_sz; in resize_gralloc_dmaregion_locked() 272 static bool put_gralloc_region_dma_locked(gralloc_dmaregion_t* grdma, uint32_t sz) { in put_gralloc_region_dma_locked() argument 275 if (sz > MAX_DMA_SIZE && grdma->bigbufCount) { in put_gralloc_region_dma_locked() 288 static bool put_gralloc_region(ExtendedRCEncoderContext *rcEnc, uint32_t sz) { in put_gralloc_region() argument 294 shouldDelete = put_gralloc_region_direct_mem_locked(grdma, sz); in put_gralloc_region() 296 shouldDelete = put_gralloc_region_dma_locked(grdma, sz); in put_gralloc_region() [all …]
|
/device/google/contexthub/util/nanoapp_encr/ |
D | nanoapp_encr.c | 133 int32_t sz = encr.dataLen - (i * sizeof(uint32_t)); in handleEncrypt() local 134 sz = sz > AES_BLOCK_SIZE ? AES_BLOCK_SIZE : sz; in handleEncrypt() 135 if (sz > 0) { in handleEncrypt() 136 sha2processBytes(&shaState, data + i, sz); in handleEncrypt()
|
/device/generic/goldfish/camera/ |
D | EmulatedFakeRotatingCameraDevice.cpp | 208 float sz = fx * upY - fy * upX; in gluLookAt() local 209 float slf = 1.0f / sqrt(sx * sx + sy * sy + sz * sz); in gluLookAt() 212 sz *= slf; in gluLookAt() 215 float ux = sy * fz - sz * fy; in gluLookAt() 216 float uy = sz * fx - sx * fz; in gluLookAt() 234 m[8] = sz; in gluLookAt()
|
/device/google/cuttlefish/tools/play_audio/ |
D | play_audio.cpp | 73 auto sz = audio.size() * sizeof audio[0]; in PlayDecodedAudio() local 74 auto ret = audio_device->QueueAudio(audio.data(), sz); in PlayDecodedAudio()
|
/device/linaro/hikey/hifi/xaf/host-apf/playback/ |
D | xa_playback.c | 60 uint32_t sz; 128 if (chunk_header.sz > sizeof(chunk_fmt)) 129 fseek(file, chunk_header.sz - sizeof(chunk_fmt), SEEK_CUR); 137 fseek(file, chunk_header.sz, SEEK_CUR);
|
/device/google/contexthub/firmware/os/inc/ |
D | heap.h | 28 void* heapAlloc(uint32_t sz);
|
/device/generic/opengl-transport/host/commands/emugen/tests/t.001/expected/encoder/ |
D | foo_enc.h | 21 virtual uint64_t lockAndWriteDma(void* data, uint32_t sz) { return 0; } in lockAndWriteDma()
|
/device/google/cuttlefish/host/frontend/vnc_server/ |
D | vnc_client_connection.cpp | 298 auto sz = static_cast<std::uint32_t>(jpeg_size); in AppendJpegSize() local 300 static_cast<std::uint8_t>((sz & 0x7F) | 0x80), in AppendJpegSize() 301 static_cast<std::uint8_t>((sz >> 7) & 0xFF)); in AppendJpegSize() 307 const auto sz = static_cast<std::uint32_t>(jpeg_size); in AppendJpegSize() local 309 static_cast<std::uint8_t>((sz & 0x7F) | 0x80), in AppendJpegSize() 310 static_cast<std::uint8_t>(((sz >> 7) & 0x7F) | 0x80), in AppendJpegSize() 311 static_cast<std::uint8_t>((sz >> 14) & 0xFF)); in AppendJpegSize()
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | FormatConversions.cpp | 58 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yv12_offsets() local 62 if (totalSz_out) *totalSz_out = sz; in get_yv12_offsets() 73 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yuv420p_offsets() local 77 if (totalSz_out) *totalSz_out = sz; in get_yuv420p_offsets()
|
/device/linaro/dragonboard/qcom/qrtr/lib/ |
D | qrtr.c | 79 int qrtr_sendto(int sock, uint32_t node, uint32_t port, const void *data, unsigned int sz) in qrtr_sendto() argument 88 rc = sendto(sock, data, sz, 0, (void *)&sq, sizeof(sq)); in qrtr_sendto()
|
/device/google/crosshatch/sdm845/original-kernel-headers/linux/ |
D | msm_vidc_enc.h | 590 size_t sz; member 599 unsigned long sz; member
|
/device/google/crosshatch/sdm845/kernel-headers/linux/ |
D | msm_vidc_enc.h | 252 size_t sz; member 260 unsigned long sz; member
|
/device/google/bonito/sdm710/original-kernel-headers/linux/ |
D | msm_vidc_enc.h | 590 size_t sz; member 599 unsigned long sz; member
|