Lines Matching defs:Malloc
7 * Malloc returns a TypedArray backed by the C++ memory of the
12 * Any memory allocated by CanvasKit.Malloc needs to be released with CanvasKit.Free.
14 * const mObj = CanvasKit.Malloc(Float32Array, 20);
26 CanvasKit.Malloc = function(typedArray, len) {
55 * Free frees the memory returned by Malloc.
56 * Any memory allocated by CanvasKit.Malloc needs to be released with CanvasKit.Free.
67 // that was returned by CanvasKit.Malloc.
74 // wasMalloced returns true if the object was created by a call to Malloc. This is determined
75 // by looking at a property that was added to our Malloc obj and typed arrays.
81 // memory we allocate at startup as well as a Malloc object, which we can
85 var _scratch3x3Matrix; // the result from CanvasKit.Malloc
125 // This was created with CanvasKit.Malloc, so it's already been copied.
152 // If color is an object that was allocated with CanvasKit.Malloc, its pointer is