Home
last modified time | relevance | path

Searched refs:dest (Results 1 – 25 of 35) sorted by relevance

12

/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Ddsp_comm.c27 unsigned char *dest = (unsigned char*)d; in dsp_memcpy() local
32 } else if (src > dest) { in dsp_memcpy()
33 for (; dest < ((unsigned char*)d + size); dest++) { in dsp_memcpy()
34 *dest = *src; in dsp_memcpy()
39 for (dest = dest + (size - 1); dest >= (unsigned char*)d; dest--) { in dsp_memcpy()
40 *dest = *src; in dsp_memcpy()
50 unsigned char *dest = (unsigned char*)d; in dsp_memset() local
53 *dest++ = ucData; in dsp_memset()
/device/linaro/dragonboard/qcom/qrtr/lib/
Dqrtr.c219 int qrtr_decode(struct qrtr_packet *dest, void *buf, size_t len, in qrtr_decode() argument
228 dest->type = le32_to_cpu(ctrl->cmd); in qrtr_decode()
229 switch (dest->type) { in qrtr_decode()
231 dest->node = le32_to_cpu(ctrl->client.node); in qrtr_decode()
234 dest->node = le32_to_cpu(ctrl->client.node); in qrtr_decode()
235 dest->port = le32_to_cpu(ctrl->client.port); in qrtr_decode()
239 dest->node = le32_to_cpu(ctrl->server.node); in qrtr_decode()
240 dest->port = le32_to_cpu(ctrl->server.port); in qrtr_decode()
241 dest->service = le32_to_cpu(ctrl->server.service); in qrtr_decode()
242 dest->version = le32_to_cpu(ctrl->server.instance) & 0xff; in qrtr_decode()
[all …]
Dlibqrtr.h140 int qrtr_decode(struct qrtr_packet *dest, void *buf, size_t len,
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DFormatConversions.h32 void rgb565_to_yv12(char* dest, char* src, int width, int height,
34 void rgb888_to_yv12(char* dest, char* src, int width, int height,
36 void rgb888_to_yuv420p(char* dest, char* src, int width, int height,
38 void yv12_to_rgb565(char* dest, char* src, int width, int height,
40 void yv12_to_rgb888(char* dest, char* src, int width, int height,
42 void yuv420p_to_rgb888(char* dest, char* src, int width, int height,
DFormatConversions.cpp89 void rgb565_to_yv12(char* dest, char* src, int width, int height, in rgb565_to_yv12() argument
99 uint8_t *yv12_y0 = (uint8_t *)dest; in rgb565_to_yv12()
129 void rgb888_to_yv12(char* dest, char* src, int width, int height, in rgb888_to_yv12() argument
141 uint8_t *yv12_y0 = (uint8_t *)dest; in rgb888_to_yv12()
197 void rgb888_to_yuv420p(char* dest, char* src, int width, int height, in rgb888_to_yuv420p() argument
207 uint8_t *yv12_y0 = (uint8_t *)dest; in rgb888_to_yuv420p()
234 void yv12_to_rgb565(char* dest, char* src, int width, int height, in yv12_to_rgb565() argument
244 uint16_t *rgb_ptr0 = (uint16_t *)dest; in yv12_to_rgb565()
279 void yv12_to_rgb888(char* dest, char* src, int width, int height, in yv12_to_rgb888() argument
289 uint8_t *rgb_ptr0 = (uint8_t *)dest; in yv12_to_rgb888()
[all …]
/device/generic/goldfish/dhcp/common/
Dsocket.cpp189 udp.dest = htons(destinationPort); in sendRawUdp()
212 struct sockaddr_ll dest; in sendRawUdp() local
213 memset(&dest, 0, sizeof(dest)); in sendRawUdp()
214 dest.sll_family = AF_PACKET; in sendRawUdp()
215 dest.sll_protocol = htons(ETH_P_IP); in sendRawUdp()
216 dest.sll_ifindex = interfaceIndex; in sendRawUdp()
217 dest.sll_halen = ETH_ALEN; in sendRawUdp()
218 memset(dest.sll_addr, 0xFF, ETH_ALEN); in sendRawUdp()
222 header.msg_name = &dest; in sendRawUdp()
223 header.msg_namelen = sizeof(dest); in sendRawUdp()
[all …]
/device/google/cuttlefish/guest/hals/camera/fake-pipeline2/
DJpegCompressor.cpp162 mCInfo.dest = &jpegDestMgr; in compress()
267 JpegDestination *dest = static_cast<JpegDestination *>(cinfo->dest); in jpegInitDestination() local
269 dest->parent->mJpegBuffer.img, kMaxJpegSize); in jpegInitDestination()
270 dest->next_output_byte = (JOCTET *)(dest->parent->mJpegBuffer.img); in jpegInitDestination()
271 dest->free_in_buffer = kMaxJpegSize; in jpegInitDestination()
281 cinfo->dest->free_in_buffer); in jpegTermDestination()
/device/google/cuttlefish/common/libs/fs/
Dshared_fd.cpp39 void MarkAll(const SharedFDSet& input, fd_set* dest, int* max_index) { in MarkAll() argument
42 (*it)->Set(dest, max_index); in MarkAll()
140 void FileInstance::Set(fd_set* dest, int* max_index) const { in Set() argument
147 FD_SET(fd_, dest); in Set()
179 struct sockaddr_un* dest, socklen_t* len) { in MakeAddress() argument
180 memset(dest, 0, sizeof(*dest)); in MakeAddress()
181 dest->sun_family = AF_UNIX; in MakeAddress()
188 CHECK_LE(namelen, sizeof(dest->sun_path) - 1) in MakeAddress()
190 dest->sun_path[0] = 0; in MakeAddress()
191 memcpy(dest->sun_path + 1, name, namelen); in MakeAddress()
[all …]
/device/generic/goldfish/camera/jpeg-stub/
DCompressor.cpp77 mCompressInfo.dest = &mDestManager; in configureCompressor()
181 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in initDestination()
191 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in emptyOutputBuffer()
203 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in termDestination()
/device/generic/goldfish/network/wifi_forwarder/
Dlocal_connection.cpp104 const MacAddress& dest) { in transferFrame() argument
114 if (!msg.addAttribute(HWSIM_ATTR_ADDR_RECEIVER, dest.addr, ETH_ALEN) || in transferFrame()
129 frame->setRadioDestination(dest); in transferFrame()
141 const MacAddress& dest) { in cloneFrame() argument
150 return transferFrame(std::move(copy), dest); in cloneFrame()
219 MacAddress dest = frame->radioDestination(); in onTimeout() local
220 transferFrame(std::move(frame), dest); in onTimeout()
Dlocal_connection.h69 bool sendFrameOnNetlink(const Frame& frame, const MacAddress& dest);
/device/generic/goldfish-opengl/
Dcmake_transform.py134 parser.add_argument('-i', '--input', dest='input', type=str, required=True,
137 action='store_const', dest='loglevel',
141 dest='outdir', type=str, default=None,
143 parser.add_argument('-c', '--clean', dest='output', type=str,
/device/google/cuttlefish/host/commands/assemble_cvd/
Dboot_image_unpacker.cc37 auto dest = SharedFD::Open(path.c_str(), O_CREAT | O_RDWR, 0755); in ExtractFile() local
38 if (!dest->IsOpen()) { in ExtractFile()
47 return dest->CopyFrom(*source, size); in ExtractFile()
Dimage_aggregator.cc148 void u16cpy(std::uint16_t* dest, std::uint16_t* src, std::size_t size) { in u16cpy() argument
150 *dest = *src; in u16cpy()
151 dest++; in u16cpy()
156 *dest = 0; in u16cpy()
/device/google/cuttlefish/guest/hals/camera/
DCompressor.cpp78 mCompressInfo.dest = &mDestManager; in configureCompressor()
206 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in initDestination()
216 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in emptyOutputBuffer()
228 auto manager = reinterpret_cast<DestinationManager*>(cinfo->dest); in termDestination()
/device/generic/goldfish/camera/
DEmulatedCameraDevice.cpp174 uint8_t* dest, in getCurrentFrameImpl() argument
177 memcpy(dest, source, mFrameBufferSize); in getCurrentFrameImpl()
186 memcpy(dest, source, ySize); in getCurrentFrameImpl()
190 memcpy(dest + y * mFrameWidth, in getCurrentFrameImpl()
198 memcpy(dest + ySize, source + ySize + uvSize, uvSize); in getCurrentFrameImpl()
199 memcpy(dest + ySize + uvSize, source + ySize, uvSize); in getCurrentFrameImpl()
202 uint8_t* uvDest = dest + mFrameWidth * mFrameHeight; in getCurrentFrameImpl()
DEmulatedCameraDevice.h417 status_t getCurrentFrameImpl(const uint8_t* source, uint8_t* dest,
DEmulatedFakeRotatingCameraDevice.cpp159 static void convert_to_square(uint32_t* src, uint32_t* dest, int sw, int sh, int dw) { in convert_to_square() argument
164 dest[i+j*dw] = color; in convert_to_square()
/device/google/cuttlefish/common/libs/device_config/
Dhost_device_config.cpp131 inline void CopyChars(char* dest, size_t size, const char* src) { in CopyChars() argument
132 auto res = snprintf(dest, size, "%s", src); in CopyChars()
135 << ") config string was truncated: " << dest; in CopyChars()
/device/google/contexthub/firmware/os/cpu/cortexm4/
DatomicBitset.c130 bool atomicBitsetBulkRead(struct AtomicBitset *set, uint32_t *dest, uint32_t numBits) in atomicBitsetBulkRead() argument
138 dest[idx] = atomicRead32bits(&set->words[idx]); in atomicBitsetBulkRead()
/device/google/cuttlefish/common/libs/time/
Dmonotonic_time.h221 void ToTimespec(struct timespec* dest) const { in ToTimespec() argument
222 *dest = ts_; in ToTimespec()
235 virtual void FetchCurrentTime(MonotonicTimePoint* dest) const { in FetchCurrentTime() argument
236 *dest = MonotonicTimePoint::Now(); in FetchCurrentTime()
/device/google/contexthub/firmware/os/inc/
DatomicBitset.h60 bool atomicBitsetBulkRead(struct AtomicBitset *set, uint32_t *dest, uint32_t numBits);
/device/linaro/dragonboard/qcom/qrtr/src/
Dns.c156 struct sockaddr_qrtr *dest, in service_announce_new() argument
172 (struct sockaddr *)dest, sizeof(*dest)); in service_announce_new()
180 struct sockaddr_qrtr *dest, in service_announce_del() argument
196 (struct sockaddr *)dest, sizeof(*dest)); in service_announce_del()
/device/google/coral/json-c/
Djson_tokener.c210 #define PEEK_CHAR(dest, tok) \ argument
217 (((dest) = *str), 1) \
/device/google/crosshatch/json-c/
Djson_tokener.c210 #define PEEK_CHAR(dest, tok) \ argument
217 (((dest) = *str), 1) \

12