Lines Matching refs:strPtr
10 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);
153 var strPtr = CanvasKit._malloc(strBytes);
154 stringToUTF8(str, strPtr, strBytes); // This includes the null terminator
159 var actualIDs = this._getGlyphIDs(strPtr, strBytes - 1, numGlyphIDs, glyphPtr);
160 CanvasKit._free(strPtr);
244 var strPtr = CanvasKit._malloc(strLen);
246 stringToUTF8(str, strPtr, strLen);
250 var blob = CanvasKit.TextBlob._MakeFromRSXform(strPtr, strLen - 1, rPtr, font);
251 CanvasKit._free(strPtr);
297 var strPtr = CanvasKit._malloc(strLen);
299 stringToUTF8(str, strPtr, strLen);
301 var blob = CanvasKit.TextBlob._MakeFromText(strPtr, strLen - 1, font);
302 CanvasKit._free(strPtr);