Home
last modified time | relevance | path

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

12345678910>>...62

/external/libvpx/libvpx/third_party/libyuv/source/
Dconvert_jpeg.cc38 I420Buffers* dest = (I420Buffers*)(opaque); in JpegCopyI420() local
42 dest->y, dest->y_stride, in JpegCopyI420()
43 dest->u, dest->u_stride, in JpegCopyI420()
44 dest->v, dest->v_stride, in JpegCopyI420()
45 dest->w, rows); in JpegCopyI420()
46 dest->y += rows * dest->y_stride; in JpegCopyI420()
47 dest->u += ((rows + 1) >> 1) * dest->u_stride; in JpegCopyI420()
48 dest->v += ((rows + 1) >> 1) * dest->v_stride; in JpegCopyI420()
49 dest->h -= rows; in JpegCopyI420()
56 I420Buffers* dest = (I420Buffers*)(opaque); in JpegI422ToI420() local
[all …]
/external/valgrind/coregrind/m_demangle/
Ddyn-string.c197 dyn_string_copy (dyn_string_t dest, dyn_string_t src) in dyn_string_copy() argument
199 if (dest == src) in dyn_string_copy()
203 if (dyn_string_resize (dest, src->length) == NULL) in dyn_string_copy()
206 strcpy (dest->s, src->s); in dyn_string_copy()
208 dest->length = src->length; in dyn_string_copy()
217 dyn_string_copy_cstr (dyn_string_t dest, const char *src) in dyn_string_copy_cstr() argument
221 if (dyn_string_resize (dest, length) == NULL) in dyn_string_copy_cstr()
224 strcpy (dest->s, src); in dyn_string_copy_cstr()
226 dest->length = length; in dyn_string_copy_cstr()
236 dyn_string_prepend (dyn_string_t dest, dyn_string_t src) in dyn_string_prepend() argument
[all …]
/external/google-breakpad/src/processor/
Dsimple_serializer-inl.h59 static char *Write(bool boolean, char *dest) { in Write() argument
60 *dest = static_cast<char>(boolean? 255 : 0); in Write()
61 return ++dest; in Write()
76 static char *Write(const string &str, char *dest) { in Write() argument
77 strcpy(dest, str.c_str()); in Write()
78 return dest + SizeOf(str); in Write()
90 static char *Write(const char *cstring, char *dest) { in Write() argument
91 strcpy(dest, cstring); in Write()
92 return dest + SizeOf(cstring); in Write()
107 static char *Write(const Line &line, char *dest) { in Write() argument
[all …]
Dmap_serializers-inl.h71 char *dest) const { in Write() argument
72 if (!dest) { in Write()
76 char *start_address = dest; in Write()
80 dest = SimpleSerializer<uint32_t>::Write(m.size(), dest); in Write()
82 uint32_t *offsets = reinterpret_cast<uint32_t*>(dest); in Write()
83 dest += sizeof(uint32_t) * m.size(); in Write()
85 char *key_address = dest; in Write()
86 dest += sizeof(Key) * m.size(); in Write()
92 offsets[index] = static_cast<uint32_t>(dest - start_address); in Write()
94 dest = value_serializer_.Write(iter->second, dest); in Write()
[all …]
/external/vboot_reference/tests/
Dutility_string_tests.c20 char dest[128]; in StrncatTest() local
23 TEST_EQ(0, StrnAppend(dest, NULL, sizeof(dest)), "StrnAppend('', null)"); in StrncatTest()
24 TEST_EQ(0, StrnAppend(NULL, "Hey!", sizeof(dest)), "StrnAppend(null, '')"); in StrncatTest()
27 *dest = 0; in StrncatTest()
28 TEST_EQ(0, StrnAppend(dest, "", sizeof(dest)), "StrnAppend('', '')"); in StrncatTest()
29 TEST_EQ(0, strcmp(dest, ""), "StrnAppend('', '') result"); in StrncatTest()
32 strcpy(dest, "Bob"); in StrncatTest()
33 TEST_EQ(3, StrnAppend(dest, "", sizeof(dest)), "StrnAppend(B, '')"); in StrncatTest()
34 TEST_EQ(0, strcmp(dest, "Bob"), "StrnAppend(B, '') result"); in StrncatTest()
37 *dest = 0; in StrncatTest()
[all …]
/external/guava/guava/src/com/google/common/net/
DPercentEscaper.java185 char[] dest = new char[3]; in escape() local
186 dest[0] = '%'; in escape()
187 dest[2] = UPPER_HEX_DIGITS[cp & 0xF]; in escape()
188 dest[1] = UPPER_HEX_DIGITS[cp >>> 4]; in escape()
189 return dest; in escape()
193 char[] dest = new char[6]; in escape() local
194 dest[0] = '%'; in escape()
195 dest[3] = '%'; in escape()
196 dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; in escape()
198 dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; in escape()
[all …]
/external/jpeg/
Dwrppm.c93 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_pixel_rows() local
95 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows()
108 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in copy_pixel_rows() local
113 ptr = dest->pub.buffer[0]; in copy_pixel_rows()
114 bufferptr = dest->iobuffer; in copy_pixel_rows()
115 for (col = dest->samples_per_row; col > 0; col--) { in copy_pixel_rows()
118 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in copy_pixel_rows()
131 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_rgb() local
140 ptr = dest->pub.buffer[0]; in put_demapped_rgb()
141 bufferptr = dest->iobuffer; in put_demapped_rgb()
[all …]
Djdatadst.c45 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local
48 dest->buffer = (JOCTET *) in init_destination()
52 dest->pub.next_output_byte = dest->buffer; in init_destination()
53 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination()
83 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local
85 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) != in empty_output_buffer()
89 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer()
90 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer()
108 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in term_destination() local
109 size_t datacount = OUTPUT_BUF_SIZE - dest->pub.free_in_buffer; in term_destination()
[all …]
Dwrtarga.c103 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_pixel_rows() local
108 inptr = dest->pub.buffer[0]; in put_pixel_rows()
109 outptr = dest->iobuffer; in put_pixel_rows()
116 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows()
124 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_gray_rows() local
129 inptr = dest->pub.buffer[0]; in put_gray_rows()
130 outptr = dest->iobuffer; in put_gray_rows()
134 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_gray_rows()
147 tga_dest_ptr dest = (tga_dest_ptr) dinfo; in put_demapped_gray() local
153 inptr = dest->pub.buffer[0]; in put_demapped_gray()
[all …]
Dwrbmp.c61 JPP((j_decompress_ptr cinfo, bmp_dest_ptr dest,
75 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_pixel_rows() local
83 ((j_common_ptr) cinfo, dest->whole_image, in put_pixel_rows()
84 dest->cur_output_row, (JDIMENSION) 1, TRUE); in put_pixel_rows()
85 dest->cur_output_row++; in put_pixel_rows()
90 inptr = dest->pub.buffer[0]; in put_pixel_rows()
100 pad = dest->pad_bytes; in put_pixel_rows()
110 bmp_dest_ptr dest = (bmp_dest_ptr) dinfo; in put_gray_rows() local
118 ((j_common_ptr) cinfo, dest->whole_image, in put_gray_rows()
119 dest->cur_output_row, (JDIMENSION) 1, TRUE); in put_gray_rows()
[all …]
/external/libvpx/libvpx/vp9/common/
Dvp9_idct.c20 void vp9_iht4x4_16_add_c(const tran_low_t *input, uint8_t *dest, int stride, in vp9_iht4x4_16_add_c() argument
47 dest[j * stride + i] = clip_pixel_add(dest[j * stride + i], in vp9_iht4x4_16_add_c()
60 void vp9_iht8x8_64_add_c(const tran_low_t *input, uint8_t *dest, int stride, in vp9_iht8x8_64_add_c() argument
81 dest[j * stride + i] = clip_pixel_add(dest[j * stride + i], in vp9_iht8x8_64_add_c()
94 void vp9_iht16x16_256_add_c(const tran_low_t *input, uint8_t *dest, int stride, in vp9_iht16x16_256_add_c() argument
115 dest[j * stride + i] = clip_pixel_add(dest[j * stride + i], in vp9_iht16x16_256_add_c()
122 void vp9_idct4x4_add(const tran_low_t *input, uint8_t *dest, int stride, in vp9_idct4x4_add() argument
125 vpx_idct4x4_16_add(input, dest, stride); in vp9_idct4x4_add()
127 vpx_idct4x4_1_add(input, dest, stride); in vp9_idct4x4_add()
131 void vp9_iwht4x4_add(const tran_low_t *input, uint8_t *dest, int stride, in vp9_iwht4x4_add() argument
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DArabicShaping.java87 char[] dest, int destStart, int destSize) throws ArabicShapingException { in shape() argument
96 if (dest == null && destSize != 0) { in shape()
100 (destStart < 0 || destSize < 0 || destStart + destSize > dest.length)) { in shape()
103 ") for buffer of length " + dest.length); in shape()
130 return internalShape(source, sourceStart, sourceLength, dest, destStart, destSize); in shape()
160 char[] dest = src; in shape() local
164 dest = new char[src.length * 2]; // max in shape()
166 int len = shape(src, 0, src.length, dest, 0, dest.length); in shape()
168 return new String(dest, 0, len); in shape()
873 private void shapeToArabicDigitsWithContext(char[] dest, in shapeToArabicDigitsWithContext() argument
[all …]
/external/mesa3d/src/mesa/tnl_dd/
Dt_dd_dmatmp2.h60 #define EMIT_TWO_ELTS( dest, offset, elt0, elt1 ) \ argument
62 (dest)[offset] = (elt0); \
63 (dest)[offset+1] = (elt1); \
74 ELT_TYPE *dest, in TAG()
81 EMIT_TWO_ELTS( dest, 0, elts[0], elts[1] ); in TAG()
82 dest += 2; in TAG()
85 EMIT_ELT( dest, 0, elts[0] ); in TAG()
86 dest += 1; in TAG()
89 return dest; in TAG()
93 ELT_TYPE *dest, in TAG()
[all …]
/external/icu/icu4c/source/test/cintltst/
Dcustrtrn.c885 UChar dest[64]; in Test_FromUTF8() local
919 dest[0]=dest[1]=99; in Test_FromUTF8()
921 …destPointer=u_strFromUTF8(dest, UPRV_LENGTHOF(dest), &destLength, (const char *)bytes, 3, &errorCo… in Test_FromUTF8()
922 if(U_FAILURE(errorCode) || destPointer!=dest || destLength!=1 || dest[0]!=0x95c || dest[1]!=0) { in Test_FromUTF8()
984 UChar dest[64]; in Test_FromUTF8Lenient() local
992 dest[0]=0x1234; in Test_FromUTF8Lenient()
995 pDest=u_strFromUTF8Lenient(dest, 1, &destLength, NULL, -1, &errorCode); in Test_FromUTF8Lenient()
996 if(errorCode!=U_ILLEGAL_ARGUMENT_ERROR || dest[0]!=0x1234) { in Test_FromUTF8Lenient()
1000 dest[0]=0x1234; in Test_FromUTF8Lenient()
1008 dest[0]=0x1234; in Test_FromUTF8Lenient()
[all …]
/external/pdfium/fpdfsdk/src/
Dfpdfview_embeddertest.cpp54 FPDF_DEST dest; in TEST_F() local
58 dest = FPDF_GetNamedDest(document(), 0, nullptr, &buffer_size); in TEST_F()
59 EXPECT_NE(nullptr, dest); in TEST_F()
64 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F()
65 EXPECT_NE(nullptr, dest); in TEST_F()
71 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F()
72 EXPECT_NE(nullptr, dest); in TEST_F()
80 dest = FPDF_GetNamedDest(document(), 1, fixed_buffer, &buffer_size); in TEST_F()
81 EXPECT_NE(nullptr, dest); in TEST_F()
90 dest = FPDF_GetNamedDest(document(), 2, fixed_buffer, &buffer_size); in TEST_F()
[all …]
/external/lzma/C/
DBra.c17 UInt32 dest; in ARM_Convert() local
21 dest = ip + (UInt32)i + src; in ARM_Convert()
23 dest = src - (ip + (UInt32)i); in ARM_Convert()
24 dest >>= 2; in ARM_Convert()
25 data[i + 2] = (Byte)(dest >> 16); in ARM_Convert()
26 data[i + 1] = (Byte)(dest >> 8); in ARM_Convert()
27 data[i + 0] = (Byte)dest; in ARM_Convert()
45 UInt32 dest; in ARMT_Convert() local
54 dest = ip + (UInt32)i + src; in ARMT_Convert()
56 dest = src - (ip + (UInt32)i); in ARMT_Convert()
[all …]
/external/icu/icu4c/source/common/
Dushape.cpp463 countSpaces(UChar *dest, int32_t size, uint32_t /*options*/, int32_t *spacesCountl, int32_t *spaces… in countSpaces() argument
466 while((dest[i] == SPACE_CHAR) && (countl < size)) { in countSpaces()
471 while(dest[size-1] == SPACE_CHAR) { in countSpaces()
690 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument
695 if((isTashkeelOnTatweelChar(dest[i]) == 1)){ in handleTashkeelWithTatweel()
696 dest[i] = TATWEEL_CHAR; in handleTashkeelWithTatweel()
697 }else if((isTashkeelOnTatweelChar(dest[i]) == 2)){ in handleTashkeelWithTatweel()
698 dest[i] = SHADDA_TATWEEL_CHAR; in handleTashkeelWithTatweel()
699 }else if(isIsolatedTashkeelChar(dest[i]) && dest[i] != SHADDA_CHAR){ in handleTashkeelWithTatweel()
700 dest[i] = SPACE_CHAR; in handleTashkeelWithTatweel()
[all …]
Dubidiwrt.c63 UChar *dest, int32_t destSize, in doWriteForward() argument
76 *dest++=*src++; in doWriteForward()
92 U16_APPEND_UNSAFE(dest, j, c); in doWriteForward()
115 *dest++=c; in doWriteForward()
146 U16_APPEND_UNSAFE(dest, j, c); in doWriteForward()
156 UChar *dest, int32_t destSize, in doWriteReverse() argument
206 *dest++=src[j++]; in doWriteReverse()
236 *dest++=src[j++]; in doWriteReverse()
297 U16_APPEND_UNSAFE(dest, k, c); in doWriteReverse()
298 dest+=k; in doWriteReverse()
[all …]
Duts46.cpp49 isASCIIString(const UnicodeString &dest) { in isASCIIString() argument
50 const UChar *s=dest.getBuffer(); in isASCIIString()
51 const UChar *limit=s+dest.length(); in isASCIIString()
71 IDNA::labelToASCII_UTF8(const StringPiece &label, ByteSink &dest, in labelToASCII_UTF8() argument
76 info, errorCode).toUTF8(dest); in labelToASCII_UTF8()
81 IDNA::labelToUnicodeUTF8(const StringPiece &label, ByteSink &dest, in labelToUnicodeUTF8() argument
86 info, errorCode).toUTF8(dest); in labelToUnicodeUTF8()
91 IDNA::nameToASCII_UTF8(const StringPiece &name, ByteSink &dest, in nameToASCII_UTF8() argument
96 info, errorCode).toUTF8(dest); in nameToASCII_UTF8()
101 IDNA::nameToUnicodeUTF8(const StringPiece &name, ByteSink &dest, in nameToUnicodeUTF8() argument
[all …]
/external/regex-re2/util/
Dstrutil.cc17 int CEscapeString(const char* src, int src_len, char* dest, in CEscapeString() argument
28 case '\n': dest[used++] = '\\'; dest[used++] = 'n'; break; in CEscapeString()
29 case '\r': dest[used++] = '\\'; dest[used++] = 'r'; break; in CEscapeString()
30 case '\t': dest[used++] = '\\'; dest[used++] = 't'; break; in CEscapeString()
31 case '\"': dest[used++] = '\\'; dest[used++] = '\"'; break; in CEscapeString()
32 case '\'': dest[used++] = '\\'; dest[used++] = '\''; break; in CEscapeString()
33 case '\\': dest[used++] = '\\'; dest[used++] = '\\'; break; in CEscapeString()
41 sprintf(dest + used, "\\%03o", c); in CEscapeString()
44 dest[used++] = c; break; in CEscapeString()
52 dest[used] = '\0'; // doesn't count towards return value though in CEscapeString()
[all …]
/external/nanopb-c/tests/decode_unittests/
Ddecode_unittests.c203 IntegerArray dest; in main() local
206 TEST((s = S(""), pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 0)) in main()
207 TEST((s = S("\x08\x01\x08\x02"), pb_decode(&s, IntegerArray_fields, &dest) in main()
208 && dest.data_count == 2 && dest.data[0] == 1 && dest.data[1] == 2)) in main()
210 … TEST(pb_decode(&s, IntegerArray_fields, &dest) && dest.data_count == 10 && dest.data[9] == 10) in main()
212 TEST(!pb_decode(&s, IntegerArray_fields, &dest)) in main()
217 IntegerArray dest; in main() local
220 TEST((s = S("\x0A\x00"), pb_decode(&s, IntegerArray_fields, &dest) in main()
221 && dest.data_count == 0)) in main()
222 TEST((s = S("\x0A\x01\x01"), pb_decode(&s, IntegerArray_fields, &dest) in main()
[all …]
/external/mesa3d/src/mesa/main/
Dapi_loopback.c1506 struct _glapi_table *dest) in _mesa_loopback_init_api_table() argument
1509 SET_Color3b(dest, loopback_Color3b_f); in _mesa_loopback_init_api_table()
1510 SET_Color3d(dest, loopback_Color3d_f); in _mesa_loopback_init_api_table()
1511 SET_Color3i(dest, loopback_Color3i_f); in _mesa_loopback_init_api_table()
1512 SET_Color3s(dest, loopback_Color3s_f); in _mesa_loopback_init_api_table()
1513 SET_Color3ui(dest, loopback_Color3ui_f); in _mesa_loopback_init_api_table()
1514 SET_Color3us(dest, loopback_Color3us_f); in _mesa_loopback_init_api_table()
1515 SET_Color3ub(dest, loopback_Color3ub_f); in _mesa_loopback_init_api_table()
1516 SET_Color4b(dest, loopback_Color4b_f); in _mesa_loopback_init_api_table()
1517 SET_Color4d(dest, loopback_Color4d_f); in _mesa_loopback_init_api_table()
[all …]
/external/libvncserver/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/
D_bundle11 dest=./t.unix_only
12 rm -rf $dest
13 mkdir -p $dest || exit 1
15 tar cvf - ssvnc/{README,COPYING,ssvnc.desktop} ssvnc/bin ssvnc/Unix | (cd $dest; tar xvf -)
16 rm -f $dest/ssvnc/bin/.linkin
19 (cd $dest; tar czvf ../$tar ssvnc)
21 rm -rf $dest
24 dest=./t.unix_minimal
25 rm -rf $dest
26 mkdir -p $dest || exit 1
[all …]
/external/lzma/CPP/Common/
DUTFConvert.cpp10 static Bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, size_t srcLen) in Utf8_To_Utf16() argument
26 if (dest) in Utf8_To_Utf16()
27 dest[destPos] = (wchar_t)c; in Utf8_To_Utf16()
53 if (dest) in Utf8_To_Utf16()
54 dest[destPos] = (wchar_t)value; in Utf8_To_Utf16()
62 if (dest) in Utf8_To_Utf16()
64 dest[destPos + 0] = (wchar_t)(0xD800 + (value >> 10)); in Utf8_To_Utf16()
65 dest[destPos + 1] = (wchar_t)(0xDC00 + (value & 0x3FF)); in Utf8_To_Utf16()
74 static Bool Utf16_To_Utf8(char *dest, size_t *destLen, const wchar_t *src, size_t srcLen) in Utf16_To_Utf8() argument
89 if (dest) in Utf16_To_Utf8()
[all …]
/external/llvm/test/CodeGen/SystemZ/
Dmemset-03.ll9 define void @f1(i8 *%dest) {
13 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 0, i32 1, i1 false)
18 define void @f2(i8 *%dest) {
22 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 0, i32 1, i1 false)
27 define void @f3(i8 *%dest) {
31 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 1, i32 1, i1 false)
36 define void @f4(i8 *%dest) {
40 call void @llvm.memset.p0i8.i64(i8 *%dest, i8 0, i64 1, i32 1, i1 false)
45 define void @f5(i8 *%dest) {
49 call void @llvm.memset.p0i8.i32(i8 *%dest, i8 0, i32 2, i32 1, i1 false)
[all …]

12345678910>>...62