/system/core/libcutils/ |
H A D | strlcpy.c | 28 * Copy src to string dst of size siz. At most siz-1 characters 33 strlcpy(char *dst, const char *src, size_t siz) argument 35 char *d = dst; 47 /* Not enough room in dst, add NUL and traverse rest of src */ 50 *d = '\0'; /* NUL-terminate dst */
|
/system/bt/osi/src/ |
H A D | compat.c | 64 * Copy src to string dst of size siz. At most siz-1 characters 69 strlcpy(char *dst, const char *src, size_t siz) argument 71 char *d = dst; 83 /* Not enough room in dst, add NUL and traverse rest of src */ 86 *d = '\0'; /* NUL-terminate dst */ 97 * Appends src to string dst of size siz (unlike strncat, siz is the 98 * full size of dst, not space left). At most siz-1 characters 99 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 100 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 104 strlcat(char *dst, cons argument [all...] |
/system/core/libcutils/arch-mips/ |
H A D | android_memset.c | 36 void android_memset16(uint16_t* dst, uint16_t value, size_t size) argument 41 *dst++ = value; 45 if (((uintptr_t)dst & 2) && size) { 47 *dst++ = value; 50 /* dst is now 32-bit-aligned */ 53 android_memset32((uint32_t*) dst, value32, size<<1); 55 dst[size-1] = value; /* fill unpaired last elem */ 63 void android_memset32(uint32_t* dst, uint32_t value, size_t size) argument 68 *dst++ = value; 72 if (((uintptr_t)dst [all...] |
/system/extras/memcpy-perf/ |
H A D | test-funcs.cpp | 3 void __attribute__((noinline)) memcpy_noinline(void *dst, void *src, size_t size) argument 5 memcpy(dst,src,size); 8 void __attribute__((noinline)) memset_noinline(void *dst, int value, size_t size) argument 10 memset(dst, value, size);
|
/system/core/base/ |
H A D | stringprintf.cpp | 26 void StringAppendV(std::string* dst, const char* format, va_list ap) { argument 41 dst->append(space, result); 63 dst->append(buf, result); 77 void StringAppendF(std::string* dst, const char* format, ...) { argument 80 StringAppendV(dst, format, ap);
|
/system/core/libdiskconfig/ |
H A D | diskutils.c | 34 write_raw_image(const char *dst, const char *src, loff_t offset, int test) argument 44 ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, (unsigned long long)offset); 51 if ((dst_fd = open(dst, O_RDWR)) < 0) { 52 ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno); 57 ALOGE("Could not seek to offset %lld in %s.", (long long)offset, dst); 88 ALOGE("Error (%d) while writing to '%s'", errno, dst); 105 ALOGI("Wrote %" PRIu64 " bytes to %s @ %lld", total, dst, (long long)offset);
|
/system/core/libmincrypt/ |
H A D | dsa_sig.c | 35 static inline int trim_to_p256_bytes(unsigned char dst[P256_NBYTES], unsigned char *src, argument 46 memset(dst, 0, dst_offset); 47 memcpy(dst + dst_offset, src, src_len);
|
/system/core/libpixelflinger/ |
H A D | picker.cpp | 54 uint32_t dst = c->state.blend.dst; local 67 if ((dst == GGL_ONE_MINUS_DST_ALPHA) || 68 (dst == GGL_DST_ALPHA)) { 69 dst = GGL_ONE; 78 dst = ggl_blendfactor_to_needs(dst); 83 n |= GGL_BUILD_NEEDS( dst, BLEND_DST ); 89 n |= GGL_BUILD_NEEDS( dst, BLEND_DSTA );
|
H A D | clear.cpp | 55 uint8_t* dst = (uint8_t*)s.data + (l + t*s.stride)*size; local 67 memset(dst, packed, w); 68 dst += stride; 73 android_memset16((uint16_t*)dst, packed, w); 74 dst += stride; 81 android_memset32((uint32_t*)dst, packed, w); 82 dst += stride;
|
H A D | raster.cpp | 108 uint8_t* dst = reinterpret_cast<uint8_t*>(cb->data) local 117 dst += height * bpr; 119 dst -= bpr; 121 memcpy(dst, src, rowsize); 127 memmove(dst, src, rowsize); 128 dst += bpr; 134 memcpy(dst, src, rowsize); 135 dst += bpr;
|
/system/media/audio_utils/ |
H A D | format.c | 24 void memcpy_by_audio_format(void *dst, audio_format_t dst_format, argument 36 memcpy(dst, src, count * audio_bytes_per_sample(dst_format)); 46 memcpy_to_i16_from_float((int16_t*)dst, (float*)src, count); 49 memcpy_to_i16_from_u8((int16_t*)dst, (uint8_t*)src, count); 52 memcpy_to_i16_from_p24((int16_t*)dst, (uint8_t*)src, count); 55 memcpy_to_i16_from_i32((int16_t*)dst, (int32_t*)src, count); 58 memcpy_to_i16_from_q8_23((int16_t*)dst, (int32_t*)src, count); 67 memcpy_to_float_from_i16((float*)dst, (int16_t*)src, count); 70 memcpy_to_float_from_u8((float*)dst, (uint8_t*)src, count); 73 memcpy_to_float_from_p24((float*)dst, (uint8_ [all...] |
/system/vold/tests/ |
H A D | VolumeManager_test.cpp | 39 char* dst = reinterpret_cast<char*>(&buffer); local 46 EXPECT_TRUE(VolumeManager::asecHash(exp1, dst, 0) == NULL && errno == ESPIPE) 48 EXPECT_TRUE(VolumeManager::asecHash((const char*)NULL, dst, sizeof(buffer)) == NULL && errno == ESPIPE) 51 EXPECT_FALSE(VolumeManager::asecHash(src1, dst, sizeof(buffer)) == NULL) 53 EXPECT_STREQ(exp1, dst) 58 EXPECT_FALSE(VolumeManager::asecHash(src2, dst, sizeof(buffer)) == NULL) 60 EXPECT_STREQ(exp2, dst)
|
/system/core/libcutils/arch-arm64/ |
H A D | android_memset.S | 41 #define dst x0 define 88 add dst, dst, tmp1 92 stp A_l, A_l, [dst, #-48] 94 stp A_l, A_l, [dst, #-32] 96 stp A_l, A_l, [dst, #-16] 100 add dst, dst, count 101 stp A_l, A_l, [dst, #-16] /* Repeat some/all of last store. */ 108 str A_l, [dst], # [all...] |
/system/bt/bta/pan/ |
H A D | bta_pan_ci.c | 124 void bta_pan_ci_rx_write(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, argument 133 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->dst, dst); 161 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR dst, BD_ADDR src, UINT16 protocol, argument 167 bdcpy(((tBTA_PAN_DATA_PARAMS *)p_buf)->dst, dst); 189 BT_HDR * bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16* p_protocol, argument 201 bdcpy(dst,((tBTA_PAN_DATA_PARAMS *)p_buf)->dst); 264 void bta_pan_ci_rx_writebuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT1 argument 274 bta_pan_ci_readbuf(UINT16 handle, BD_ADDR src, BD_ADDR dst, UINT16 *p_protocol, BOOLEAN* p_ext, BOOLEAN* p_forward) argument [all...] |
/system/connectivity/shill/ |
H A D | routing_table_entry.h | 34 : dst(IPAddress::kFamilyUnknown), 49 : dst(dst_in), 65 : dst(dst_in), 82 : dst(dst_in), 92 : dst(b.dst), 102 dst = b.dst; 117 return (dst.Equals(b.dst) 127 IPAddress dst; member in struct:shill::RoutingTableEntry [all...] |
/system/update_engine/payload_generator/ |
H A D | graph_utils.cc | 51 Vertex::Index dst, 53 Vertex::EdgeMap::iterator edge_it = src->out_edges.find(dst); 57 src->out_edges.insert(make_pair(dst, EdgeProperties())); 65 Vertex::Index dst, 74 AddReadBeforeDep(src, dst, block); 50 AddReadBeforeDep(Vertex* src, Vertex::Index dst, uint64_t block) argument 64 AddReadBeforeDepExtents(Vertex* src, Vertex::Index dst, const vector<Extent>& extents) argument
|
/system/bt/btif/co/ |
H A D | bta_pan_co.c | 163 BD_ADDR dst; local 186 if ((p_buf = bta_pan_ci_readbuf(handle, src, dst, &protocol, 202 btpan_tap_send(btpan_cb.tap_fd, src, dst, protocol, 243 void bta_pan_co_tx_write(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, argument 250 UNUSED(dst); 274 BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, 280 UNUSED(dst); 273 bta_pan_co_tx_writebuf(UINT16 handle, UINT8 app_id, BD_ADDR src, BD_ADDR dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext, BOOLEAN forward) argument
|
/system/bt/stack/pan/ |
H A D | pan_main.c | 182 PAN_TRACE_EVENT ("pan_conn_ind_cb - for handle %d, current role %d, dst uuid 0x%x, src uuid 0x%x, role change %s", 423 ** dst - destination BD Addr 435 UINT8 *dst, 472 if (dst[0] & 0x01) 482 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext); 487 (*pan_cb.pan_data_ind_cb) (pcb->handle, src, dst, protocol, p_data, len, ext, TRUE); 498 if (memcmp (pan_cb.pcb[i].rem_bda, dst, BD_ADDR_LEN) == 0) 500 BNEP_Write (pan_cb.pcb[i].handle, dst, p_data, len, protocol, src, ext); 513 (*pan_cb.pan_data_ind_cb) (pcb->handle, src, dst, protocol, p_data, len, ext, forward); 529 ** dst 433 pan_data_ind_cb(UINT16 handle, UINT8 *src, UINT8 *dst, UINT16 protocol, UINT8 *p_data, UINT16 len, BOOLEAN ext) argument 538 pan_data_buf_ind_cb(UINT16 handle, UINT8 *src, UINT8 *dst, UINT16 protocol, BT_HDR *p_buf, BOOLEAN ext) argument [all...] |
/system/core/libpixelflinger/codeflinger/ |
H A D | load_store.cpp | 178 void GGLAssembler::expand(integer_t& dst, const integer_t& src, int dbits) argument 184 int d = dst.reg; 186 // be sure to set 'dst' after we read 'src' as they may be identical 187 dst.s = dbits; 188 dst.flags = 0;
|
/system/core/libpixelflinger/tests/arch-arm64/col32cb16blend/ |
H A D | col32cb16blend_test.c | 63 void scanline_col32cb16blend_arm64(uint16_t *dst, int32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, int32_t src, size_t count) argument 70 uint16_t d = *dst; 80 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB);
|
/system/core/libpixelflinger/tests/arch-arm64/t32cb16blend/ |
H A D | t32cb16blend_test.c | 65 void scanline_t32cb16blend_c(uint16_t * dst, uint32_t* src, size_t count) argument 69 uint16_t d = *dst; 87 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB);
|
/system/core/libpixelflinger/tests/arch-mips/col32cb16blend/ |
H A D | col32cb16blend_test.c | 63 void scanline_col32cb16blend_mips(uint16_t *dst, uint32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, uint32_t src, size_t count) argument 71 uint16_t d = *dst; 81 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB);
|
/system/core/libpixelflinger/tests/arch-mips/t32cb16blend/ |
H A D | t32cb16blend_test.c | 65 void scanline_t32cb16blend_c(uint16_t * dst, uint32_t* src, size_t count) argument 69 uint16_t d = *dst; 87 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB);
|
/system/core/libpixelflinger/tests/arch-mips64/col32cb16blend/ |
H A D | col32cb16blend_test.c | 63 void scanline_col32cb16blend_mips64(uint16_t *dst, uint32_t src, size_t count); 64 void scanline_col32cb16blend_c(uint16_t * dst, uint32_t src, size_t count) argument 71 uint16_t d = *dst; 81 *dst++ = (uint16_t)((srcR<<11)|(srcG<<5)|srcB);
|
/system/media/camera/src/ |
H A D | camera_metadata_tag_info.c | 708 char *dst, 2603 strncpy(dst, msg, size - 1); 2604 dst[size - 1] = '\0'; 706 camera_metadata_enum_snprint(uint32_t tag, uint32_t value, char *dst, size_t size) argument
|