/external/webkit/JavaScriptCore/assembler/ |
D | MacroAssemblerX86Common.h | 76 void add32(RegisterID src, RegisterID dest) in add32() argument 78 m_assembler.addl_rr(src, dest); in add32() 86 void add32(Imm32 imm, RegisterID dest) in add32() argument 88 m_assembler.addl_ir(imm.m_value, dest); in add32() 91 void add32(Address src, RegisterID dest) in add32() argument 93 m_assembler.addl_mr(src.offset, src.base, dest); in add32() 96 void add32(RegisterID src, Address dest) in add32() argument 98 m_assembler.addl_rm(src, dest.offset, dest.base); in add32() 101 void and32(RegisterID src, RegisterID dest) in and32() argument 103 m_assembler.andl_rr(src, dest); in and32() [all …]
|
D | MacroAssemblerARM.h | 71 void add32(RegisterID src, RegisterID dest) in add32() argument 73 m_assembler.adds_r(dest, dest, src); in add32() 83 void add32(Imm32 imm, RegisterID dest) in add32() argument 85 m_assembler.adds_r(dest, dest, m_assembler.getImm(imm.m_value, ARM::S0)); in add32() 88 void add32(Address src, RegisterID dest) in add32() argument 91 add32(ARM::S1, dest); in add32() 94 void and32(RegisterID src, RegisterID dest) in and32() argument 96 m_assembler.ands_r(dest, dest, src); in and32() 99 void and32(Imm32 imm, RegisterID dest) in and32() argument 103 m_assembler.bics_r(dest, dest, w & ~ARMAssembler::OP2_INV_IMM); in and32() [all …]
|
D | MacroAssemblerARMv7.h | 115 void add32(RegisterID src, RegisterID dest) in add32() argument 117 m_assembler.add(dest, dest, src); in add32() 120 void add32(Imm32 imm, RegisterID dest) in add32() argument 122 add32(imm, dest, dest); in add32() 125 void add32(Imm32 imm, RegisterID src, RegisterID dest) in add32() argument 129 m_assembler.add(dest, src, armImm); in add32() 132 m_assembler.add(dest, src, dataTempRegister); in add32() 153 void add32(Address src, RegisterID dest) in add32() argument 156 add32(dataTempRegister, dest); in add32() 176 void and32(RegisterID src, RegisterID dest) in and32() argument [all …]
|
D | MacroAssembler.h | 76 void peek(RegisterID dest, int index = 0) 78 loadPtr(Address(stackPointerRegister, (index * sizeof(void*))), dest); 137 void addPtr(RegisterID src, RegisterID dest) in addPtr() argument 139 add32(src, dest); in addPtr() 147 void addPtr(ImmPtr imm, RegisterID dest) in addPtr() argument 149 add32(Imm32(imm), dest); in addPtr() 152 void addPtr(Imm32 imm, RegisterID src, RegisterID dest) in addPtr() argument 154 add32(imm, src, dest); in addPtr() 157 void andPtr(RegisterID src, RegisterID dest) in andPtr() argument 159 and32(src, dest); in andPtr() [all …]
|
D | MacroAssemblerX86_64.h | 80 void load32(void* address, RegisterID dest) in load32() argument 82 if (dest == X86::eax) in load32() 85 move(X86::eax, dest); in load32() 87 swap(X86::eax, dest); in load32() 91 void loadDouble(void* address, FPRegisterID dest) in loadDouble() argument 94 loadDouble(scratchRegister, dest); in loadDouble() 97 void convertInt32ToDouble(AbsoluteAddress src, FPRegisterID dest) in convertInt32ToDouble() argument 100 m_assembler.cvtsi2sd_rr(scratchRegister, dest); in convertInt32ToDouble() 137 void addPtr(RegisterID src, RegisterID dest) in addPtr() argument 139 m_assembler.addq_rr(src, dest); in addPtr() [all …]
|
/external/jpeg/ |
D | wrppm.c | 93 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 …]
|
D | jdatadst.c | 45 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 …]
|
D | wrtarga.c | 103 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 …]
|
D | wrbmp.c | 61 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 …]
|
D | wrrle.c | 79 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in start_output_rle() local 112 dest->colormap = NULL; in start_output_rle() 117 dest->colormap = (rle_map *) (*cinfo->mem->alloc_small) in start_output_rle() 119 MEMZERO(dest->colormap, cmapsize); in start_output_rle() 125 dest->colormap[ci * CMAPLENGTH + i] = in start_output_rle() 132 dest->pub.buffer = (*cinfo->mem->access_virt_sarray) in start_output_rle() 133 ((j_common_ptr) cinfo, dest->image, (JDIMENSION) 0, (JDIMENSION) 1, TRUE); in start_output_rle() 134 dest->pub.buffer_height = 1; in start_output_rle() 136 dest->pub.put_pixel_rows = rle_put_pixel_rows; in start_output_rle() 156 rle_dest_ptr dest = (rle_dest_ptr) dinfo; in rle_put_pixel_rows() local [all …]
|
/external/astl/tests/ |
D | test_uninitialized.cpp | 47 int dest[size] = {0, }; in testCopyPod() local 49 EXPECT_TRUE(uninitialized_copy(src, src + size, dest) == dest); in testCopyPod() 51 EXPECT_TRUE(std::equal(src, src + size, dest)); in testCopyPod() 58 int src, dest; in testCopyPodOverflow() local 61 EXPECT_TRUE(uninitialized_copy(&src, &src + kMaxSizeT / sizeof(src) + 1, &dest) == &dest); in testCopyPodOverflow() 71 CtorDtorCounter *dest = static_cast<CtorDtorCounter*>(malloc(kSize * sizeof(CtorDtorCounter))); in testCopyClass() local 79 EXPECT_TRUE(uninitialized_copy(src, src + kSize, dest) == dest); in testCopyClass() 84 free(dest); in testCopyClass() 94 A *dest = &one; in testCopyArray() local 96 EXPECT_TRUE(uninitialized_copy(src, src + 1, dest) == dest); in testCopyArray() [all …]
|
/external/icu4c/common/ |
D | ushape.c | 379 countSpaces(UChar *dest,int32_t size,uint32_t options,int32_t *spacesCountl,int32_t *spacesCountr) { in countSpaces() argument 382 while(dest[i] == 0x0020) { in countSpaces() 386 while(dest[size-1] == 0x0020) { in countSpaces() 474 removeLamAlefSpaces(UChar *dest, int32_t sourceLength, in removeLamAlefSpaces() argument 496 if(dest[i] == 0xFFFF) { in removeLamAlefSpaces() 501 tempbuffer[j] = dest[i]; in removeLamAlefSpaces() 512 uprv_memcpy(dest, tempbuffer, sourceLength*U_SIZEOF_UCHAR); in removeLamAlefSpaces() 513 destSize = u_strlen(dest); in removeLamAlefSpaces() 520 if(dest[i] == 0xFFFF) in removeLamAlefSpaces() 521 dest[i] = 0x0020; in removeLamAlefSpaces() [all …]
|
D | ubidiwrt.c | 62 UChar *dest, int32_t destSize, in doWriteForward() argument 75 *dest++=*src++; in doWriteForward() 91 UTF_APPEND_CHAR_UNSAFE(dest, j, c); in doWriteForward() 114 *dest++=c; in doWriteForward() 145 UTF_APPEND_CHAR_UNSAFE(dest, j, c); in doWriteForward() 155 UChar *dest, int32_t destSize, in doWriteReverse() argument 205 *dest++=src[j++]; in doWriteReverse() 235 *dest++=src[j++]; in doWriteReverse() 296 UTF_APPEND_CHAR_UNSAFE(dest, k, c); in doWriteReverse() 297 dest+=k; in doWriteReverse() [all …]
|
D | normlzr.cpp | 135 UnicodeString *dest; in normalize() local 138 dest=&result; in normalize() 141 dest=&localDest; in normalize() 144 UChar *buffer=dest->getBuffer(source.length()); in normalize() 145 int32_t length=unorm_internalNormalize(buffer, dest->getCapacity(), in normalize() 149 dest->releaseBuffer(U_SUCCESS(status) ? length : 0); in normalize() 152 buffer=dest->getBuffer(length); in normalize() 153 length=unorm_internalNormalize(buffer, dest->getCapacity(), in normalize() 157 dest->releaseBuffer(U_SUCCESS(status) ? length : 0); in normalize() 160 if(dest==&localDest) { in normalize() [all …]
|
D | ucasemap.c | 130 appendResult(uint8_t *dest, int32_t destIndex, int32_t destCapacity, in appendResult() argument 154 U8_APPEND(dest, destIndex, destCapacity, c, isError); in appendResult() 163 (char *)(dest+destIndex), destCapacity-destIndex, &destLength, in appendResult() 223 uint8_t *dest, int32_t destCapacity, in _caseMap() argument 244 dest[destIndex++]=src[i++]; in _caseMap() 251 dest[destIndex++]=(uint8_t)c2; in _caseMap() 253 destIndex=appendResult(dest, destIndex, destCapacity, c, s); in _caseMap() 270 uint8_t *dest, int32_t destCapacity, in _toTitle() argument 349 uprv_memcpy(dest+destIndex, src+prev, length); in _toTitle() 360 destIndex=appendResult(dest, destIndex, destCapacity, c, s); in _toTitle() [all …]
|
/external/qemu/target-arm/ |
D | neon_helper.c | 95 #define NEON_UNPACK(vtype, dest, val) do { \ in NEON_TYPE4() argument 101 dest = conv_u.v; \ in NEON_TYPE4() 105 #define NEON_PACK(vtype, dest, val) do { \ argument 111 dest = conv_u.i; \ 185 #define NEON_USAT(dest, src1, src2, type) do { \ argument 189 dest = ~0; \ 191 dest = tmp; \ 193 #define NEON_FN(dest, src1, src2) NEON_USAT(dest, src1, src2, uint8_t) argument 196 #define NEON_FN(dest, src1, src2) NEON_USAT(dest, src1, src2, uint16_t) argument 201 #define NEON_SSAT(dest, src1, src2, type) do { \ argument [all …]
|
/external/webkit/WebCore/platform/text/mac/ |
D | ShapeArabic.c | 351 shapeUnicode(UChar *dest, int32_t sourceLength, in shapeUnicode() argument 370 UChar inputChar = dest[i]; in shapeUnicode() 372 dest[i] = convertFEto06 [ (inputChar - 0xFE70) ] ; in shapeUnicode() 385 currLink = getLink(dest[i]); in shapeUnicode() 393 if ((currLink & 0xFF00) > 0 || isTashkeelChar(dest[i])) { in shapeUnicode() 400 nextLink = getLink(dest[Nw]); in shapeUnicode() 411 wLamalef = changeLamAlef(dest[i]); /*get from 0x065C-0x065f */ in shapeUnicode() 413 … dest[i] = ' '; /* The default case is to drop the Alef and replace */ in shapeUnicode() 414 … dest[lastPos] =wLamalef; /* it by a space. */ in shapeUnicode() 425 flag = specialChar(dest[i]); in shapeUnicode() [all …]
|
/external/tesseract/image/ |
D | imgs.cpp | 277 IMAGE *dest, //destination image in copy_sub_image() argument 299 if (xext > dest->xsize - xdest) in copy_sub_image() 300 xext = dest->xsize - xdest; in copy_sub_image() 306 if (yext > dest->ysize - ydest) in copy_sub_image() 307 yext = dest->ysize - ydest; in copy_sub_image() 312 if (source->bpp == dest->bpp || !adjust_grey) in copy_sub_image() 315 shift = source->bps - dest->bps; in copy_sub_image() 319 aligned = source->bpp == dest->bpp; in copy_sub_image() 323 && (xext % srcppb == 0 || xdest + xext == dest->xsize); in copy_sub_image() 331 dest->check_legal_access (xdest, ydest + yoffset, xext); in copy_sub_image() [all …]
|
/external/dbus/dbus/ |
D | dbus-shell.c | 44 char* dest; in unquote_string_inplace() local 48 dest = s = str; in unquote_string_inplace() 65 _dbus_assert(s > dest); /* loop invariant */ in unquote_string_inplace() 71 *dest = '\0'; in unquote_string_inplace() 86 *dest = *s; in unquote_string_inplace() 88 ++dest; in unquote_string_inplace() 93 *dest = '\\'; in unquote_string_inplace() 94 ++dest; in unquote_string_inplace() 101 *dest = *s; in unquote_string_inplace() 102 ++dest; in unquote_string_inplace() [all …]
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
D | eas_mixer.c | 341 EAS_INT src, dest; in EAS_MixStream() local 369 for (src = dest = 0; src < numSamples; src++, dest++) in EAS_MixStream() 372 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 380 for (src = dest = 0; src < numSamples; src++, dest+=2) in EAS_MixStream() 382 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 383 pMixBuffer[dest+1] += (pInputBuffer[src] * gainRight) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 391 for (src = dest = 0; src < numSamples; src+=2, dest++) in EAS_MixStream() 395 pMixBuffer[dest] += temp; in EAS_MixStream() 403 for (src = dest = 0; src < numSamples; src+=2, dest+=2) in EAS_MixStream() 405 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() [all …]
|
/external/sonivox/arm-fm-22k/lib_src/ |
D | eas_mixer.c | 341 EAS_INT src, dest; in EAS_MixStream() local 369 for (src = dest = 0; src < numSamples; src++, dest++) in EAS_MixStream() 372 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 380 for (src = dest = 0; src < numSamples; src++, dest+=2) in EAS_MixStream() 382 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 383 pMixBuffer[dest+1] += (pInputBuffer[src] * gainRight) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 391 for (src = dest = 0; src < numSamples; src+=2, dest++) in EAS_MixStream() 395 pMixBuffer[dest] += temp; in EAS_MixStream() 403 for (src = dest = 0; src < numSamples; src+=2, dest+=2) in EAS_MixStream() 405 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() [all …]
|
/external/sonivox/arm-wt-22k/lib_src/ |
D | eas_mixer.c | 341 EAS_INT src, dest; in EAS_MixStream() local 369 for (src = dest = 0; src < numSamples; src++, dest++) in EAS_MixStream() 372 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 380 for (src = dest = 0; src < numSamples; src++, dest+=2) in EAS_MixStream() 382 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 383 pMixBuffer[dest+1] += (pInputBuffer[src] * gainRight) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() 391 for (src = dest = 0; src < numSamples; src+=2, dest++) in EAS_MixStream() 395 pMixBuffer[dest] += temp; in EAS_MixStream() 403 for (src = dest = 0; src < numSamples; src+=2, dest+=2) in EAS_MixStream() 405 pMixBuffer[dest] += (pInputBuffer[src] * gainLeft) >> NUM_MIXER_GUARD_BITS; in EAS_MixStream() [all …]
|
/external/libpng/contrib/gregbook/ |
D | rpng2-x.c | 1075 char *dest; in rpng2_x_load_bg_image() local 1141 dest = (char *)bg_data + row*bg_rowbytes; in rpng2_x_load_bg_image() 1149 *dest++ = r1_inv; in rpng2_x_load_bg_image() 1150 *dest++ = g1_inv; in rpng2_x_load_bg_image() 1151 *dest++ = b1_inv; in rpng2_x_load_bg_image() 1153 *dest++ = r1; in rpng2_x_load_bg_image() 1154 *dest++ = g1; in rpng2_x_load_bg_image() 1155 *dest++ = b1; in rpng2_x_load_bg_image() 1161 *dest++ = r2; /* not inverted or */ in rpng2_x_load_bg_image() 1162 *dest++ = g2; /* doubly inverted */ in rpng2_x_load_bg_image() [all …]
|
/external/opencore/oscl/oscl/osclbase/src/ |
D | oscl_stdstring.cpp | 38 OSCL_EXPORT_REF char* oscl_strncpy(char* dest, const char* src, uint32 count) in oscl_strncpy() argument 40 return strncpy(dest, src, count); in oscl_strncpy() 43 OSCL_EXPORT_REF oscl_wchar* oscl_strncpy(oscl_wchar *dest, const oscl_wchar *src, uint32 count) in oscl_strncpy() argument 45 oscl_wchar* tmp = dest; in oscl_strncpy() 56 return dest; in oscl_strncpy() 96 OSCL_EXPORT_REF char* oscl_strncat(char* dest, const char* src, uint32 count) in oscl_strncat() argument 98 return strncat(dest, src, count); in oscl_strncat() 101 OSCL_EXPORT_REF oscl_wchar* oscl_strncat(oscl_wchar* dest, const oscl_wchar* src, uint32 count) in oscl_strncat() argument 103 oscl_wchar* tmp = dest + oscl_strlen(dest); in oscl_strncat() 109 return dest; in oscl_strncat() [all …]
|
/external/icu4c/test/perf/normperf/ |
D | normperf.h | 28 typedef int32_t (*NormFn)(const UChar* src,int32_t srcLen, UChar* dest,int32_t dstLen, int32_t opti… 104 UChar dest[DEST_BUFFER_CAPACITY]; variable 152 pDest = dest; in NormPerfFunction() 169 if(dest != pDest){ in ~NormPerfFunction() 189 …void normalizeInput(ULine* dest,const UChar* src ,int32_t srcLen,UNormalizationMode mode, int32_t … 257 int32_t ICUNormNFD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, U… in ICUNormNFD() argument 258 return unorm_normalize(src,srcLen,UNORM_NFD, options,dest,dstLen,status); in ICUNormNFD() 261 int32_t ICUNormNFC(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, U… in ICUNormNFC() argument 262 return unorm_normalize(src,srcLen,UNORM_NFC, options,dest,dstLen,status); in ICUNormNFC() 265 int32_t ICUNormNFKD(const UChar* src, int32_t srcLen,UChar* dest, int32_t dstLen, int32_t options, … in ICUNormNFKD() argument [all …]
|