Home
last modified time | relevance | path

Searched refs:Malloc (Results 1 – 25 of 102) sorted by relevance

12345

/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dclang-analyzer-unix.Malloc.rst1 .. title:: clang-tidy - clang-analyzer-unix.Malloc
5 clang-analyzer-unix.Malloc
8 The clang-analyzer-unix.Malloc check is an alias, please see
/external/llvm-project/compiler-rt/lib/scudo/standalone/benchmarks/
Dmalloc_benchmark.cpp31 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
36 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
74 Ptr = Allocator->allocate(1 << SizeLog2, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
82 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
/external/scudo/standalone/benchmarks/
Dmalloc_benchmark.cpp38 void *Ptr = Allocator->allocate(NBytes, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
43 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free()
82 Ptr = Allocator->allocate(1 << SizeLog2, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
90 Allocator->deallocate(Ptr, scudo::Chunk::Origin::Malloc); in BM_malloc_free_loop()
/external/skia/modules/canvaskit/tests/
Dpath.spec.js121 const mVerbs = CanvasKit.Malloc(Uint8Array, 6);
122 const mPoints = CanvasKit.Malloc(Float32Array, 18);
123 const mWeights = CanvasKit.Malloc(Float32Array, 1);
193 const mVerbs = CanvasKit.Malloc(Uint8Array, 6);
194 const mPoints = CanvasKit.Malloc(Float32Array, 18);
195 const mWeights = CanvasKit.Malloc(Float32Array, 1);
438 const pointsObj = CanvasKit.Malloc(Float32Array, 6 * 2);
Dcore.spec.js68 const ambientColor = CanvasKit.Malloc(Float32Array, 4);
70 const spotColor = CanvasKit.Malloc(Float32Array, 4);
155 const rdsData = CanvasKit.Malloc(Uint8Array, 512 * 5*512 * 4);
540 const colors = CanvasKit.Malloc(Float32Array, 12);
1012 const mZPlane = CanvasKit.Malloc(Float32Array, 3);
1014 const mLight = CanvasKit.Malloc(Float32Array, 3);
1090 const mObj = CanvasKit.Malloc(Uint8Array, CANVAS_WIDTH * CANVAS_HEIGHT * 4);
1239 const mThings = CanvasKit.Malloc(Float32Array, 6);
1264 const rdsData = CanvasKit.Malloc(Uint8Array, 5 * 5 * 4);
/external/llvm-project/clang/test/Analysis/diagnostics/Inputs/expected-sarif/
Dsarif-multi-diagnostic-test.c.sarif365 "ruleId": "unix.Malloc",
470 "helpUri": "https://clang-analyzer.llvm.org/available_checks.html#unix.Malloc",
471 "id": "unix.Malloc",
472 "name": "unix.Malloc"
/external/llvm-project/compiler-rt/lib/scudo/standalone/
Dwrappers_c.inc32 Product, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT, true));
36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
59 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
125 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
127 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
211 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
/external/scudo/standalone/
Dwrappers_c.inc32 Product, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT, true));
36 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
59 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
125 size, scudo::Chunk::Origin::Malloc, SCUDO_MALLOC_ALIGNMENT));
127 SCUDO_ALLOCATOR.deallocate(ptr, scudo::Chunk::Origin::Malloc);
211 SCUDO_ALLOCATOR.allocate(size, scudo::Chunk::Origin::Malloc, alignment));
/external/llvm-project/polly/lib/CodeGen/
DManagedMemoryRewrite.cpp360 Function *Malloc = M.getFunction("malloc"); in runOnModule() local
362 if (Malloc) { in runOnModule()
367 replaceAllUsesAndConstantUses(Malloc, PollyMallocManaged, Builder); in runOnModule()
368 Malloc->eraseFromParent(); in runOnModule()
/external/skia/modules/canvaskit/
Dinterface.js11 _scratchColor = CanvasKit.Malloc(Float32Array, 4); // 4 color scalars.
14 _scratch4x4Matrix = CanvasKit.Malloc(Float32Array, 16); // 16 matrix scalars.
17 _scratch3x3Matrix = CanvasKit.Malloc(Float32Array, 9); // 9 matrix scalars.
20 _scratchRRect = CanvasKit.Malloc(Float32Array, 12); // 4 scalars for rrect, 8 for radii.
23 _scratchRRect2 = CanvasKit.Malloc(Float32Array, 12); // 4 scalars for rrect, 8 for radii.
26 _scratchFourFloatsA = CanvasKit.Malloc(Float32Array, 4);
29 _scratchFourFloatsB = CanvasKit.Malloc(Float32Array, 4);
32 _scratchThreeFloatsA = CanvasKit.Malloc(Float32Array, 3); // 3 floats to represent SkVector3
35 _scratchThreeFloatsB = CanvasKit.Malloc(Float32Array, 3); // 3 floats to represent SkVector3
38 _scratchIRect = CanvasKit.Malloc(Int32Array, 4);
DCHANGELOG.md93 - `Canvas.drawShadow()` now accepts zPlaneParams and lightPos as Malloc'ed and regular
228 Float32Array or a piece of memory returned by CanvasKit.Malloc. These floats are the
232 returned by CanvasKit.Malloc. These ints are the left, top, right, bottom numbers of
236 Float32Array or a piece of memory returned by CanvasKit.Malloc. The first 4 floats
261 - `SkTextBlob.MakeFromRSXform` also accepts a (possibly Malloc'd) Float32Array of RSXforms (
302 `CanvasKit.Malloc` is the better tool and will replace these soon.
352 `Malloc.toTypedArray`).
364 - Color arrays may also be objects created with CanvasKit.Malloc
370 - `TextStyle.color` can correctly be a Malloc'd Float32Array.
403 - `CanvasKit.Free` to explicitly clean up memory after `CanvasKit.Malloc`. All memory allocated
[all …]
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts87 const someMatrix = CK.Malloc(Float32Array, 16); // Make sure matrixes can be malloc'd.
146 const mallocedVector3 = CK.Malloc(Float32Array, 3);
164 const m = CK.Malloc(Uint8Array, 10);
281 const m = CK.Malloc(Uint8Array, 10);
375 const mallocedVector3 = CK.Malloc(Float32Array, 3);
422 const verbs = CK.Malloc(Uint8Array, 10);
423 const points = CK.Malloc(Float32Array, 10);
600 const mFoo = CK.Malloc(Float32Array, 5);
833 const m = CK.Malloc(Uint8Array, 5 * 5 * 4);
874 const mXforms = CK.Malloc(Float32Array, ids.length * 4);
/external/clang/test/Analysis/
DNewDelete-intersections.mm12 // Check for intersections with unix.Malloc and unix.MallocWithAnnotations
16 //----- malloc()/free() are subjects of unix.Malloc and unix.MallocWithAnnotations
Dexceptions.mm1 …xceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspecti…
/external/perfetto/src/profiling/memory/
Dwire_protocol.cc89 case RecordType::Malloc: { in SendWireMessage()
138 if (*record_type == RecordType::Malloc) { in ReceiveWireMessage()
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental.cc231 void* data = tensorflow::port::Malloc(value.length()); in TFE_MonitoringStringGaugeCellValue()
394 void* data = tensorflow::port::Malloc(content.length()); in TFE_MonitoringSamplerCellValue()
548 void* data = tensorflow::port::Malloc(str.length()); in TFE_HostAddressSpace()
566 void* data = tensorflow::port::Malloc(str.length()); in TFE_ContextGetFunctionDef()
677 void* data = tensorflow::port::Malloc(op_names_str.length()); in TFE_GetExecutedOpNames()
/external/tensorflow/tensorflow/core/platform/
Dmem.h32 void* Malloc(size_t size);
Dnuma_test.cc30 TEST(Numa, Malloc) { in TEST() argument
/external/llvm-project/openmp/libomptarget/plugins/amdgpu/impl/
Drt.h70 static atmi_status_t Malloc(void **, size_t, atmi_mem_place_t);
Ddata.cpp57 atmi_status_t Runtime::Malloc(void **ptr, size_t size, atmi_mem_place_t place) { in Malloc() function in core::Runtime
/external/tensorflow/tensorflow/core/platform/default/
Dport.cc240 if (minimum_alignment < required_alignment) return Malloc(size); in AlignedMalloc()
252 void* Malloc(size_t size) { return malloc(size); } in Malloc() function
/external/skqp/src/compute/hs/cuda/bench/
Dmain.c293 cuda(Malloc(&random_d,size_hi_in)); in hs_bench()
294 cuda(Malloc(&vin_d, size_hi_in)); in hs_bench()
295 cuda(Malloc(&vout_d, size_hi_out)); in hs_bench()
/external/llvm-project/clang/test/Analysis/
Dexceptions.mm1 …xceptions -fobjc-exceptions -fcxx-exceptions -analyzer-checker=core,unix.Malloc,debug.ExprInspecti…
/external/llvm-project/lldb/source/Expression/
DLLVMUserExpression.cpp317 m_materialized_address = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
341 m_stack_frame_bottom = m_execution_unit_sp->Malloc( in PrepareToExecuteJITExpression()
/external/gwp_asan/
DMETADATA7 "GWP-ASan is based on the classic Electric Fence Malloc Debugger "

12345