Home
last modified time | relevance | path

Searched refs:src (Results 1 – 25 of 140) sorted by relevance

123456

/device/google/contexthub/firmware/external/
DAndroid.mk26 freebsd/lib/msun/src/e_atan2f.c \
27 freebsd/lib/msun/src/e_expf.c \
28 freebsd/lib/msun/src/s_atanf.c \
35 $(LOCAL_PATH)/freebsd/lib/msun/src \
37 $(NANOHUB_OS_PATH)/src/platform/$(AUX_ARCH)/inc \
38 $(NANOHUB_OS_PATH)/src/platform/$(AUX_ARCH)/inc/plat/cmsis \
39 $(NANOHUB_OS_PATH)/src/cpu/$(AUX_CPU)/inc \
53 freebsd/lib/msun/src/e_atan2f.c \
54 freebsd/lib/msun/src/e_expf.c \
55 freebsd/lib/msun/src/s_atanf.c \
[all …]
/device/google/contexthub/firmware/lib/libc/
Dbcopy.c71 const char *src = src0; in memcpy() local
74 if (length == 0 || dst == src) /* nothing to do */ in memcpy()
83 if ((unsigned long)dst < (unsigned long)src) { in memcpy()
87 t = (uintptr_t)src; /* only need low bits */ 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()
113 src += length; in memcpy()
115 t = (uintptr_t)src; in memcpy()
122 TLOOP1(*--dst = *--src); in memcpy()
[all …]
Dstrncpy.c42 strncpy(char *dst, const char *src, size_t n) in strncpy() argument
46 const char *s = src; in strncpy()
/device/linaro/dragonboard/qcom/qrtr/
DAndroid.bp11 local_include_dirs: ["src"],
19 "src/addr.c",
20 "src/ns.c",
21 "src/map.c",
22 "src/hash.c",
23 "src/waiter.c",
24 "src/util.c",
34 "src/addr.c",
35 "src/cfg.c",
45 "src/lookup.c",
[all …]
DMakefile22 src/addr.c \
23 src/cfg.c \
29 src/addr.c \
30 src/ns.c \
31 src/map.c \
32 src/hash.c \
33 src/waiter.c \
34 src/util.c \
40 src/lookup.c \
41 src/util.c \
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dcpu_composer.cpp61 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
160 auto& src_buffer_ycbcr_opt = src.buffer_ycbcr; in ConvertFromYV12()
181 src_y += src.crop_y * stride_y + src.crop_x; in ConvertFromYV12()
182 src_v += (src.crop_y / 2) * stride_v + (src.crop_x / 2); in ConvertFromYV12()
183 src_u += (src.crop_y / 2) * stride_u + (src.crop_x / 2); in ConvertFromYV12()
197 int DoConversion(const BufferSpec& src, const BufferSpec& dst, bool v_flip) { in DoConversion() argument
198 return (*GetConverterForDrmFormat(src.drm_format))(src, dst, v_flip); in DoConversion()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/ipc/xt-shmem/hikey/
Ddsp_comm.c28 unsigned char *src = (unsigned char*)s; in dsp_memcpy() local
32 } else if (src > dest) { in dsp_memcpy()
34 *dest = *src; in dsp_memcpy()
35 src++; in dsp_memcpy()
38 src = src + (size - 1); in dsp_memcpy()
40 *dest = *src; in dsp_memcpy()
41 src--; in dsp_memcpy()
/device/google/cuttlefish_vmm/x86_64-linux-gnu/
DAndroid.bp19 src: "etc/seccomp/9p_device.policy",
25 src: "etc/seccomp/balloon_device.policy",
31 src: "etc/seccomp/block_device.policy",
37 src: "etc/seccomp/common_device.policy",
43 src: "etc/seccomp/cras_audio_device.policy",
49 src: "etc/seccomp/fs_device.policy",
55 src: "etc/seccomp/gpu_device.policy",
61 src: "etc/seccomp/input_device.policy",
67 src: "etc/seccomp/net_device.policy",
73 src: "etc/seccomp/null_audio_device.policy",
[all …]
/device/google/cuttlefish_vmm/aarch64-linux-gnu/
DAndroid.bp19 src: "etc/seccomp/9p_device.policy",
25 src: "etc/seccomp/balloon_device.policy",
31 src: "etc/seccomp/block_device.policy",
37 src: "etc/seccomp/common_device.policy",
43 src: "etc/seccomp/cras_audio_device.policy",
49 src: "etc/seccomp/fs_device.policy",
55 src: "etc/seccomp/gpu_device.policy",
61 src: "etc/seccomp/input_device.policy",
67 src: "etc/seccomp/net_device.policy",
73 src: "etc/seccomp/null_audio_device.policy",
[all …]
/device/google/contexthub/firmware/app/chre/common/
Dchre10_app.c54 static void processTripleAxisData(const struct TripleAxisDataEvent *src, uint32_t sensorHandle, uin… in processTripleAxisData() argument
59 initDataHeader(&three.header, src->referenceTime, sensorHandle); in processTripleAxisData()
62 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processTripleAxisData()
64 three.header.baseTimestamp += src->samples[i].deltaTime; in processTripleAxisData()
65 three.readings[0].x = src->samples[i].x; in processTripleAxisData()
66 three.readings[0].y = src->samples[i].y; in processTripleAxisData()
67 three.readings[0].z = src->samples[i].z; in processTripleAxisData()
73 static void processSingleAxisData(const struct SingleAxisDataEvent *src, uint32_t sensorHandle, uin… in processSingleAxisData() argument
82 initDataHeader(&occ.header, src->referenceTime, sensorHandle); in processSingleAxisData()
85 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processSingleAxisData()
[all …]
Dchre_app.c54 static void processTripleAxisData(const struct TripleAxisDataEvent *src, uint32_t sensorHandle, uin… in processTripleAxisData() argument
59 initDataHeader(&three.header, src->referenceTime, sensorHandle); in processTripleAxisData()
62 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processTripleAxisData()
64 three.header.baseTimestamp += src->samples[i].deltaTime; in processTripleAxisData()
65 three.readings[0].x = src->samples[i].x; in processTripleAxisData()
66 three.readings[0].y = src->samples[i].y; in processTripleAxisData()
67 three.readings[0].z = src->samples[i].z; in processTripleAxisData()
73 static void processSingleAxisData(const struct SingleAxisDataEvent *src, uint32_t sensorHandle, uin… in processSingleAxisData() argument
82 initDataHeader(&occ.header, src->referenceTime, sensorHandle); in processSingleAxisData()
85 for (i=0; i<src->samples[0].firstSample.numSamples; i++) { in processSingleAxisData()
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-core.c97 u32 src = XF_MSG_SRC(m->id); in xf_proxy_register() local
123 m->id = __XF_MSG_ID(src, component->id); in xf_proxy_register()
171 u32 src = cmd->src;
177 XF_CHK_ERR(XF_MSG_SRC_CORE(src) == core, -EINVAL);
180 if ((component = xf_client_lookup(XF_CORE_DATA(core), XF_PORT_CLIENT(src))) == NULL)
182 TRACE(ERROR, _x("Source port lookup failed: %x"), src);
185 else if (!component->port || !(port = component->port(component, XF_PORT_ID(src))))
187 TRACE(ERROR, _b("Source port doesn't exist: %x"), src);
192 TRACE(ERROR, _b("Source port is already routed: %x"), src);
197 …XF_CHK_API(xf_output_port_route(port, __XF_MSG_ID(dst, src), cmd->alloc_number, cmd->alloc_size, c…
[all …]
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
DglUtils.h65 void glUtilsWritePackPointerData(void* stream, unsigned char *src,
120 template <class T> void shiftIndices(const T *src, T *dst, int count, int offset) in shiftIndices() argument
123 *dst = *src + offset; in shiftIndices()
125 src++; 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()
151 if (*src == whatExclude) { in shiftIndicesExcept()
152 *dst = *src; in shiftIndicesExcept()
154 *dst = *src + offset; in shiftIndicesExcept()
157 src++; in shiftIndicesExcept()
/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
98 uint16_t *rgb_ptr0 = (uint16_t *)src; in rgb565_to_yv12()
129 void rgb888_to_yv12(char* dest, char* src, int width, int height, in rgb888_to_yv12() argument
140 uint8_t *rgb_ptr0 = (uint8_t *)src; in rgb888_to_yv12()
197 void rgb888_to_yuv420p(char* dest, char* src, int width, int height, in rgb888_to_yuv420p() argument
206 uint8_t *rgb_ptr0 = (uint8_t *)src; in rgb888_to_yuv420p()
234 void yv12_to_rgb565(char* dest, char* src, int width, int height, in yv12_to_rgb565() argument
245 uint8_t *yv12_y0 = (uint8_t *)src; in yv12_to_rgb565()
279 void yv12_to_rgb888(char* dest, char* src, int width, int height, in yv12_to_rgb888() argument
290 uint8_t *yv12_y0 = (uint8_t *)src; in yv12_to_rgb888()
[all …]
/device/linaro/poplar/wifi/wpa_supplicant_8_lib/
DAndroid.mk29 WPA_SUPPL_DIR_INCLUDE = $(WPA_SUPPL_DIR)/src \
30 $(WPA_SUPPL_DIR)/src/common \
31 $(WPA_SUPPL_DIR)/src/drivers \
32 $(WPA_SUPPL_DIR)/src/l2_packet \
33 $(WPA_SUPPL_DIR)/src/utils \
34 $(WPA_SUPPL_DIR)/src/wps \
/device/generic/goldfish/wifi/wpa_supplicant_8_lib/
DAndroid.mk37 WPA_SUPPL_DIR_INCLUDE = $(WPA_SUPPL_DIR)/src \
38 $(WPA_SUPPL_DIR)/src/common \
39 $(WPA_SUPPL_DIR)/src/drivers \
40 $(WPA_SUPPL_DIR)/src/l2_packet \
41 $(WPA_SUPPL_DIR)/src/utils \
42 $(WPA_SUPPL_DIR)/src/wps \
/device/google/contexthub/lib/nanohub/
Daes.c204 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesEncr() argument
210 x0 = *src++ ^ *k++; in aesEncr()
211 x1 = *src++ ^ *k++; in aesEncr()
212 x2 = *src++ ^ *k++; in aesEncr()
213 x3 = *src++ ^ *k++; in aesEncr()
274 void aesDecr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) in aesDecr() argument
280 x0 = *src++ ^ *k++; in aesDecr()
281 x1 = *src++ ^ *k++; in aesDecr()
282 x2 = *src++ ^ *k++; in aesDecr()
283 x3 = *src++ ^ *k++; in aesDecr()
[all …]
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
DAndroid.bp58 src: "assets/index.html",
65 src: "assets/style.css",
72 src: "assets/js/logcat.js",
79 src: "assets/js/cf_webrtc.js",
86 src: "assets/js/app.js",
93 src: "certs/server.crt",
100 src: "certs/server.key",
107 src: "certs/server.p12",
114 src: "certs/trusted.pem",
/device/google/contexthub/firmware/os/inc/
Dbl.h54 …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/
Daes.h37 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/variant/neonkey/
DAndroid.mk26 src/os/i2c.c \
27 src/os/spi.c \
28 src/os/led.c
/device/google/contexthub/firmware/variant/argonkey/
DAndroid.mk26 src/os/i2c.c \
27 src/os/led.c \
28 src/os/spi.c \
/device/google/cuttlefish/tools/play_audio/
Dclient_socket.cpp31 std::uint16_t HostOrderUInt16(const void* src) { in HostOrderUInt16() argument
33 std::memcpy(&result, src, sizeof result); in HostOrderUInt16()
37 std::uint32_t HostOrderUInt32(const void* src) { in HostOrderUInt32() argument
39 std::memcpy(&result, src, sizeof result); in HostOrderUInt32()
/device/google/contexthub/firmware/os/cpu/cortexm4/
Dcortexm4.mk59 external/freebsd/lib/msun/src/e_atan2f.c \
60 external/freebsd/lib/msun/src/e_expf.c \
61 external/freebsd/lib/msun/src/s_atanf.c \
63 FLAGS += -DFLT_EVAL_METHOD -Iexternal/freebsd/lib/msun/src

123456