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

12

/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/core/adb/
H A Dadb.c411 * was malloc'ed and needs to freed. *dst will be set to a dup of src.
413 static void qual_overwrite(char **dst, const char *src) argument
421 if (!src || !*src)
424 *dst = strdup(src);
H A Dfile_sync_client.c562 const char *src; member in struct:copyinfo
591 ci->src = (const char*)(ci + 1);
592 ci->dst = ci->src + ssize;
593 snprintf((char*) ci->src, ssize, isdir ? "%s%s/" : "%s%s", spath, name);
596 // fprintf(stderr,"mkcopyinfo('%s','%s')\n", ci->src, ci->dst);
643 if(lstat(ci->src, &st)) {
644 fprintf(stderr,"cannot stat '%s': %s\n", ci->src, strerror(errno));
650 fprintf(stderr, "skipping special file '%s'\n", ci->src);
666 local_build_list(filelist, ci->src, ci->dst);
722 fprintf(stderr,"%spush: %s -> %s\n", listonly ? "would " : "", ci->src, c
[all...]
H A Dsysdeps_win32.c916 bip_buffer_write( BipBuffer bip, const void* src, int len ) argument
924 BIPDUMP( src, len );
958 memcpy( bip->buff + bip->a_end, src, avail );
959 src += avail;
980 memcpy( bip->buff + bip->b_end, src, avail );
/system/core/include/cutils/
H A Dmemory.h35 size_t strlcpy(char *dst, const char *src, size_t size);
/system/core/include/diskconfig/
H A Ddiskconfig.h120 int write_raw_image(const char *dst, const char *src, loff_t offset, int test);
/system/core/include/pixelflinger/
H A Dpixelflinger.h246 void (*blendFunc)(void* c, GGLenum src, GGLenum dst);
247 void (*blendFuncSeparate)(void* c, GGLenum src, GGLenum dst,
/system/core/include/private/pixelflinger/
H A Dggl_context.h278 uint32_t src; member in struct:android::blend_state_t
/system/core/include/sysutils/
H A DList.h167 List(const List<T>& src) { // copy-constructor argument
169 insert(begin(), src.begin(), src.end());
/system/core/init/
H A Dbootchart.c94 file_buff_write( FileBuff buff, const void* src, int len ) argument
101 memcpy( buff->data + buff->count, src, avail );
103 src = (char*)src + avail;
H A Dinit_parser.c185 int expand_props(char *dst, const char *src, int dst_size) argument
189 const char *src_ptr = src;
195 if (!src || !dst || dst_size == 0)
198 src_len = strlen(src);
243 src);
246 src);
255 ERROR("prop name too long in '%s'\n", src);
264 ERROR("invalid zero-length prop name in '%s'\n", src);
271 prop, src);
286 ERROR("destination buffer overflow while expanding '%s'\n", src);
[all...]
H A Dinit_parser.h34 int expand_props(char *dst, const char *src, int len);
/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/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/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/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/libpixelflinger/
H A Dbuffer.cpp58 void ggl_set_surface(context_t* c, surface_t* dst, const GGLSurface* src) argument
60 dst->width = src->width;
61 dst->height = src->height;
62 dst->stride = src->stride;
63 dst->data = src->data;
64 dst->format = src->format;
324 int sh, int sl, // src
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 Dpixelflinger.cpp302 static void ggl_blendFunc(void* con, GGLenum src, GGLenum dst) argument
305 c->state.blend.src = src;
306 c->state.blend.src_alpha = src;
316 GGLenum src, GGLenum dst,
320 c->state.blend.src = src;
794 c->state.blend.src = GGL_ONE;
315 ggl_blendFuncSeparate(void* con, GGLenum src, GGLenum dst, GGLenum srcAlpha, GGLenum dstAplha) argument
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.h375 void store(const pointer_t& addr, const pixel_t& src, uint32_t flags=0);
397 const integer_t& src);
H A DMIPSAssembler.cpp420 int src; // src is modified by dataProcAdrModes() - passed as int& local
434 if (dataProcAdrModes(Op2, src) == SRC_REG) {
435 mMips->AND(Rd, Rn, src);
437 mMips->ANDI(Rd, Rn, src);
443 if (dataProcAdrModes(Op2, src, true) == SRC_REG) {
444 mMips->ADDU(Rd, Rn, src);
446 mMips->ADDIU(Rd, Rn, src);
452 if (dataProcAdrModes(Op2, src, true) == SRC_REG) {
453 mMips->SUBU(Rd, Rn, src);
[all...]
H A Dblending.cpp86 // fragment: extracted src
272 // src-alpha in fragment, and we need src-alpha just this time.
274 // alpha-src will be needed for other components
636 const integer_t& dst, const integer_t& src)
639 const int shift = src.size() - dst.size();
641 ADD(AL, 0, d.reg, src.reg, dst.reg);
643 ADD(AL, 0, d.reg, src.reg, reg_imm(dst.reg, LSL, shift));
646 d.h = src.size();
H A Dload_store.cpp197 void GGLAssembler::expand(integer_t& dst, const integer_t& src, int dbits) argument
199 assert(src.size());
201 int sbits = src.size();
202 int s = src.reg;
205 // be sure to set 'dst' after we read 'src' as they may be identical

Completed in 192 milliseconds

12