/device/google/contexthub/firmware/lib/libc/ |
D | bcopy.c | 70 char *dst = dst0; in memcpy() local 74 if (length == 0 || dst == src) /* nothing to do */ in memcpy() 83 if ((unsigned long)dst < (unsigned long)src) { in memcpy() 88 if ((t | (uintptr_t)dst) & wmask) { in memcpy() 93 if ((t ^ (uintptr_t)dst) & wmask || length < wsize) in memcpy() 98 TLOOP1(*dst++ = *src++); in memcpy() 104 TLOOP(*(word *)dst = *(word *)src; src += wsize; dst += wsize); in memcpy() 106 TLOOP(*dst++ = *src++); in memcpy() 114 dst += length; in memcpy() 116 if ((t | (uintptr_t)dst) & wmask) { in memcpy() [all …]
|
D | memset.c | 67 u_char *dst; in bzero() local 69 dst = dst0; in bzero() 85 *dst++ = VAL; in bzero() 103 if ((t = (long)dst & wmask) != 0) { in bzero() 107 *dst++ = VAL; in bzero() 114 *(u_int *)dst = WIDEVAL; in bzero() 115 dst += wsize; in bzero() 122 *dst++ = VAL; in bzero()
|
D | strncpy.c | 42 strncpy(char *dst, const char *src, size_t n) in strncpy() argument 45 char *d = dst; in strncpy() 57 return (dst); in strncpy()
|
/device/google/cuttlefish/guest/hals/hwcomposer/common/ |
D | cpu_composer.cpp | 61 typedef int (*ConverterFunction)(const BufferSpec& src, const BufferSpec& dst, 63 int DoCopy(const BufferSpec& src, const BufferSpec& dst, bool v_flip); 64 int ConvertFromYV12(const BufferSpec& src, const BufferSpec& dst, bool v_flip); 159 int ConvertFromYV12(const BufferSpec& src, const BufferSpec& dst, bool v_flip) { in ConvertFromYV12() argument 184 uint8_t* dst_buffer = dst.buffer + in ConvertFromYV12() 185 dst.crop_y * dst.stride_bytes + in ConvertFromYV12() 186 dst.crop_x * dst.sample_bytes; in ConvertFromYV12() 192 dst_buffer, dst.stride_bytes, in ConvertFromYV12() 193 dst.crop_width, in ConvertFromYV12() 194 v_flip ? -dst.crop_height : dst.crop_height); in ConvertFromYV12() [all …]
|
/device/google/contexthub/lib/nanohub/ |
D | nanoapp.c | 46 bool readFile(void *dst, uint32_t len, const char *fileName) in readFile() argument 54 if (len != fread(dst, 1, len, f)) in readFile() 71 uint8_t *dst = NULL; in loadFile() local 81 len += grow; dst = reallocOrDie(dst, len); in loadFile() 83 block = fread(dst + total, 1, grow, f); in loadFile() 91 free(dst); in loadFile() 93 dst = NULL; in loadFile() 98 return dst; in loadFile()
|
D | aes.c | 204 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesEncr() argument 249 *dst++ = *k++ ^ in aesEncr() 255 *dst++ = *k++ ^ in aesEncr() 261 *dst++ = *k++ ^ in aesEncr() 267 *dst++ = *k++ ^ in aesEncr() 274 void aesDecr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesDecr() argument 319 *dst++ = *k++ ^ in aesDecr() 325 *dst++ = *k++ ^ in aesDecr() 331 *dst++ = *k++ ^ in aesDecr() 337 *dst++ = *k++ ^ in aesDecr() [all …]
|
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/ |
D | utils.cpp | 63 uint8_t *dst = static_cast<uint8_t *>(_dst); in SET_U16() local 64 dst[0] = x >> 8; in SET_U16() 65 dst[1] = x & 0xff; in SET_U16() 69 uint8_t *dst = static_cast<uint8_t *>(_dst); in SET_U32() local 70 dst[0] = x >> 24; in SET_U32() 71 dst[1] = (x >> 16) & 0xff; in SET_U32() 72 dst[2] = (x >> 8) & 0xff; in SET_U32() 73 dst[3] = x & 0xff; in SET_U32()
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
D | glUtils.h | 62 void glUtilsPackPointerData(unsigned char *dst, unsigned char *str, 120 template <class T> void shiftIndices(const T *src, T *dst, int count, int offset) in shiftIndices() argument 123 *dst = *src + offset; in shiftIndices() 124 dst++; in shiftIndices() 145 (const T *src, T *dst, int count, int offset, in shiftIndicesExcept() argument 148 if (!shouldExclude) return shiftIndices(src, dst, count, offset); in shiftIndicesExcept() 152 *dst = *src; in shiftIndicesExcept() 154 *dst = *src + offset; in shiftIndicesExcept() 156 dst++; in shiftIndicesExcept()
|
/device/google/contexthub/firmware/os/platform/stm32/ |
D | crt_stm32.c | 128 uint32_t *dst, *src, *end; in ResetISR() local 131 dst = __data_start; in ResetISR() 134 while(dst != end) in ResetISR() 135 *dst++ = *src++; in ResetISR() 138 dst = __bss_start; in ResetISR() 140 while(dst != end) in ResetISR() 141 *dst++ = 0; in ResetISR()
|
/device/google/contexthub/firmware/os/inc/ |
D | bl.h | 54 …bool (*blProgramShared)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key… 56 …bool (*blProgramEe)(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, u… 68 void (*blAesEncr)(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); 69 void (*blAesDecr)(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); 72 void (*blAesCbcEncr)(struct AesCbcContext *ctx, const uint32_t *src, uint32_t *dst); 73 void (*blAesCbcDecr)(struct AesCbcContext *ctx, const uint32_t *src, uint32_t *dst); 92 bool blPlatProgramFlash(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32_t …
|
/device/google/contexthub/lib/include/nanohub/ |
D | aes.h | 37 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); //encrypts AES_BLOCK_WORD… 38 void aesDecr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst); //deencrypts AES_BLOCK_WO… 48 void aesCbcEncr(struct AesCbcContext *ctx, const uint32_t *src, uint32_t *dst); //encrypts AES_BLOC… 49 void aesCbcDecr(struct AesCbcContext *ctx, const uint32_t *src, uint32_t *dst); //encrypts AES_BLOC…
|
/device/google/contexthub/firmware/os/core/ |
D | bl.c | 128 static bool blProgramFlash(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t key1, uint32… in blProgramFlash() argument 135 ((0xFFFFFFFF - (uint32_t)dst) < (length - 1)) || in blProgramFlash() 136 ((dst < mBlFlashTable[0].address)) || in blProgramFlash() 137 ((dst + length) > (mBlFlashTable[sector_cnt-1].address + in blProgramFlash() 144 if (dst >= mBlFlashTable[i].address && in blProgramFlash() 145 dst < (mBlFlashTable[i].address + mBlFlashTable[i].length)) { in blProgramFlash() 153 offset = (uint32_t)(dst - mBlFlashTable[i].address); in blProgramFlash() 170 if (!blPlatProgramFlash(dst, src, length, key1, key2)) in blProgramFlash() 173 return !memcmp(dst, src, length); in blProgramFlash() 181 static bool blProgramTypedArea(uint8_t *dst, const uint8_t *src, uint32_t length, uint32_t type, ui… in blProgramTypedArea() argument [all …]
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/ |
D | xf-core.c | 172 u32 dst = cmd->dst; 197 …XF_CHK_API(xf_output_port_route(port, __XF_MSG_ID(dst, src), cmd->alloc_number, cmd->alloc_size, c… 199 TRACE(ROUTE, _b("Ports routed: %03x -> %03x"), src, dst); 341 static inline void xf_msg_local_ipc_put(u32 src, u32 dst, xf_message_t *m) in xf_msg_local_ipc_put() argument 343 xf_core_rw_data_t *rw = XF_CORE_RW_DATA(dst); in xf_msg_local_ipc_put() 378 (first ? xf_ipi_assert(dst), 1 : 0); in xf_msg_local_ipc_put() 544 u32 dst = XF_MSG_DST_CORE(m->id); in xf_msg_submit() local 547 if (src ^ dst) in xf_msg_submit() 550 xf_msg_local_ipc_put(src, dst, m); in xf_msg_submit() 563 u32 dst = XF_MSG_DST(m->id); in xf_msg_complete() local [all …]
|
D | xf-shmem.c | 74 u32 dst = XF_MSG_DST_CORE(m->id); in xf_msg_proxy_put() local 76 xf_core_rw_data_t *rw = XF_CORE_RW_DATA(dst); in xf_msg_proxy_put() 104 if (first && (dst ^ src)) in xf_msg_proxy_put() 106 xf_ipi_assert(dst); in xf_msg_proxy_put()
|
/device/google/cuttlefish/host/commands/modem_simulator/ |
D | pdu_parser.cpp | 242 std::string dst; in BCDToString() local 251 dst += data[i + 1]; in BCDToString() 252 dst += data[i]; in BCDToString() 255 if (dst[length -1] == 'F') { in BCDToString() 256 dst.replace(length -1, length, "\0"); in BCDToString() 258 return dst; in BCDToString()
|
/device/linaro/hikey/hifi/xaf/hifi-dpf/include/ |
D | xf-opcode.h | 54 #define __XF_MSG_ID(src, dst) (((src) & 0xFFFF) | (((dst) & 0xFFFF) << 16)) argument 264 u32 dst; member 288 u32 dst; member
|
/device/generic/goldfish-opengl/system/codecs/omx/avcdec/ |
D | MediaH264Decoder.cpp | 148 …uint8_t* dst = transport->getInputAddr(mAddressOffSet); // Note: reuse the same addr for input and… in getImage() local 150 transport->writeParam(transport->offsetOf((uint64_t)(dst)) - mAddressOffSet, 1, mAddressOffSet); in getImage() 157 res.data = dst; in getImage() 186 …uint8_t* dst = transport->getInputAddr(mAddressOffSet); // Note: reuse the same addr for input and… in renderOnHostAndReturnImageMetadata() local 188 transport->writeParam(transport->offsetOf((uint64_t)(dst)) - mAddressOffSet, 1, mAddressOffSet); in renderOnHostAndReturnImageMetadata() 195 res.data = dst; // note: the data could be junk in renderOnHostAndReturnImageMetadata()
|
/device/linaro/hikey/hifi/xaf/host-apf/include/ |
D | xf-opcode.h | 47 #define __XF_MSG_ID(src, dst) (((src) & 0xFFFF) | (((dst) & 0xFFFF) << 16)) argument 271 u32 dst; member 295 u32 dst; member
|
/device/google/crosshatch/sdm845/original-kernel-headers/linux/ |
D | msm_rotator.h | 27 struct msmfb_img dst; member 40 struct msmfb_data dst; member
|
/device/google/coral-kernel/sm8150/kernel-headers/linux/ |
D | msm_rotator.h | 36 struct msmfb_img dst; member 48 struct msmfb_data dst; member
|
/device/google/crosshatch/sdm845/kernel-headers/linux/ |
D | msm_rotator.h | 36 struct msmfb_img dst; member 48 struct msmfb_data dst; member
|
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/ |
D | msm_rotator.h | 27 struct msmfb_img dst; member 40 struct msmfb_data dst; member
|
/device/google/bonito/sdm710/original-kernel-headers/linux/ |
D | msm_rotator.h | 27 struct msmfb_img dst; member 40 struct msmfb_data dst; member
|
/device/google/bonito/sdm710/kernel-headers/linux/ |
D | msm_rotator.h | 36 struct msmfb_img dst; member 48 struct msmfb_data dst; member
|
/device/generic/goldfish-opengl/system/codecs/omx/plugin/ |
D | GoldfishVideoDecoderOMXComponent.cpp | 316 uint8_t *dst, const uint8_t *srcY, const uint8_t *srcU, const uint8_t *srcV, in copyYV12FrameToOutputBuffer() argument 324 uint8_t *dstStart = dst; in copyYV12FrameToOutputBuffer() 327 memcpy(dst, srcY, mWidth * bpp); in copyYV12FrameToOutputBuffer() 329 dst += dstYStride; in copyYV12FrameToOutputBuffer() 332 dst = dstStart + dstYStride * dstHeight; in copyYV12FrameToOutputBuffer() 334 memcpy(dst, srcU, mWidth / 2 * bpp); in copyYV12FrameToOutputBuffer() 336 dst += dstUVStride; in copyYV12FrameToOutputBuffer() 339 dst = dstStart + (5 * dstYStride * dstHeight) / 4; in copyYV12FrameToOutputBuffer() 341 memcpy(dst, srcV, mWidth / 2 * bpp); in copyYV12FrameToOutputBuffer() 343 dst += dstUVStride; in copyYV12FrameToOutputBuffer()
|