/third_party/skia/src/core/ |
H A D | SkRasterPipelineBlitter.cpp | 34 SkArenaAlloc* alloc) in SkRasterPipelineBlitter() 37 , fAlloc(alloc) in SkRasterPipelineBlitter() 38 , fColorPipeline(alloc) in SkRasterPipelineBlitter() 91 SkArenaAlloc* alloc, in SkCreateRasterPipelineBlitter() 109 shaderPipeline.append_constant_color(alloc, paintColor.premul().vec()); in SkCreateRasterPipelineBlitter() 112 return SkRasterPipelineBlitter::Create(dst, paint, alloc, in SkCreateRasterPipelineBlitter() 121 {&shaderPipeline, alloc, dstCT, dstCS, paint, nullptr, matrixProvider})) { in SkCreateRasterPipelineBlitter() 124 alloc->make<float>(paintColor.fA)); in SkCreateRasterPipelineBlitter() 126 return SkRasterPipelineBlitter::Create(dst, paint, alloc, in SkCreateRasterPipelineBlitter() 139 SkArenaAlloc* alloc, in SkCreateRasterPipelineBlitter() 32 SkRasterPipelineBlitter(SkPixmap dst, SkBlendMode blend, SkArenaAlloc* alloc) SkRasterPipelineBlitter() argument 88 SkCreateRasterPipelineBlitter(const SkPixmap& dst, const SkPaint& paint, const SkMatrixProvider& matrixProvider, SkArenaAlloc* alloc, sk_sp<SkShader> clipShader) SkCreateRasterPipelineBlitter() argument 135 SkCreateRasterPipelineBlitter(const SkPixmap& dst, const SkPaint& paint, const SkRasterPipeline& shaderPipeline, bool is_opaque, SkArenaAlloc* alloc, sk_sp<SkShader> clipShader) SkCreateRasterPipelineBlitter() argument 147 Create(const SkPixmap& dst, const SkPaint& paint, SkArenaAlloc* alloc, const SkRasterPipeline& shaderPipeline, bool is_opaque, bool is_constant, sk_sp<SkShader> clipShader) Create() argument [all...] |
H A D | SkDrawLooper.cpp | 35 SkSTArenaAlloc<48> alloc; in canComputeFastBounds() local 37 SkDrawLooper::Context* context = this->makeContext(&alloc); in canComputeFastBounds() 57 SkSTArenaAlloc<48> alloc; in computeFastBounds() local 60 SkDrawLooper::Context* context = this->makeContext(&alloc); in computeFastBounds() 88 SkSTArenaAlloc<256> alloc; in apply() local 89 Context* ctx = this->makeContext(&alloc); in apply()
|
/third_party/node/deps/openssl/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 19 OSSL_PARAM *d, *alloc = NULL; in ossl_rsa_acvp_test_gen_params_new() local 38 alloc = OPENSSL_zalloc(sizeof(settable)); in ossl_rsa_acvp_test_gen_params_new() 39 if (alloc == NULL) in ossl_rsa_acvp_test_gen_params_new() 42 d = alloc; in ossl_rsa_acvp_test_gen_params_new() 56 ossl_rsa_acvp_test_gen_params_free(alloc); in ossl_rsa_acvp_test_gen_params_new() 57 alloc = NULL; in ossl_rsa_acvp_test_gen_params_new() 61 *dst = alloc; in ossl_rsa_acvp_test_gen_params_new()
|
/third_party/openssl/crypto/rsa/ |
H A D | rsa_acvp_test_params.c | 19 OSSL_PARAM *d, *alloc = NULL; in ossl_rsa_acvp_test_gen_params_new() local 38 alloc = OPENSSL_zalloc(sizeof(settable)); in ossl_rsa_acvp_test_gen_params_new() 39 if (alloc == NULL) in ossl_rsa_acvp_test_gen_params_new() 42 d = alloc; in ossl_rsa_acvp_test_gen_params_new() 56 ossl_rsa_acvp_test_gen_params_free(alloc); in ossl_rsa_acvp_test_gen_params_new() 57 alloc = NULL; in ossl_rsa_acvp_test_gen_params_new() 61 *dst = alloc; in ossl_rsa_acvp_test_gen_params_new()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/ |
H A D | flat_hash_set.h | 461 static void construct(Allocator* alloc, slot_type* slot, Args&&... args) { in construct() 462 absl::allocator_traits<Allocator>::construct(*alloc, slot, in construct() 467 static void destroy(Allocator* alloc, slot_type* slot) { in destroy() 468 absl::allocator_traits<Allocator>::destroy(*alloc, slot); in destroy() 472 static void transfer(Allocator* alloc, slot_type* new_slot, in transfer() 474 construct(alloc, new_slot, std::move(*old_slot)); in transfer() 475 destroy(alloc, old_slot); in transfer()
|
H A D | inlined_vector.h | 114 // Creates an empty inlined vector with a copy of `alloc`. 115 explicit InlinedVector(const allocator_type& alloc) noexcept 116 : storage_(alloc) {} in storage_() 120 const allocator_type& alloc = allocator_type()) in InlinedVector() 121 : storage_(alloc) { in InlinedVector() 127 const allocator_type& alloc = allocator_type()) in InlinedVector() 128 : storage_(alloc) { in InlinedVector() 134 const allocator_type& alloc = allocator_type()) in InlinedVector() 135 : InlinedVector(list.begin(), list.end(), alloc) {} in InlinedVector() 146 const allocator_type& alloc in InlinedVector() 168 InlinedVector(const InlinedVector& other, const allocator_type& alloc) InlinedVector() argument [all...] |
/third_party/lzma/C/ |
H A D | 7zBuf.h | 18 int Buf_Create(CBuf *p, size_t size, ISzAllocPtr alloc);
19 void Buf_Free(CBuf *p, ISzAllocPtr alloc);
30 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAllocPtr alloc);
31 void DynBuf_Free(CDynBuf *p, ISzAllocPtr alloc);
|
H A D | 7zBuf.c | 14 int Buf_Create(CBuf *p, size_t size, ISzAllocPtr alloc)
in Buf_Create() argument 22 p->data = (Byte *)ISzAlloc_Alloc(alloc, size);
in Buf_Create() 31 void Buf_Free(CBuf *p, ISzAllocPtr alloc)
in Buf_Free() argument 33 ISzAlloc_Free(alloc, p->data);
in Buf_Free()
|
H A D | LzmaEnc.h | 61 CLzmaEncHandle LzmaEnc_Create(ISzAllocPtr alloc);
62 void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAllocPtr alloc, ISzAllocPtr allocBig);
70 ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig);
72 int writeEndMark, ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig);
79 ICompressProgressPtr progress, ISzAllocPtr alloc, ISzAllocPtr allocBig);
|
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/ |
H A D | envelope.js | 6 return { payload: Buffer.alloc(0), payloadType: "", signatures: [] }; 11 payload: isSet(object.payload) ? Buffer.from(bytesFromBase64(object.payload)) : Buffer.alloc(0), 19 (obj.payload = base64FromBytes(message.payload !== undefined ? message.payload : Buffer.alloc(0))); 31 return { sig: Buffer.alloc(0), keyid: "" }; 36 sig: isSet(object.sig) ? Buffer.from(bytesFromBase64(object.sig)) : Buffer.alloc(0), 42 message.sig !== undefined && (obj.sig = base64FromBytes(message.sig !== undefined ? message.sig : Buffer.alloc(0)));
|
H A D | sigstore_rekor.js | 37 return { logIndex: "0", rootHash: Buffer.alloc(0), treeSize: "0", hashes: [], checkpoint: undefined }; 43 rootHash: isSet(object.rootHash) ? Buffer.from(bytesFromBase64(object.rootHash)) : Buffer.alloc(0), 53 (obj.rootHash = base64FromBytes(message.rootHash !== undefined ? message.rootHash : Buffer.alloc(0))); 56 obj.hashes = message.hashes.map((e) => base64FromBytes(e !== undefined ? e : Buffer.alloc(0))); 67 return { signedEntryTimestamp: Buffer.alloc(0) }; 74 : Buffer.alloc(0), 80 (obj.signedEntryTimestamp = base64FromBytes(message.signedEntryTimestamp !== undefined ? message.signedEntryTimestamp : Buffer.alloc(0))); 92 canonicalizedBody: Buffer.alloc(0), 106 : Buffer.alloc(0), 121 (obj.canonicalizedBody = base64FromBytes(message.canonicalizedBody !== undefined ? message.canonicalizedBody : Buffer.alloc( [all...] |
/third_party/skia/tests/ |
H A D | RecordTest.cpp | 109 REPORTER_ASSERT(r, is_aligned(record.alloc<uint8_t>())); in DEF_TEST() 110 REPORTER_ASSERT(r, is_aligned(record.alloc<uint16_t>())); in DEF_TEST() 111 REPORTER_ASSERT(r, is_aligned(record.alloc<uint32_t>())); in DEF_TEST() 112 REPORTER_ASSERT(r, is_aligned(record.alloc<void*>())); in DEF_TEST() 116 REPORTER_ASSERT(r, is_aligned(record.alloc<double>())); in DEF_TEST() 117 REPORTER_ASSERT(r, is_aligned(record.alloc<uint64_t>())); in DEF_TEST()
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
H A D | lvp_pipeline_cache.c | 37 cache = vk_alloc2(&device->vk.alloc, pAllocator, in lvp_CreatePipelineCache() 46 cache->alloc = *pAllocator; in lvp_CreatePipelineCache() 48 cache->alloc = device->vk.alloc; in lvp_CreatePipelineCache() 68 vk_free2(&device->vk.alloc, pAllocator, cache); in lvp_DestroyPipelineCache()
|
/third_party/node/deps/v8/src/heap/ |
H A D | local-heap-inl.h | 40 AllocationResult alloc; in AllocateRaw() local 42 alloc = in AllocateRaw() 45 alloc = in AllocateRaw() 49 if (alloc.To(&object) && !V8_ENABLE_THIRD_PARTY_HEAP_BOOL) { in AllocateRaw() 54 return alloc; in AllocateRaw()
|
/third_party/skia/src/gpu/ |
H A D | GrWritePixelsRenderTask.cpp | 45 void GrWritePixelsTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals() 46 alloc->addInterval(this->target(0), alloc->curOp(), alloc->curOp(), in gatherProxyIntervals() 48 alloc->incOps(); in gatherProxyIntervals()
|
/third_party/mesa3d/src/intel/vulkan/ |
H A D | anv_batch_chain.c | 57 const VkAllocationCallbacks *alloc) in anv_reloc_list_init() 65 const VkAllocationCallbacks *alloc, in anv_reloc_list_init_clone() 73 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone() 79 vk_alloc(alloc, list->array_length * sizeof(*list->reloc_bos), 8, in anv_reloc_list_init_clone() 82 vk_free(alloc, list->relocs); in anv_reloc_list_init_clone() 99 vk_alloc(alloc, list->dep_words * sizeof(BITSET_WORD), 8, in anv_reloc_list_init_clone() 112 const VkAllocationCallbacks *alloc) in anv_reloc_list_finish() 114 vk_free(alloc, list->relocs); in anv_reloc_list_finish() 115 vk_free(alloc, list->reloc_bos); in anv_reloc_list_finish() 116 vk_free(alloc, lis in anv_reloc_list_finish() 56 anv_reloc_list_init(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc) anv_reloc_list_init() argument 64 anv_reloc_list_init_clone(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc, const struct anv_reloc_list *other_list) anv_reloc_list_init_clone() argument 111 anv_reloc_list_finish(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc) anv_reloc_list_finish() argument 120 anv_reloc_list_grow(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc, size_t num_additional_relocs) anv_reloc_list_grow() argument 153 anv_reloc_list_grow_deps(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc, uint32_t min_num_words) anv_reloc_list_grow_deps() argument 182 anv_reloc_list_add_bo(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc, struct anv_bo *target_bo) anv_reloc_list_add_bo() argument 201 anv_reloc_list_add(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc, uint32_t offset, struct anv_bo *target_bo, uint32_t delta, uint64_t *address_u64_out) anv_reloc_list_add() argument 248 anv_reloc_list_append(struct anv_reloc_list *list, const VkAllocationCallbacks *alloc, struct anv_reloc_list *other, uint32_t offset) anv_reloc_list_append() argument 1214 const VkAllocationCallbacks * alloc; global() member [all...] |
/third_party/cups-filters/filter/foomatic-rip/ |
H A D | renderer.c | 143 size_t alloc = 64, len = 0; in read_line() local 146 line = malloc(alloc); in read_line() 149 if (len >= alloc -1) { in read_line() 150 alloc *= 2; in read_line() 151 line = realloc(line, alloc); in read_line() 182 size_t alloc = 8, cnt = 0; in read_jcl_lines() local 184 result = malloc(alloc * sizeof(char *)); in read_jcl_lines() 189 if (cnt >= alloc -1) in read_jcl_lines() 191 alloc *= 2; in read_jcl_lines() 192 result = realloc(result, alloc * sizeo in read_jcl_lines() [all...] |
/third_party/node/deps/npm/node_modules/cli-table3/src/ |
H A D | layout-manager.js | 6 function next(alloc, col) { 7 if (alloc[col] > 0) { 8 return next(alloc, col + 1); 14 let alloc = {}; 20 cell.x = rowIndex ? next(alloc, col) : col; 25 alloc[cell.x + cs] = rowSpan; 30 Object.keys(alloc).forEach((idx) => { 31 alloc[idx]--; 32 if (alloc[idx] < 1) delete alloc[id [all...] |
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_query.c | 60 const VkAllocationCallbacks *alloc) in dzn_query_pool_destroy() 86 vk_free2(&device->vk.alloc, alloc, qpool); in dzn_query_pool_destroy() 92 const VkAllocationCallbacks *alloc, in dzn_query_pool_create() 99 if (!vk_multialloc_zalloc2(&ma, &device->vk.alloc, alloc, in dzn_query_pool_create() 119 dzn_query_pool_destroy(qpool, alloc); in dzn_query_pool_create() 158 dzn_query_pool_destroy(qpool, alloc); in dzn_query_pool_create() 173 dzn_query_pool_destroy(qpool, alloc); in dzn_query_pool_create() 179 dzn_query_pool_destroy(qpool, alloc); in dzn_query_pool_create() 59 dzn_query_pool_destroy(struct dzn_query_pool *qpool, const VkAllocationCallbacks *alloc) dzn_query_pool_destroy() argument 90 dzn_query_pool_create(struct dzn_device *device, const VkQueryPoolCreateInfo *info, const VkAllocationCallbacks *alloc, VkQueryPool *out) dzn_query_pool_create() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_mm.c | 174 struct nouveau_mm_allocation *alloc; in nouveau_mm_allocate() local 189 alloc = MALLOC_STRUCT(nouveau_mm_allocation); in nouveau_mm_allocate() 190 if (!alloc) in nouveau_mm_allocate() 216 alloc->offset = *offset; in nouveau_mm_allocate() 217 alloc->priv = (void *)slab; in nouveau_mm_allocate() 219 return alloc; in nouveau_mm_allocate() 223 nouveau_mm_free(struct nouveau_mm_allocation *alloc) in nouveau_mm_free() argument 225 struct mm_slab *slab = (struct mm_slab *)alloc->priv; in nouveau_mm_free() 229 mm_slab_free(slab, alloc->offset >> slab->order); in nouveau_mm_free() 241 FREE(alloc); in nouveau_mm_free() [all...] |
/third_party/skia/modules/particles/src/ |
H A D | SkParticleBinding.cpp | 53 SkArenaAlloc* alloc) in SkPathExternalFunction() 55 name, compiler, *compiler.context().fTypes.fFloat4, uniforms, alloc) in SkPathExternalFunction() 101 SkArenaAlloc* alloc) override { 103 alloc); 140 SkArenaAlloc* alloc) override { 142 alloc); 171 SkArenaAlloc* alloc) in SkShaderExternalFunction() 173 name, compiler, *compiler.context().fTypes.fFloat4, uniforms, alloc) in SkShaderExternalFunction() 222 SkArenaAlloc* alloc) override { 224 uniforms, alloc); 49 SkPathExternalFunction(const char* name, SkSL::Compiler& compiler, const LinearizedPath& path, skvm::Uniforms* uniforms, SkArenaAlloc* alloc) SkPathExternalFunction() argument 167 SkShaderExternalFunction(const char* name, SkSL::Compiler& compiler, sk_sp<SkShader> shader, skvm::Uniforms* uniforms, SkArenaAlloc* alloc) SkShaderExternalFunction() argument [all...] |
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_wsi.h | 37 const VkAllocationCallbacks *alloc, 45 const VkAllocationCallbacks *alloc, 71 const VkAllocationCallbacks *alloc, in vn_wsi_create_image() 82 const VkAllocationCallbacks *alloc, in vn_wsi_create_image_from_swapchain() 68 vn_wsi_create_image(struct vn_device *dev, const VkImageCreateInfo *create_info, const struct wsi_image_create_info *wsi_info, const VkAllocationCallbacks *alloc, struct vn_image **out_img) vn_wsi_create_image() argument 78 vn_wsi_create_image_from_swapchain( struct vn_device *dev, const VkImageCreateInfo *create_info, const VkImageSwapchainCreateInfoKHR *swapchain_info, const VkAllocationCallbacks *alloc, struct vn_image **out_img) vn_wsi_create_image_from_swapchain() argument
|
H A D | vn_device_memory.c | 31 const VkAllocationCallbacks *alloc = &dev->base.base.alloc; in vn_device_memory_pool_grow_alloc() local 40 mem = vk_zalloc(alloc, sizeof(*mem), VN_DEFAULT_ALIGN, in vn_device_memory_pool_grow_alloc() 86 vk_free(alloc, mem); in vn_device_memory_pool_grow_alloc() 105 const VkAllocationCallbacks *alloc = &dev->base.base.alloc; in vn_device_memory_pool_unref() local 119 vk_free(alloc, pool_mem); in vn_device_memory_pool_unref() 410 const VkAllocationCallbacks *alloc = in vn_AllocateMemory() local 411 pAllocator ? pAllocator : &dev->base.base.alloc; in vn_AllocateMemory() 445 vk_zalloc(alloc, sizeo in vn_AllocateMemory() 493 const VkAllocationCallbacks *alloc = vn_FreeMemory() local [all...] |
/third_party/protobuf/js/binary/ |
H A D | decoder_test.js | 74 var decoder = jspb.BinaryDecoder.alloc(encoder.end()); 129 var decoder = jspb.BinaryDecoder.alloc(encoder.end()); 164 jspb.BinaryDecoder.alloc().free(); 171 var decoder1 = jspb.BinaryDecoder.alloc(); 172 var decoder2 = jspb.BinaryDecoder.alloc(); 173 var decoder3 = jspb.BinaryDecoder.alloc(); 207 decoder = jspb.BinaryDecoder.alloc(encoder.end()); 263 decoder = jspb.BinaryDecoder.alloc(encoder.end()); 324 var zigzagDecoder = jspb.BinaryDecoder.alloc(buffer); 325 var varintDecoder = jspb.BinaryDecoder.alloc(buffe [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Demangle/ |
H A D | MicrosoftDemangle.cpp | 257 NamedIdentifierNode *NI = Arena.alloc<NamedIdentifierNode>(); in demangleSpecialTableSymbolNode() 275 SpecialTableSymbolNode *STSN = Arena.alloc<SpecialTableSymbolNode>(); in demangleSpecialTableSymbolNode() 297 Arena.alloc<LocalStaticGuardIdentifierNode>(); in demangleLocalStaticGuard() 301 Arena.alloc<LocalStaticGuardVariableNode>(); in demangleLocalStaticGuard() 320 NamedIdentifierNode *Id = Arena.alloc<NamedIdentifierNode>(); in synthesizeNamedIdentifier() 327 QualifiedNameNode *QN = Arena.alloc<QualifiedNameNode>(); in synthesizeQualifiedName() 328 QN->Components = Arena.alloc<NodeArrayNode>(); in synthesizeQualifiedName() 344 VariableSymbolNode *VSN = Arena.alloc<VariableSymbolNode>(); in synthesizeVariable() 354 VariableSymbolNode *VSN = Arena.alloc<VariableSymbolNode>(); in demangleUntypedVariable() 367 Arena.alloc<RttiBaseClassDescriptorNod in demangleRttiBaseClassDescriptorNode() [all...] |