/external/libjpeg-turbo/ |
D | jdatadst.c | 70 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local 73 dest->buffer = (JOCTET *) in init_destination() 77 dest->pub.next_output_byte = dest->buffer; in init_destination() 78 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination() 116 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local 118 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) != in empty_output_buffer() 122 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer() 123 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer() 134 my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest; in empty_mem_output_buffer() local 137 nextsize = dest->bufsize * 2; in empty_mem_output_buffer() [all …]
|
D | jdatadst-tj.c | 90 my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest; in empty_mem_output_buffer() local 92 if (!dest->alloc) ERREXIT(cinfo, JERR_BUFFER_SIZE); in empty_mem_output_buffer() 95 nextsize = dest->bufsize * 2; in empty_mem_output_buffer() 101 MEMCOPY(nextbuffer, dest->buffer, dest->bufsize); in empty_mem_output_buffer() 103 if (dest->newbuffer != NULL) in empty_mem_output_buffer() 104 free(dest->newbuffer); in empty_mem_output_buffer() 106 dest->newbuffer = nextbuffer; in empty_mem_output_buffer() 108 dest->pub.next_output_byte = nextbuffer + dest->bufsize; in empty_mem_output_buffer() 109 dest->pub.free_in_buffer = dest->bufsize; in empty_mem_output_buffer() 111 dest->buffer = nextbuffer; in empty_mem_output_buffer() [all …]
|
D | wrppm.c | 77 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_pixel_rows() local 79 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows() 92 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in copy_pixel_rows() local 97 ptr = dest->pub.buffer[0]; in copy_pixel_rows() 98 bufferptr = dest->iobuffer; in copy_pixel_rows() 99 for (col = dest->samples_per_row; col > 0; col--) { in copy_pixel_rows() 102 (void) JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in copy_pixel_rows() 115 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in put_demapped_rgb() local 124 ptr = dest->pub.buffer[0]; in put_demapped_rgb() 125 bufferptr = dest->iobuffer; in put_demapped_rgb() [all …]
|
/external/opencv3/3rdparty/libjpeg/ |
D | jdatadst.c | 66 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in init_destination() local 69 dest->buffer = (JOCTET *) in init_destination() 73 dest->pub.next_output_byte = dest->buffer; in init_destination() 74 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination() 110 my_dest_ptr dest = (my_dest_ptr) cinfo->dest; in empty_output_buffer() local 112 if (JFWRITE(dest->outfile, dest->buffer, OUTPUT_BUF_SIZE) != in empty_output_buffer() 116 dest->pub.next_output_byte = dest->buffer; in empty_output_buffer() 117 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in empty_output_buffer() 127 my_mem_dest_ptr dest = (my_mem_dest_ptr) cinfo->dest; in empty_mem_output_buffer() local 130 nextsize = dest->bufsize * 2; in empty_mem_output_buffer() [all …]
|
/external/libvpx/libvpx/third_party/libyuv/source/ |
D | convert_jpeg.cc | 38 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/ |
D | dyn-string.c | 197 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/ |
D | simple_serializer-inl.h | 59 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 …]
|
D | map_serializers-inl.h | 71 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/ |
D | utility_string_tests.c | 20 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/webrtc/webrtc/base/ |
D | urlencode_unittest.cc | 22 char dest[1]; in TEST() local 23 ASSERT_EQ(0, UrlEncode(source, dest, arraysize(dest))); in TEST() 24 ASSERT_EQ('\0', dest[0]); in TEST() 26 dest[0] = 'a'; in TEST() 27 ASSERT_EQ(0, UrlEncode(source, dest, 0)); in TEST() 28 ASSERT_EQ('a', dest[0]); in TEST() 33 char dest[4]; in TEST() local 34 ASSERT_EQ(3, UrlEncode(source, dest, arraysize(dest))); in TEST() 35 ASSERT_STREQ("%5E", dest); in TEST() 43 char dest[3]; in TEST() local [all …]
|
D | urlencode.cc | 37 static int InternalUrlDecode(const char *source, char *dest, in InternalUrlDecode() argument 39 char * start = dest; in InternalUrlDecode() 45 *(dest++) = ' '; in InternalUrlDecode() 47 *dest++ = *source; in InternalUrlDecode() 54 *(dest++) = static_cast<char>(value); in InternalUrlDecode() 58 *dest++ = '?'; in InternalUrlDecode() 62 *dest++ = '?'; in InternalUrlDecode() 66 *dest++ = *source; in InternalUrlDecode() 71 *dest = 0; in InternalUrlDecode() 72 return static_cast<int>(dest - start); in InternalUrlDecode() [all …]
|
/external/snakeyaml/src/main/java/org/yaml/snakeyaml/external/com/google/gdata/util/common/base/ |
D | PercentEscaper.java | 215 char[] dest = new char[3]; in escape() local 216 dest[0] = '%'; in escape() 217 dest[2] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 218 dest[1] = UPPER_HEX_DIGITS[cp >>> 4]; in escape() 219 return dest; in escape() 223 char[] dest = new char[6]; in escape() local 224 dest[0] = '%'; in escape() 225 dest[3] = '%'; in escape() 226 dest[5] = UPPER_HEX_DIGITS[cp & 0xF]; in escape() 228 dest[4] = UPPER_HEX_DIGITS[0x8 | (cp & 0x3)]; in escape() [all …]
|
/external/guava/guava/src/com/google/common/net/ |
D | PercentEscaper.java | 185 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/libchrome/base/json/ |
D | string_escape.cc | 35 bool EscapeSpecialCodePoint(uint32_t code_point, std::string* dest) { in EscapeSpecialCodePoint() argument 41 dest->append("\\b"); in EscapeSpecialCodePoint() 44 dest->append("\\f"); in EscapeSpecialCodePoint() 47 dest->append("\\n"); in EscapeSpecialCodePoint() 50 dest->append("\\r"); in EscapeSpecialCodePoint() 53 dest->append("\\t"); in EscapeSpecialCodePoint() 56 dest->append("\\\\"); in EscapeSpecialCodePoint() 59 dest->append("\\\""); in EscapeSpecialCodePoint() 64 dest->append("\\u003C"); in EscapeSpecialCodePoint() 69 dest->append("\\u2028"); in EscapeSpecialCodePoint() [all …]
|
/external/lzma/CPP/Windows/ |
D | PropVariantConv.cpp | 46 void ConvertFileTimeToString(const FILETIME &ft, wchar_t *dest, bool includeTime, bool includeSecon… in ConvertFileTimeToString() argument 53 dest[i] = c; in ConvertFileTimeToString() 59 void ConvertPropVariantToShortString(const PROPVARIANT &prop, char *dest) throw() in ConvertPropVariantToShortString() argument 61 *dest = 0; in ConvertPropVariantToShortString() 65 case VT_BSTR: dest[0] = '?'; dest[1] = 0; return; in ConvertPropVariantToShortString() 66 case VT_UI1: ConvertUInt32ToString(prop.bVal, dest); return; in ConvertPropVariantToShortString() 67 case VT_UI2: ConvertUInt32ToString(prop.uiVal, dest); return; in ConvertPropVariantToShortString() 68 case VT_UI4: ConvertUInt32ToString(prop.ulVal, dest); return; in ConvertPropVariantToShortString() 69 case VT_UI8: ConvertUInt64ToString(prop.uhVal.QuadPart, dest); return; in ConvertPropVariantToShortString() 70 case VT_FILETIME: ConvertFileTimeToString(prop.filetime, dest, true, true); return; in ConvertPropVariantToShortString() [all …]
|
/external/skia/src/gpu/glsl/ |
D | GrGLSLUtil.cpp | 11 template<> void GrGLSLGetMatrix<3>(float* dest, const SkMatrix& src) { in GrGLSLGetMatrix() argument 13 dest[0] = SkScalarToFloat(src[SkMatrix::kMScaleX]); in GrGLSLGetMatrix() 14 dest[1] = SkScalarToFloat(src[SkMatrix::kMSkewY]); in GrGLSLGetMatrix() 15 dest[2] = SkScalarToFloat(src[SkMatrix::kMPersp0]); in GrGLSLGetMatrix() 18 dest[3] = SkScalarToFloat(src[SkMatrix::kMSkewX]); in GrGLSLGetMatrix() 19 dest[4] = SkScalarToFloat(src[SkMatrix::kMScaleY]); in GrGLSLGetMatrix() 20 dest[5] = SkScalarToFloat(src[SkMatrix::kMPersp1]); in GrGLSLGetMatrix() 23 dest[6] = SkScalarToFloat(src[SkMatrix::kMTransX]); in GrGLSLGetMatrix() 24 dest[7] = SkScalarToFloat(src[SkMatrix::kMTransY]); in GrGLSLGetMatrix() 25 dest[8] = SkScalarToFloat(src[SkMatrix::kMPersp2]); in GrGLSLGetMatrix() [all …]
|
/external/libvpx/libvpx/vp9/common/ |
D | vp9_idct.c | 20 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/ |
D | ArabicShaping.java | 87 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/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ArabicShaping.java | 87 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() 158 char[] dest = src; in shape() local 162 dest = new char[src.length * 2]; // max in shape() 164 int len = shape(src, 0, src.length, dest, 0, dest.length); in shape() 166 return new String(dest, 0, len); in shape() 825 private void shapeToArabicDigitsWithContext(char[] dest, in shapeToArabicDigitsWithContext() argument [all …]
|
/external/libweave/third_party/chromium/base/json/ |
D | string_escape.cc | 35 bool EscapeSpecialCodePoint(uint32_t code_point, std::string* dest) { in EscapeSpecialCodePoint() argument 41 dest->append("\\b"); in EscapeSpecialCodePoint() 44 dest->append("\\f"); in EscapeSpecialCodePoint() 47 dest->append("\\n"); in EscapeSpecialCodePoint() 50 dest->append("\\r"); in EscapeSpecialCodePoint() 53 dest->append("\\t"); in EscapeSpecialCodePoint() 56 dest->append("\\\\"); in EscapeSpecialCodePoint() 59 dest->append("\\\""); in EscapeSpecialCodePoint() 64 dest->append("\\u003C"); in EscapeSpecialCodePoint() 69 dest->append("\\u2028"); in EscapeSpecialCodePoint() [all …]
|
/external/mesa3d/src/mesa/tnl_dd/ |
D | t_dd_dmatmp2.h | 60 #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/ |
D | custrtrn.c | 885 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/ |
D | fpdfview_embeddertest.cpp | 53 FPDF_DEST dest; in TEST_F() local 57 dest = FPDF_GetNamedDest(document(), 0, nullptr, &buffer_size); in TEST_F() 58 EXPECT_NE(nullptr, dest); in TEST_F() 63 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F() 64 EXPECT_NE(nullptr, dest); in TEST_F() 70 dest = FPDF_GetNamedDest(document(), 0, fixed_buffer, &buffer_size); in TEST_F() 71 EXPECT_NE(nullptr, dest); in TEST_F() 79 dest = FPDF_GetNamedDest(document(), 1, fixed_buffer, &buffer_size); in TEST_F() 80 EXPECT_NE(nullptr, dest); in TEST_F() 89 dest = FPDF_GetNamedDest(document(), 2, fixed_buffer, &buffer_size); in TEST_F() [all …]
|
/external/lzma/C/ |
D | Bra.c | 19 UInt32 dest; in ARM_Convert() local 23 dest = ip + (UInt32)i + src; in ARM_Convert() 25 dest = src - (ip + (UInt32)i); in ARM_Convert() 26 dest >>= 2; in ARM_Convert() 27 data[i + 2] = (Byte)(dest >> 16); in ARM_Convert() 28 data[i + 1] = (Byte)(dest >> 8); in ARM_Convert() 29 data[i + 0] = (Byte)dest; in ARM_Convert() 47 UInt32 dest; in ARMT_Convert() local 56 dest = ip + (UInt32)i + src; in ARMT_Convert() 58 dest = src - (ip + (UInt32)i); in ARMT_Convert() [all …]
|
/external/icu/icu4c/source/common/ |
D | ushape.cpp | 463 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 …]
|