Searched refs:src (Results 1 - 25 of 45) sorted by relevance

12

/system/core/libsysutils/
H A DAndroid.mk8 src/SocketListener.cpp \
9 src/FrameworkListener.cpp \
10 src/NetlinkListener.cpp \
11 src/NetlinkEvent.cpp \
12 src/FrameworkCommand.cpp \
13 src/SocketClient.cpp \
14 src/ServiceManager.cpp \
/system/media/audio_utils/
H A Dprimitives.c33 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count) argument
36 src += count;
38 *--dst = (int16_t)(*--src - 0x80) << 8;
42 void downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count) argument
45 *dst++ = (int16_t)(((int32_t)src[0] + (int32_t)src[1]) >> 1);
46 src += 2;
50 void upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count) argument
53 int32_t temp = *src++;
/system/extras/tests/bionic/libc/other/
H A Dtest_jpeg.c59 SourceMgr src = (SourceMgr) cinfo->src; local
61 src->jpeg_mgr.next_input_byte = (unsigned char*)src->base,
62 src->jpeg_mgr.bytes_in_buffer = src->end - src->base;
68 SourceMgr src = (SourceMgr) cinfo->src; local
77 SourceMgr src local
90 SourceMgr src = (SourceMgr) cinfo->src; local
104 _source_init( SourceMgr src, char* base, long size ) argument
[all...]
/system/core/libcutils/
H A Dmemory.c62 * Copy src to string dst of size siz. At most siz-1 characters
64 * Returns strlen(src); if retval >= siz, truncation occurred.
67 strlcpy(char *dst, const char *src, size_t siz) argument
70 const char *s = src;
81 /* Not enough room in dst, add NUL and traverse rest of src */
89 return(s - src - 1); /* count does not include NUL */
/system/core/libdiskconfig/
H A Ddiskutils.c33 write_raw_image(const char *dst, const char *src, loff_t offset, int test) argument
43 ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, offset);
44 if ((src_fd = open(src, O_RDONLY)) < 0) {
45 ALOGE("Could not open %s for reading (errno=%d).", src, errno);
66 ALOGE("Error (%d) while reading from '%s'", errno, src);
/system/media/camera/src/
H A Dcamera_metadata.c212 const camera_metadata_t *src) {
213 size_t memory_needed = get_camera_metadata_compact_size(src);
220 ptrdiff_t reserved_size = src->size -
221 calculate_camera_metadata_size(src->entry_capacity,
222 src->data_capacity);
226 metadata->flags = src->flags;
227 metadata->entry_count = src->entry_count;
228 metadata->entry_capacity = src->entry_count;
231 metadata->data_count = src->data_count;
232 metadata->data_capacity = src
211 copy_camera_metadata(void *dst, size_t dst_size, const camera_metadata_t *src) argument
248 append_camera_metadata(camera_metadata_t *dst, const camera_metadata_t *src) argument
285 clone_camera_metadata(const camera_metadata_t *src) argument
378 get_camera_metadata_entry(camera_metadata_t *src, size_t index, camera_metadata_entry_t *entry) argument
399 find_camera_metadata_entry(camera_metadata_t *src, uint32_t tag, camera_metadata_entry_t *entry) argument
431 find_camera_metadata_ro_entry(const camera_metadata_t *src, uint32_t tag, camera_metadata_ro_entry_t *entry) argument
[all...]
/system/core/include/cutils/
H A Dmemory.h35 size_t strlcpy(char *dst, const char *src, size_t size);
/system/core/init/
H A Dinit_parser.h34 int expand_props(char *dst, const char *src, int len);
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Drfcomm.h59 bdaddr_t src; member in struct:rfcomm_dev_req
74 bdaddr_t src; member in struct:rfcomm_dev_info
/system/extras/bugmailer/
H A DAndroid.mk8 LOCAL_SRC_FILES := $(call all-java-files-under, src)
/system/core/libpixelflinger/arch-mips/
H A Dt32cb16blend.S26 * with the 32bpp ABGR pixel held in src and store the result in fb
36 .macro pixel dreg src fb shift
45 srl $t7,\src,24
55 ext $t8,\src,3,5 # src[7..3]
63 ext $t6,\src,2+8,6 # src[15..10]
70 ext $t6,\src,(3+8+8),5
87 .macro pixel dreg src fb shift
98 srl $t7,\src,2
[all...]
/system/core/sh/
H A Dmkinit.sh48 for src in $srcs; do
49 exec <$src
102 ev="${nl} /* from $src: */${nl} {${nl}"
/system/media/camera/include/system/
H A Dcamera_metadata.h253 const camera_metadata_t *src);
256 * Append camera metadata in src to an existing metadata structure in dst. This
262 int append_camera_metadata(camera_metadata_t *dst, const camera_metadata_t *src);
271 camera_metadata_t *clone_camera_metadata(const camera_metadata_t *src);
310 * src and index are inputs; the passed-in entry is updated with the details of
315 int get_camera_metadata_entry(camera_metadata_t *src,
328 int find_camera_metadata_entry(camera_metadata_t *src,
336 int find_camera_metadata_ro_entry(const camera_metadata_t *src,
/system/core/libpixelflinger/
H A Dbuffer.h28 void ggl_set_surface(context_t* c, surface_t* dst, const GGLSurface* src);
H A Dpicker.cpp53 uint32_t src = c->state.blend.src; local
59 if ((src == GGL_ONE_MINUS_DST_ALPHA) ||
60 (src == GGL_DST_ALPHA)) {
61 src = GGL_ONE;
77 src = ggl_blendfactor_to_needs(src);
82 n |= GGL_BUILD_NEEDS( src, BLEND_SRC );
88 n |= GGL_BUILD_NEEDS( src, BLEND_SRCA );
H A Draster.cpp106 uint8_t* src = reinterpret_cast<uint8_t*>(cb->data) local
116 src += height * bpr;
120 src -= bpr;
121 memcpy(dst, src, rowsize);
127 memmove(dst, src, rowsize);
129 src += bpr;
134 memcpy(dst, src, rowsize);
136 src += bpr;
/system/core/libnl_2/
H A Dattr.c231 int nla_memcpy(void *dest, struct nlattr *src, int count) argument
233 if (!src || !dest)
235 if (count > nla_len(src))
236 count = nla_len(src);
237 memcpy(dest, nla_data(src), count);
/system/media/audio_utils/include/audio_utils/
H A Dprimitives.h40 * src Source buffer
45 void memcpy_to_i16_from_u8(int16_t *dst, const uint8_t *src, size_t count);
50 * src Source buffer
55 void downmix_to_mono_i16_from_stereo_i16(int16_t *dst, const int16_t *src, size_t count);
61 * src Source buffer
65 void upmix_to_stereo_i16_from_mono_i16(int16_t *dst, const int16_t *src, size_t count);
/system/extras/tests/memtest/
H A Dmemtest.cpp149 char* src = (char*)malloc(MAX_SIZE+4+8+32); local
151 memset(src, 0, MAX_SIZE+4+8+32);
163 result_t* results = (result_t*)src;
189 char* sss = (char*)((long(src+31)&~31) + 28);
192 memcpy(dst, src, size); // just make sure to load the caches I/D
213 char* curr = (char*)src;
218 char* s = src + 1024;
234 free(src);
415 char* src = (char*)malloc(MAX_SIZE+4+8+32); local
427 result_t* results = (result_t*)src;
[all...]
/system/core/liblog/
H A Dlogprint.c412 static inline uint32_t get4LE(const uint8_t* src) argument
414 return src[0] | (src[1] << 8) | (src[2] << 16) | (src[3] << 24);
420 static inline uint64_t get8LE(const uint8_t* src) argument
424 low = src[0] | (src[1] << 8) | (src[2] << 16) | (src[
[all...]
/system/core/toolbox/cp/
H A Dcp.c111 char *target, **src; local
294 * make "cp -rp src/ dst" behave like "cp -rp src dst" not
295 * like "cp -rp src/. dst"
297 for (src = argv; *src; src++) {
298 size_t len = strlen(*src);
299 while (len-- > 1 && (*src)[len] == '/')
300 (*src)[le
[all...]
/system/core/run-as/
H A Dpackage.c47 /* Copy 'srclen' string bytes from 'src' into buffer 'dst' of size 'dstlen'
52 string_copy(char* dst, size_t dstlen, const char* src, size_t srclen) argument
54 const char* srcend = src + srclen;
62 while (dst < dstend && src < srcend && *src != '\0')
63 *dst++ = *src++;
/system/extras/tests/framebuffer/
H A Dmdp_test.c215 fprintf(stderr, "Can't parse src image size\n");
218 printf("Got src img sz: w=%d h=%d\n", src_imgw, src_imgh);
295 req->src.width = src_imgw;
296 req->src.height = src_imgh;
297 req->src.format = src_fmt;
298 req->src.offset = 0;
299 req->src.memory_id = src_fd;
/system/vold/
H A DVolume.h101 int doMoveMount(const char *src, const char *dst, bool force);
H A DVolume.cpp530 int Volume::doMoveMount(const char *src, const char *dst, bool force) { argument
535 if (!mount(src, dst, "", flags, NULL)) {
537 SLOGD("Moved mount %s -> %s sucessfully", src, dst);
541 SLOGE("Failed to move mount %s -> %s (%s)", src, dst, strerror(errno));
554 src, dst, strerror(errno), retries, action);
555 Process::killProcessesWithOpenFiles(src, action);
560 SLOGE("Giving up on move %s -> %s (%s)", src, dst, strerror(errno));

Completed in 182 milliseconds

12