/external/icu4c/common/ |
D | ucnvlat1.c | 34 UChar *target; in _Latin1ToUnicodeWithOffsets() local 42 target=pArgs->target; in _Latin1ToUnicodeWithOffsets() 43 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Latin1ToUnicodeWithOffsets() 68 target[0]=source[0]; in _Latin1ToUnicodeWithOffsets() 69 target[1]=source[1]; in _Latin1ToUnicodeWithOffsets() 70 target[2]=source[2]; in _Latin1ToUnicodeWithOffsets() 71 target[3]=source[3]; in _Latin1ToUnicodeWithOffsets() 72 target[4]=source[4]; in _Latin1ToUnicodeWithOffsets() 73 target[5]=source[5]; in _Latin1ToUnicodeWithOffsets() 74 target[6]=source[6]; in _Latin1ToUnicodeWithOffsets() [all …]
|
D | ucnv_u16.c | 44 char *target; in _UTF16BEFromUnicodeWithOffsets() local 65 &pArgs->target, pArgs->targetLimit, in _UTF16BEFromUnicodeWithOffsets() 71 target=pArgs->target; in _UTF16BEFromUnicodeWithOffsets() 72 if(target >= pArgs->targetLimit) { in _UTF16BEFromUnicodeWithOffsets() 77 targetCapacity=(uint32_t)(pArgs->targetLimit-target); in _UTF16BEFromUnicodeWithOffsets() 87 target[0]=(uint8_t)(c>>8); in _UTF16BEFromUnicodeWithOffsets() 88 target[1]=(uint8_t)c; in _UTF16BEFromUnicodeWithOffsets() 89 target[2]=(uint8_t)(trail>>8); in _UTF16BEFromUnicodeWithOffsets() 90 target[3]=(uint8_t)trail; in _UTF16BEFromUnicodeWithOffsets() 91 target+=4; in _UTF16BEFromUnicodeWithOffsets() [all …]
|
D | ucnv_u7.c | 210 UChar *target; in _UTF7ToUnicodeWithOffsets() local 234 target=pArgs->target; in _UTF7ToUnicodeWithOffsets() 263 targetCapacity=(int32_t)(targetLimit-target); in _UTF7ToUnicodeWithOffsets() 277 *target++=b; in _UTF7ToUnicodeWithOffsets() 292 if(source<sourceLimit && target>=targetLimit) { in _UTF7ToUnicodeWithOffsets() 309 if(target<targetLimit) { in _UTF7ToUnicodeWithOffsets() 333 *target++=(UChar)((bits<<4)|(base64Value>>2)); in _UTF7ToUnicodeWithOffsets() 344 *target++=(UChar)((bits<<2)|(base64Value>>4)); in _UTF7ToUnicodeWithOffsets() 355 *target++=(UChar)((bits<<6)|base64Value); in _UTF7ToUnicodeWithOffsets() 373 *target++=PLUS; in _UTF7ToUnicodeWithOffsets() [all …]
|
D | ucnvbocu.c | 389 uint8_t *target; in _Bocu1FromUnicodeWithOffsets() local 403 target=(uint8_t *)pArgs->target; in _Bocu1FromUnicodeWithOffsets() 404 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicodeWithOffsets() 435 *target++=(uint8_t)c; in _Bocu1FromUnicodeWithOffsets() 443 *target++=(uint8_t)PACK_SINGLE_DIFF(diff); in _Bocu1FromUnicodeWithOffsets() 453 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicodeWithOffsets() 471 *target++=(uint8_t)c; in _Bocu1FromUnicodeWithOffsets() 508 *target++=(uint8_t)PACK_SINGLE_DIFF(diff); in _Bocu1FromUnicodeWithOffsets() 529 *target++=(uint8_t)diff; in _Bocu1FromUnicodeWithOffsets() 530 *target++=(uint8_t)BOCU1_TRAIL_TO_BYTE(m); in _Bocu1FromUnicodeWithOffsets() [all …]
|
D | ucnvscsu.c | 232 UChar *target; in _SCSUToUnicodeWithOffsets() local 249 target=pArgs->target; in _SCSUToUnicodeWithOffsets() 287 while(source<sourceLimit && target<targetLimit && (b=*source)>=0x20) { in _SCSUToUnicodeWithOffsets() 292 *target++=(UChar)b; in _SCSUToUnicodeWithOffsets() 300 *target++=(UChar)c; in _SCSUToUnicodeWithOffsets() 306 *target++=(UChar)(0xd7c0+(c>>10)); in _SCSUToUnicodeWithOffsets() 307 if(target<targetLimit) { in _SCSUToUnicodeWithOffsets() 308 *target++=(UChar)(0xdc00|(c&0x3ff)); in _SCSUToUnicodeWithOffsets() 332 if(target>=targetLimit) { in _SCSUToUnicodeWithOffsets() 345 *target++=(UChar)b; in _SCSUToUnicodeWithOffsets() [all …]
|
D | ucnvmbcs.c | 891 uint8_t **target, const uint8_t *targetLimit, in _extFromU() argument 903 (char **)target, (char *)targetLimit, in _extFromU() 937 bytes, 4, (char **)target, (char *)targetLimit, in _extFromU() 958 UChar **target, const UChar *targetLimit, in _extToU() argument 968 target, targetLimit, in _extToU() 993 … ucnv_toUWriteCodePoint(cnv, linear, target, targetLimit, offsets, sourceIndex, pErrorCode); in _extToU() 1786 UChar *target; in ucnv_MBCSSingleToUnicodeWithOffsets() local 1802 target=pArgs->target; in ucnv_MBCSSingleToUnicodeWithOffsets() 1825 if(target>=targetLimit) { in ucnv_MBCSSingleToUnicodeWithOffsets() 1837 *target++=(UChar)MBCS_ENTRY_FINAL_VALUE_16(entry); in ucnv_MBCSSingleToUnicodeWithOffsets() [all …]
|
/external/webkit/JavaScriptCore/wtf/unicode/ |
D | UTF8.cpp | 128 char* target = *targetStart; in convertUTF16ToUTF8() local 177 target += bytesToWrite; in convertUTF16ToUTF8() 178 if (target > targetEnd) { in convertUTF16ToUTF8() 180 target -= bytesToWrite; in convertUTF16ToUTF8() 185 case 4: *--target = (char)((ch | byteMark) & byteMask); ch >>= 6; in convertUTF16ToUTF8() 186 case 3: *--target = (char)((ch | byteMark) & byteMask); ch >>= 6; in convertUTF16ToUTF8() 187 case 2: *--target = (char)((ch | byteMark) & byteMask); ch >>= 6; in convertUTF16ToUTF8() 188 case 1: *--target = (char)(ch | firstByteMark[bytesToWrite]); in convertUTF16ToUTF8() 190 target += bytesToWrite; in convertUTF16ToUTF8() 193 *targetStart = target; in convertUTF16ToUTF8() [all …]
|
/external/freetype/src/base/ |
D | ftbitmap.c | 43 FT_Bitmap *target) in FT_Bitmap_Copy() argument 51 if ( source == target ) in FT_Bitmap_Copy() 56 *target = *source; in FT_Bitmap_Copy() 65 if ( target->buffer ) in FT_Bitmap_Copy() 67 FT_Int target_pitch = target->pitch; in FT_Bitmap_Copy() 73 target_size = (FT_ULong)( target_pitch * target->rows ); in FT_Bitmap_Copy() 76 (void)FT_QREALLOC( target->buffer, target_size, size ); in FT_Bitmap_Copy() 79 (void)FT_QALLOC( target->buffer, size ); in FT_Bitmap_Copy() 86 p = target->buffer; in FT_Bitmap_Copy() 87 *target = *source; in FT_Bitmap_Copy() [all …]
|
/external/icu4c/test/intltest/ |
D | tscoll.cpp | 98 …artials(UCollator *coll, const UChar source[], int32_t sLen, const UChar target[], int32_t tLen, i… in compareUsingPartials() argument 110 uiter_setString(&tIter, target, tLen); in compareUsingPartials() 132 …Variant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::ECompar… in doTestVariant() argument 138 Collator::EComparisonResult compareResult = col->compare(source, target); in doTestVariant() 142 col->getCollationKey(target, tgtkey, status); in doTestVariant() 148 reportCResult(source, target, srckey, tgtkey, compareResult, keyResult, result, result); in doTestVariant() 152 int32_t sLen = source.length(), tLen = target.length(); in doTestVariant() 154 const UChar* trg = target.getBuffer(); in doTestVariant() 163 errln("Different result for iterative comparison "+source+" "+target); in doTestVariant() 190 …ferent results in iterative comparison for UTF-16 and UTF-8 encoded strings. "+source+", "+target); in doTestVariant() [all …]
|
/external/webkit/WebCore/svg/ |
D | SVGUseElement.cpp | 158 static bool shadowTreeContainsChangedNodes(SVGElementInstance* target) in shadowTreeContainsChangedNodes() argument 160 if (target->needsUpdate()) in shadowTreeContainsChangedNodes() 163 …for (SVGElementInstance* instance = target->firstChild(); instance; instance = instance->nextSibli… in shadowTreeContainsChangedNodes() 300 SVGElement* target = 0; in buildPendingResource() local 302 target = static_cast<SVGElement*>(targetElement); in buildPendingResource() 311 if (!target || target == this) { in buildPendingResource() 326 m_targetElementInstance = new SVGElementInstance(this, target); in buildPendingResource() 330 buildInstanceTree(target, m_targetElementInstance.get(), foundProblem); in buildPendingResource() 359 buildShadowTree(target, m_targetElementInstance.get()); in buildPendingResource() 454 void SVGUseElement::buildInstanceTree(SVGElement* target, SVGElementInstance* targetInstance, bool&… in buildInstanceTree() argument [all …]
|
/external/skia/include/core/ |
D | SkTSearch.h | 23 int SkTSearch(const T* base, int count, const T& target, size_t elemSize) in SkTSearch() argument 39 if (*elem < target) in SkTSearch() 46 if (*elem != target) in SkTSearch() 48 if (*elem < target) in SkTSearch() 56 int SkTSearch(const T* base, int count, const T& target, size_t elemSize, in SkTSearch() argument 73 if ((*compare)(*elem, target) < 0) in SkTSearch() 80 int pred = (*compare)(*elem, target); in SkTSearch() 90 int SkTSearch(const T** base, int count, const T* target, size_t elemSize, in SkTSearch() argument 107 if ((*compare)(elem, target) < 0) in SkTSearch() 114 int pred = (*compare)(elem, target); in SkTSearch() [all …]
|
/external/icu4c/samples/translit/ |
D | util.cpp | 23 UnicodeString& target) { in appendHex() argument 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; in appendHex() 28 return target; in appendHex() 34 UnicodeString target; in escape() local 35 target += "\""; in escape() 39 target += "\\u"; in escape() 40 appendHex(ch, 4, target); in escape() 42 target += ch; in escape() 45 target += "\""; in escape() 46 return target; in escape()
|
/external/icu4c/samples/datefmt/ |
D | util.cpp | 23 UnicodeString& target) { in appendHex() argument 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; in appendHex() 28 return target; in appendHex() 34 UnicodeString target; in escape() local 35 target += "\""; in escape() 39 target += "\\u"; in escape() 40 appendHex(ch, 4, target); in escape() 42 target += ch; in escape() 45 target += "\""; in escape() 46 return target; in escape()
|
/external/icu4c/samples/msgfmt/ |
D | util.cpp | 23 UnicodeString& target) { in appendHex() argument 26 target += DIGIT_STRING[(number >> ((--digits) * 4)) & 0xF]; in appendHex() 28 return target; in appendHex() 34 UnicodeString target; in escape() local 35 target += "\""; in escape() 39 target += "\\u"; in escape() 40 appendHex(ch, 4, target); in escape() 42 target += ch; in escape() 45 target += "\""; in escape() 46 return target; in escape()
|
/external/webkit/WebCore/bindings/js/ |
D | JSEventTarget.cpp | 52 JSValuePtr toJS(ExecState* exec, EventTarget* target) in toJS() argument 54 if (!target) in toJS() 59 if (SVGElementInstance* instance = target->toSVGElementInstance()) in toJS() 63 if (Node* node = target->toNode()) in toJS() 66 if (XMLHttpRequest* xhr = target->toXMLHttpRequest()) in toJS() 70 if (XMLHttpRequestUpload* upload = target->toXMLHttpRequestUpload()) in toJS() 74 if (DOMApplicationCache* cache = target->toDOMApplicationCache()) in toJS() 79 if (MessagePort* messagePort = target->toMessagePort()) in toJS() 83 if (Worker* worker = target->toWorker()) in toJS() 86 if (WorkerContext* workerContext = target->toWorkerContext()) in toJS()
|
/external/webkit/WebCore/svg/graphics/ |
D | SVGResource.cpp | 64 ResourceSet* target = clientMap().get(*itr); in ~SVGResource() local 65 if (!target) in ~SVGResource() 69 if (target->resources[i] != this) in ~SVGResource() 72 target->resources[i] = 0; in ~SVGResource() 81 ResourceSet* target = clientMap().get(*itr); in ~SVGResource() local 82 if (!target) in ~SVGResource() 85 if (target->resources[type] == this) in ~SVGResource() 86 target->resources[type] = 0; in ~SVGResource() 145 ResourceSet* target = clientMap().get(item); in addClient() local 146 if (!target) in addClient() [all …]
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | DefaultClientConnectionOperator.java | 97 HttpHost target, in openConnection() argument 107 if (target == null) { in openConnection() 122 final Scheme schm = schemeRegistry.getScheme(target.getSchemeName()); in openConnection() 126 conn.opening(sock, target); in openConnection() 129 sock = sf.connectSocket(sock, target.getHostName(), in openConnection() 130 schm.resolvePort(target.getPort()), in openConnection() 133 throw new HttpHostConnectException(target, ex); in openConnection() 142 HttpHost target, in updateSecureConnection() argument 152 if (target == null) { in updateSecureConnection() 166 final Scheme schm = schemeRegistry.getScheme(target.getSchemeName()); in updateSecureConnection() [all …]
|
/external/iptables/extensions/ |
D | libipt_MARK.c | 43 struct ipt_entry_target **target) in parse_v0() argument 46 = (struct ipt_mark_target_info *)(*target)->data; in parse_v0() 90 struct ipt_entry_target **target) in parse_v1() argument 93 = (struct ipt_mark_target_info_v1 *)(*target)->data; in parse_v1() 141 const struct ipt_entry_target *target, in print_v0() argument 145 (const struct ipt_mark_target_info *)target->data; in print_v0() 152 save_v0(const struct ipt_ip *ip, const struct ipt_entry_target *target) in save_v0() argument 155 (const struct ipt_mark_target_info *)target->data; in save_v0() 164 const struct ipt_entry_target *target, in print_v1() argument 168 (const struct ipt_mark_target_info_v1 *)target->data; in print_v1() [all …]
|
/external/icu4c/test/cintltst/ |
D | ccolltst.c | 66 void reportCResult( const UChar source[], const UChar target[], in reportCResult() argument 87 …g_err("Compare(%s , %s) returned: %s expected: %s\n", aescstrdup(source,-1), aescstrdup(target,-1), in reportCResult() 96 …rr("incCompare(%s , %s) returned: %s expected: %s\n", aescstrdup(source,-1), aescstrdup(target,-1), in reportCResult() 106 …r("KeyCompare(%s , %s) returned: %s expected: %s\n", aescstrdup(source,-1), aescstrdup(target,-1), in reportCResult() 118 …compare result for (%s , %s) Keys: %s compare %s\n", aescstrdup(source,-1), aescstrdup(target,-1), in reportCResult() 135 UChar* appendCompareResult(UCollationResult result, UChar* target) in appendCompareResult() argument 139 u_uastrcpy(target, "LESS"); in appendCompareResult() 143 u_uastrcpy(target, "EQUAL"); in appendCompareResult() 147 u_uastrcpy(target, "GREATER"); in appendCompareResult() 151 u_uastrcpy(target, "huh???"); in appendCompareResult() [all …]
|
/external/icu4c/samples/numfmt/ |
D | util.cpp | 34 UnicodeString& target) { in appendHex() argument 38 target += (UChar)(digit < 10 ? 0x30 + digit : 0x41 - 10 + digit); in appendHex() 40 return target; in appendHex() 46 UnicodeString target; in escape() local 47 target += (UChar)U_DQUOTE; in escape() 51 (target += (UChar)U_BACKSLASH) += (UChar)U_SMALL_U; in escape() 52 appendHex(ch, 4, target); in escape() 54 target += ch; in escape() 57 target += (UChar)U_DQUOTE; in escape() 58 return target; in escape()
|
/external/skia/src/core/ |
D | SkTSearch.cpp | 27 int SkStrSearch(const char*const* base, int count, const char target[], in SkStrSearch() argument 43 int cmp = strncmp(elem, target, target_len); in SkStrSearch() 53 int cmp = strncmp(elem, target, target_len); in SkStrSearch() 63 int SkStrSearch(const char*const* base, int count, const char target[], in SkStrSearch() argument 66 return SkStrSearch(base, count, target, strlen(target), elemSize); in SkStrSearch() 69 int SkStrLCSearch(const char*const* base, int count, const char target[], in SkStrLCSearch() argument 72 SkASSERT(target); in SkStrLCSearch() 74 SkAutoAsciiToLC tolc(target, len); in SkStrLCSearch() 79 int SkStrLCSearch(const char*const* base, int count, const char target[], in SkStrLCSearch() argument 82 return SkStrLCSearch(base, count, target, strlen(target), elemSize); in SkStrLCSearch()
|
/external/icu4c/tools/toolutil/ |
D | ucbuf.c | 56 UChar target[1]={ 0 }; in ucbuf_autodetect_fs() local 80 pTarget = target; in ucbuf_autodetect_fs() 82 ucnv_toUnicode(*conv, &pTarget, target+1, &pStart, start+*signatureLength, NULL, FALSE, error); in ucbuf_autodetect_fs() 89 if(U_SUCCESS(*error) && (pTarget!=(target+1) || target[0]!=0xfeff)) { in ucbuf_autodetect_fs() 162 UChar* target=NULL; in ucbuf_fillucbuf() local 198 target=pTarget; in ucbuf_fillucbuf() 212 target = pTarget+offset; in ucbuf_fillucbuf() 215 ucnv_toUnicode(buf->conv,&target,target+(buf->bufCapacity-offset), in ucbuf_fillucbuf() 280 target = pTarget+offset; in ucbuf_fillucbuf() 284 ucnv_toUnicode(buf->conv,&target,target+(buf->bufCapacity-offset), in ucbuf_fillucbuf() [all …]
|
/external/icu4c/i18n/ |
D | anytrans.cpp | 188 target = theTarget; in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 190 target.append(VARIANT_SEP).append(theVariant); in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 203 target(o.target), in AnyTransliterator() 277 id.append(TARGET_SEP).append(target); in getTransliterator() 285 id.append(LATIN_PIVOT).append(target); in getTransliterator() 342 UnicodeString target; in registerIDs() local 343 Transliterator::_getAvailableTarget(t, source, target); in registerIDs() 346 if (seen.geti(target) != 0) continue; in registerIDs() 348 seen.puti(target, 1, ec); in registerIDs() 351 UScriptCode targetScript = scriptNameToCode(target); in registerIDs() [all …]
|
/external/bison/build-aux/ |
D | ylwrap | 149 [\\/]* | ?:[\\/]*) target="$2";; 150 *) target="../$2";; 160 realtarget="$target" 161 target="tmp-`echo $target | sed s/.*[\\/]//g`" 181 -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$? 185 if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then 187 rm -f "$target" 190 mv -f "$target" "$realtarget"
|
/external/bluez/utils/ |
D | ylwrap | 149 [\\/]* | ?:[\\/]*) target="$2";; 150 *) target="../$2";; 160 realtarget="$target" 161 target="tmp-`echo $target | sed s/.*[\\/]//g`" 181 -e "s,$FROM,$TARGET," "$from" >"$target" || ret=$? 185 if test -f "$realtarget" && cmp -s "$realtarget" "$target"; then 187 rm -f "$target" 190 mv -f "$target" "$realtarget"
|