Home
last modified time | relevance | path

Searched refs:strPtr (Results 1 – 15 of 15) sorted by relevance

/external/skia/modules/canvaskit/
Dfont.js10 var strPtr = CanvasKit._malloc(strLen + 1);
11 stringToUTF8(str, strPtr, strLen + 1);
12 this._drawSimpleText(strPtr, strLen, x, y, font, paint);
13 CanvasKit._free(strPtr);
46 var strPtr = CanvasKit._malloc(strBytes);
47 stringToUTF8(str, strPtr, strBytes); // This includes the null terminator
52 var actualIDs = this._getGlyphIDs(strPtr, strBytes - 1, numGlyphIDs, glyphPtr);
53 CanvasKit._free(strPtr);
206 var strPtr = CanvasKit._malloc(strLen);
208 stringToUTF8(str, strPtr, strLen);
[all …]
Dparticles.js33 var strPtr = CanvasKit._malloc(strLen);
35 stringToUTF8(key, strPtr, strLen);
36 assetNamePtrs.push(strPtr);
Dparagraph.js186 var strPtr = cacheOrCopyString(strings[i]);
187 sPtrs.push(strPtr);
206 var strPtr = CanvasKit._malloc(strLen);
207 stringToUTF8(str, strPtr, strLen);
208 stringCache[str] = strPtr;
209 return strPtr;
Dskottie.js47 var strPtr = CanvasKit._malloc(strLen);
49 stringToUTF8(key, strPtr, strLen);
50 assetNamePtrs.push(strPtr);
/external/icu/icu4c/source/i18n/unicode/
Ddcfmtsym.h509 const UnicodeString *strPtr; in getSymbol() local
511 strPtr = &fSymbols[symbol]; in getSymbol()
513 strPtr = &fNoSymbol; in getSymbol()
515 return *strPtr; in getSymbol()
521 const UnicodeString *strPtr; in getConstSymbol() local
523 strPtr = &fSymbols[symbol]; in getConstSymbol()
525 strPtr = &fNoSymbol; in getConstSymbol()
527 return *strPtr; in getConstSymbol()
/external/icu/libicu/cts_headers/unicode/
Ddcfmtsym.h509 const UnicodeString *strPtr; in getSymbol() local
511 strPtr = &fSymbols[symbol]; in getSymbol()
513 strPtr = &fNoSymbol; in getSymbol()
515 return *strPtr; in getSymbol()
521 const UnicodeString *strPtr; in getConstSymbol() local
523 strPtr = &fSymbols[symbol]; in getConstSymbol()
525 strPtr = &fNoSymbol; in getConstSymbol()
527 return *strPtr; in getConstSymbol()
/external/skia/experimental/skottiekit/
Dinterface.js92 var strPtr = SkottieKit._malloc(strLen);
94 stringToUTF8(key, strPtr, strLen);
95 assetNamePtrs.push(strPtr);
/external/skqp/experimental/canvaskit/
Dinterface.js390 var strPtr = CanvasKit._malloc(strLen);
392 stringToUTF8(str, strPtr, strLen);
393 this._drawSimpleText(strPtr, strLen, x, y, font, paint);
472 var strPtr = CanvasKit._malloc(strLen);
474 stringToUTF8(str, strPtr, strLen);
476 …var blob = CanvasKit.SkTextBlob._MakeFromText(strPtr, strLen - 1, font, CanvasKit.TextEncoding.UTF…
484 CanvasKit._free(strPtr);
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.cpp107 const UnicodeString &str, void *strPtr, UErrorCode & /*status*/) { in identVal() argument
108 *static_cast<UnicodeString *>(strPtr) = str; in identVal()
112 const void *strPtr, UnicodeString &appendTo) { in identStr() argument
113 appendTo.append(*static_cast<const UnicodeString *>(strPtr)); in identStr()
Dnumbertest_affixutils.cpp183 for (const char16_t *strPtr : invalidExamples) { in testInvalid() local
184 UnicodeString str(strPtr); in testInvalid()
Dformatted_string_builder_test.cpp60 for (const char16_t* strPtr : EXAMPLE_STRINGS) { in testInsertAppendUnicodeString() local
61 UnicodeString str(strPtr); in testInsertAppendUnicodeString()
/external/skqp/tools/bookmaker/
DparserCommon.cpp431 bool StatusIter::next(string* strPtr, StatusFilter *filter) { in next() argument
479 if (strPtr) { in next()
480 *strPtr = str; in next()
/external/skqp/tests/
DPDFPrimitivesTest.cpp51 static bool eq(const SkString& str, const char* strPtr, size_t len) { in eq() argument
52 return len == str.size() && 0 == memcmp(str.c_str(), strPtr, len); in eq()
/external/skia/tests/
DPDFPrimitivesTest.cpp53 static bool eq(const SkString& str, const char* strPtr, size_t len) { in eq() argument
54 return len == str.size() && 0 == memcmp(str.c_str(), strPtr, len); in eq()
/external/icu/icu4c/source/test/cintltst/
Dcdattst.c460 UChar * strPtr; in TestRelativeDateFormat() local
561 strPtr = u_strstr(strDateTime, minutesStr); in TestRelativeDateFormat()
562 if ( strPtr != NULL ) { in TestRelativeDateFormat()
563 int32_t beginIndex = (int32_t)(strPtr - strDateTime); in TestRelativeDateFormat()