/third_party/lzma/C/ |
H A D | XzEnc.c | 124 static void XzEncIndex_Free(CXzEncIndex *p, ISzAllocPtr alloc)
in XzEncIndex_Free() argument 128 ISzAlloc_Free(alloc, p->blocks);
in XzEncIndex_Free() 137 static SRes XzEncIndex_ReAlloc(CXzEncIndex *p, size_t newSize, ISzAllocPtr alloc)
in XzEncIndex_ReAlloc() argument 139 Byte *blocks = (Byte *)ISzAlloc_Alloc(alloc, newSize);
in XzEncIndex_ReAlloc() 145 ISzAlloc_Free(alloc, p->blocks);
in XzEncIndex_ReAlloc() 152 static SRes XzEncIndex_PreAlloc(CXzEncIndex *p, UInt64 numBlocks, UInt64 unpackSize, UInt64 totalSize, ISzAllocPtr alloc)
in XzEncIndex_PreAlloc() argument 169 return XzEncIndex_ReAlloc(p, newSize, alloc);
in XzEncIndex_PreAlloc() 174 static SRes XzEncIndex_AddIndexRecord(CXzEncIndex *p, UInt64 unpackSize, UInt64 totalSize, ISzAllocPtr alloc)
in XzEncIndex_AddIndexRecord() argument 185 RINOK(XzEncIndex_ReAlloc(p, newSize, alloc))
in XzEncIndex_AddIndexRecord() 360 static SRes SeqInFilter_Init(CSeqInFilter *p, const CXzFilter *props, ISzAllocPtr alloc)
in SeqInFilter_Init() argument 419 SeqInFilter_Free(CSeqInFilter *p, ISzAllocPtr alloc) SeqInFilter_Free() argument 474 SbEncInStream_Construct(CSbEncInStream *p, ISzAllocPtr alloc) SbEncInStream_Construct() argument 701 Lzma2WithFilters_Create(CLzma2WithFilters *p, ISzAllocPtr alloc, ISzAllocPtr bigAlloc) Lzma2WithFilters_Create() argument 713 Lzma2WithFilters_Free(CLzma2WithFilters *p, ISzAllocPtr alloc) Lzma2WithFilters_Free() argument 736 Xz_CompressBlock( CLzma2WithFilters *lzmaf, ISeqOutStreamPtr outStream, Byte *outBufHeader, Byte *outBufData, size_t outBufDataLimit, ISeqInStreamPtr inStream, const Byte *inBuf, size_t inBufSize, const CXzProps *props, ICompressProgressPtr progress, int *inStreamFinished, CXzEncBlockInfo *blockSizes, ISzAllocPtr alloc, ISzAllocPtr allocBig) Xz_CompressBlock() argument 960 ISzAllocPtr alloc; global() member 1016 XzEnc_Free(CXzEnc *p, ISzAllocPtr alloc) XzEnc_Free() argument 1036 XzEnc_Create(ISzAllocPtr alloc, ISzAllocPtr allocBig) XzEnc_Create() argument [all...] |
H A D | 7zArcIn.c | 13 #define MY_ALLOC(T, p, size, alloc) \
14 { if ((p = (T *)ISzAlloc_Alloc(alloc, (size) * sizeof(T))) == NULL) return SZ_ERROR_MEM; }
16 #define MY_ALLOC_ZE(T, p, size, alloc) \
17 { if ((size) == 0) p = NULL; else MY_ALLOC(T, p, size, alloc) }
19 #define MY_ALLOC_AND_CPY(to, size, from, alloc) \
20 { MY_ALLOC(Byte, to, size, alloc); memcpy(to, from, size); }
22 #define MY_ALLOC_ZE_AND_CPY(to, size, from, alloc) \
23 { if ((size) == 0) to = NULL; else { MY_ALLOC_AND_CPY(to, size, from, alloc) } }
64 static SRes SzBitUi32s_Alloc(CSzBitUi32s *p, size_t num, ISzAllocPtr alloc)
in SzBitUi32s_Alloc() argument 73 MY_ALLOC(Byte, p->Defs, (num + 7) >> 3, alloc)
in SzBitUi32s_Alloc() 79 SzBitUi32s_Free(CSzBitUi32s *p, ISzAllocPtr alloc) SzBitUi32s_Free() argument 87 SzBitUi64s_Free(CSzBitUi64s *p, ISzAllocPtr alloc) SzBitUi64s_Free() argument 113 SzAr_Free(CSzAr *p, ISzAllocPtr alloc) SzAr_Free() argument 153 SzArEx_Free(CSzArEx *p, ISzAllocPtr alloc) SzArEx_Free() argument 320 ReadBitVector(CSzData *sd, UInt32 numItems, Byte **v, ISzAllocPtr alloc) ReadBitVector() argument 348 ReadUi32s(CSzData *sd2, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr alloc) ReadUi32s() argument 369 ReadBitUi32s(CSzData *sd, UInt32 numItems, CSzBitUi32s *crcs, ISzAllocPtr alloc) ReadBitUi32s() argument 395 ReadPackInfo(CSzAr *p, CSzData *sd, ISzAllocPtr alloc) ReadPackInfo() argument 646 ReadUnpackInfo(CSzAr *p, CSzData *sd2, UInt32 numFoldersMax, const CBuf *tempBufs, UInt32 numTempBufs, ISzAllocPtr alloc) ReadUnpackInfo() argument 944 SzReadStreamsInfo(CSzAr *p, CSzData *sd, UInt32 numFoldersMax, const CBuf *tempBufs, UInt32 numTempBufs, UInt64 *dataOffset, CSubStreamInfo *ssi, ISzAllocPtr alloc) SzReadStreamsInfo() argument 1059 ReadTime(CSzBitUi64s *p, UInt32 num, CSzData *sd2, const CBuf *tempBufs, UInt32 numTempBufs, ISzAllocPtr alloc) ReadTime() argument [all...] |
H A D | 7zBuf2.c | 22 int DynBuf_Write(CDynBuf *p, const Byte *buf, size_t size, ISzAllocPtr alloc)
in DynBuf_Write() argument 29 data = (Byte *)ISzAlloc_Alloc(alloc, newSize);
in DynBuf_Write() 35 ISzAlloc_Free(alloc, p->data);
in DynBuf_Write() 46 void DynBuf_Free(CDynBuf *p, ISzAllocPtr alloc)
in DynBuf_Free() argument 48 ISzAlloc_Free(alloc, p->data);
in DynBuf_Free()
|
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);
|
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_buffer.c | 47 const VkAllocationCallbacks *alloc, in vk_buffer_create() 51 vk_zalloc2(&device->alloc, alloc, size, 8, in vk_buffer_create() 69 const VkAllocationCallbacks *alloc, in vk_buffer_destroy() 72 vk_object_free(device, alloc, buffer); in vk_buffer_destroy() 45 vk_buffer_create(struct vk_device *device, const VkBufferCreateInfo *pCreateInfo, const VkAllocationCallbacks *alloc, size_t size) vk_buffer_create() argument 68 vk_buffer_destroy(struct vk_device *device, const VkAllocationCallbacks *alloc, struct vk_buffer *buffer) vk_buffer_destroy() argument
|
H A D | vk_cmd_enqueue.c | 43 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdDrawMultiEXT() 55 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiEXT() 81 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT() 94 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT() 112 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdDrawMultiIndexedEXT() 133 vk_zalloc(cmd_buffer->cmd_queue.alloc, sizeof(*cmd), 8, in vk_cmd_enqueue_CmdPushDescriptorSetKHR() 150 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR() 165 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR() 175 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR() 188 vk_zalloc(cmd_buffer->cmd_queue.alloc, in vk_cmd_enqueue_CmdPushDescriptorSetKHR() [all...] |
/third_party/node/deps/npm/node_modules/@sigstore/protobuf-specs/dist/__generated__/ |
H A D | sigstore_common.js | 300 return { algorithm: 0, digest: Buffer.alloc(0) }; 306 digest: isSet(object.digest) ? Buffer.from(bytesFromBase64(object.digest)) : Buffer.alloc(0), 313 (obj.digest = base64FromBytes(message.digest !== undefined ? message.digest : Buffer.alloc(0))); 318 return { messageDigest: undefined, signature: Buffer.alloc(0) }; 324 signature: isSet(object.signature) ? Buffer.from(bytesFromBase64(object.signature)) : Buffer.alloc(0), 332 (obj.signature = base64FromBytes(message.signature !== undefined ? message.signature : Buffer.alloc(0))); 337 return { keyId: Buffer.alloc(0) }; 341 return { keyId: isSet(object.keyId) ? Buffer.from(bytesFromBase64(object.keyId)) : Buffer.alloc(0) }; 346 (obj.keyId = base64FromBytes(message.keyId !== undefined ? message.keyId : Buffer.alloc(0))); 351 return { signedTimestamp: Buffer.alloc( [all...] |
/third_party/rust/crates/shlex/src/ |
H A D | lib.rs | 19 //! `no_std` environments, where the `alloc` crate, and a global allocator, are available. 23 extern crate alloc; 24 use alloc::vec::Vec; 25 use alloc::borrow::Cow; 26 use alloc::string::String; 28 use alloc::vec; 30 use alloc::borrow::ToOwned;
|
/third_party/libwebsockets/lib/misc/lwsac/ |
H A D | lwsac.c | 99 size_t ofs, alloc, al, hp; in _lwsac_use() local 137 alloc = LWSAC_CHUNK_SIZE + hp; in _lwsac_use() 139 alloc = chunk_size + hp; in _lwsac_use() 146 if (al >= alloc - hp) in _lwsac_use() 147 alloc = al + hp; in _lwsac_use() 149 lwsl_debug("%s: alloc %d for %d\n", __func__, (int)alloc, (int)ensure); in _lwsac_use() 150 bf = malloc(alloc); in _lwsac_use() 152 lwsl_err("%s: OOM trying to alloc %llud\n", __func__, in _lwsac_use() 153 (unsigned long long)alloc); in _lwsac_use() [all...] |
/third_party/curl/lib/ |
H A D | escape.c | 124 size_t alloc; in Curl_urldecode() local 130 alloc = (length?length:strlen(string)); in Curl_urldecode() 131 ns = malloc(alloc + 1); in Curl_urldecode() 139 while(alloc) { in Curl_urldecode() 141 if(('%' == in) && (alloc > 2) && in Curl_urldecode() 147 alloc -= 3; in Curl_urldecode() 151 alloc--; in Curl_urldecode()
|
/third_party/python/Mac/Tools/ |
H A D | plistlib_generate_testdata.py | 21 return NSString.alloc().initWithString_(value) 45 dd[nsstr('c')] = a = NSMutableArray.alloc().init() 52 pl[nsstr('aList')] = a = NSMutableArray.alloc().init() 57 aa = NSMutableArray.alloc().init() 67 pl[nsstr('anEmptyDict')] = NSMutableDictionary.alloc().init() 69 pl[nsstr('anEmptyList')] = NSMutableArray.alloc().init() 73 pl[nsstr('nestedData')] = a = NSMutableArray.alloc().init()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkMemUtil.cpp | 97 void flushAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) 99 flushMappedMemoryRange(vkd, device, alloc.getMemory(), alloc.getOffset(), VK_WHOLE_SIZE); 102 void invalidateAlloc (const DeviceInterface& vkd, VkDevice device, const Allocation& alloc) 104 invalidateMappedMemoryRange(vkd, device, alloc.getMemory(), alloc.getOffset(), VK_WHOLE_SIZE); 468 MovePtr<Allocation> alloc = allocator.allocate(getImageMemoryRequirements(vk, device, image), requirement); in bindImage() local 469 VK_CHECK(vk.bindImageMemory(device, image, alloc->getMemory(), alloc->getOffset())); in bindImage() 470 return alloc; in bindImage() 484 zeroBuffer(const DeviceInterface& vk, const VkDevice device, const Allocation& alloc, const VkDeviceSize size) zeroBuffer() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkGlyph.cpp | 70 size_t SkGlyph::allocImage(SkArenaAlloc* alloc) { in allocImage() argument 73 fImage = alloc->makeBytesAlignedTo(size, this->formatAlignment()); in allocImage() 78 bool SkGlyph::setImage(SkArenaAlloc* alloc, SkScalerContext* scalerContext) { in setImage() argument 83 this->allocImage(alloc); in setImage() 91 bool SkGlyph::setImage(SkArenaAlloc* alloc, const void* image) { in setImage() argument 93 this->allocImage(alloc); in setImage() 100 size_t SkGlyph::setMetricsAndImage(SkArenaAlloc* alloc, const SkGlyph& from) { in setMetricsAndImage() argument 117 if (from.fImage != nullptr && this->setImage(alloc, from.image())) { in setMetricsAndImage() 144 void SkGlyph::installPath(SkArenaAlloc* alloc, const SkPath* path) { in installPath() argument 147 fPathData = alloc in installPath() 156 setPath(SkArenaAlloc* alloc, SkScalerContext* scalerContext) setPath() argument 170 setPath(SkArenaAlloc* alloc, const SkPath* path) setPath() argument 288 ensureIntercepts(const SkScalar* bounds, SkScalar scale, SkScalar xPos, SkScalar* array, int* count, SkArenaAlloc* alloc) ensureIntercepts() argument [all...] |
/third_party/skia/third_party/externals/d3d12allocator/src/ |
H A D | Tests.cpp | 259 D3D12MA::Allocation* alloc = nullptr;
in TestFrameIndexAndJson() local 265 &alloc,
in TestFrameIndexAndJson() 286 alloc->Release();
in TestFrameIndexAndJson() 316 D3D12MA::Allocation* alloc = nullptr;
in TestCommittedResourcesAndJson() 322 &alloc,
in TestCommittedResourcesAndJson() 325 resources[i].allocation.reset(alloc);
in TestCommittedResourcesAndJson() 379 D3D12MA::Allocation* alloc = nullptr;
in TestCustomHeapFlags() local 380 CHECK_HR( ctx.allocator->AllocateMemory(&allocDesc, &resAllocInfo, &alloc) );
in TestCustomHeapFlags() 382 res.allocation.reset(alloc);
in TestCustomHeapFlags() 408 D3D12MA::Allocation* alloc in TestCustomHeapFlags() local 439 D3D12MA::Allocation* alloc = nullptr; TestPlacedResources() local 543 D3D12MA::Allocation* alloc = nullptr; TestOtherComInterface() local 782 D3D12MA::Allocation* alloc = NULL; TestAliasingMemory() local 829 D3D12MA::Allocation* alloc = nullptr; TestMapping() local 908 D3D12MA::Allocation* alloc = nullptr; TestStats() local 979 D3D12MA::Allocation* alloc = nullptr; TestTransfer() local 1067 D3D12MA::Allocation* alloc = nullptr; TestZeroInitialized() local [all...] |
/third_party/node/test/parallel/ |
H A D | test-buffer-fill.js | 303 Buffer.alloc(8, ''); 306 const buf = Buffer.alloc(64, 10); 338 const buf = Buffer.alloc(10, 'abc'); 347 () => { internalBinding('buffer').fill(Buffer.alloc(1), 1, -1, 0, 1); }, 360 Buffer.alloc(1).fill(Buffer.alloc(1), 0, end); 371 () => { internalBinding('buffer').fill(Buffer.alloc(1), 1, 1, -2, 1); }, 435 const bufEmptyString = Buffer.alloc(5, ''); 438 const bufEmptyArray = Buffer.alloc(5, []); 441 const bufEmptyBuffer = Buffer.alloc( [all...] |
H A D | test-crypto-authenticated-stream.js | 28 const expected = Buffer.alloc(plaintextLength); 44 const expected = Buffer.alloc(plaintextLength); 78 const expected = Buffer.alloc(plaintextLength); 128 aad: Buffer.alloc(1), 129 iv: Buffer.alloc(8), 130 key: Buffer.alloc(16), 137 aad: Buffer.alloc(1), 138 iv: Buffer.alloc(8), 139 key: Buffer.alloc(16),
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | PoolAlloc.cpp | 237 for (auto alloc : allocs) in ~PoolAllocator() 239 free(alloc); in ~PoolAllocator() 319 for (auto &alloc : mStack.back()) in pop() 321 free(alloc); in pop() 407 void *alloc = malloc(numBytes + mAlignment - 1); in allocate() 408 mStack.back().push_back(alloc); in allocate() 410 intptr_t intAlloc = reinterpret_cast<intptr_t>(alloc); in allocate() 481 for (const Allocation *alloc = this; alloc != nullptr; alloc in checkAllocList() [all...] |
/third_party/skia/src/gpu/ |
H A D | GrWaitRenderTask.cpp | 14 void GrWaitRenderTask::gatherProxyIntervals(GrResourceAllocator* alloc) const { in gatherProxyIntervals() 19 auto fakeOp = alloc->curOp(); in gatherProxyIntervals() 20 alloc->addInterval(fWaitedOn.proxy(), fakeOp, fakeOp, in gatherProxyIntervals() 22 alloc->incOps(); in gatherProxyIntervals()
|
/third_party/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common.c | 63 const VkAllocationCallbacks *alloc, in wsi_device_init() 75 wsi->instance_alloc = *alloc; in wsi_device_init() 168 result = wsi_x11_init_wsi(wsi, alloc, dri_options); in wsi_device_init() 174 result = wsi_wl_init_wsi(wsi, alloc, pdevice); in wsi_device_init() 180 result = wsi_win32_init_wsi(wsi, alloc, pdevice); in wsi_device_init() 186 result = wsi_display_init_wsi(wsi, alloc, display_fd); in wsi_device_init() 223 wsi_device_finish(wsi, alloc); in wsi_device_init() 230 const VkAllocationCallbacks *alloc) in wsi_device_finish() 233 wsi_display_finish_wsi(wsi, alloc); in wsi_device_finish() 236 wsi_wl_finish_wsi(wsi, alloc); in wsi_device_finish() 60 wsi_device_init(struct wsi_device *wsi, VkPhysicalDevice pdevice, WSI_FN_GetPhysicalDeviceProcAddr proc_addr, const VkAllocationCallbacks *alloc, int display_fd, const struct driOptionCache *dri_options, bool sw_device) wsi_device_init() argument 229 wsi_device_finish(struct wsi_device *wsi, const VkAllocationCallbacks *alloc) wsi_device_finish() argument 768 const VkAllocationCallbacks *alloc; wsi_CreateSwapchainKHR() local 814 const VkAllocationCallbacks *alloc; wsi_DestroySwapchainKHR() local [all...] |
H A D | wsi_common_private.h | 106 VkAllocationCallbacks alloc; member 273 const VkAllocationCallbacks *alloc, 276 const VkAllocationCallbacks *alloc); 278 const VkAllocationCallbacks *alloc, 281 const VkAllocationCallbacks *alloc); 283 const VkAllocationCallbacks *alloc, 286 const VkAllocationCallbacks *alloc); 291 const VkAllocationCallbacks *alloc, 296 const VkAllocationCallbacks *alloc);
|
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/ |
H A D | gap_le_if.c | 243 GapLeSetRoleInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLeSetRoleInfo)); in GAPIF_LeSetRole() 270 GapGeneralPointerInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralPointerInfo)); in GAPIF_LeSetStaticIdentityAddr() 297 GapGeneralCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralCallbackInfo)); in GAPIF_LeGenResPriAddr() 325 GapGeneralPointerInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralPointerInfo)); in GAPIF_LeExAdvGetMaxDataLen() 352 GapGeneralPointerInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralPointerInfo)); in GAPIF_LeExAdvGetMaxHandleNum() 379 GapGeneralCallbackInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralCallbackInfo)); in GAPIF_RegisterExAdvCallback() 407 GapGeneralVoidInfo *ctx = MEM_MALLOC.alloc(sizeof(GapGeneralVoidInfo)); in GAPIF_DeregisterExAdvCallback() 432 GapLeExAdvSetRandAddrInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLeExAdvSetRandAddrInfo)); in GAPIF_LeExAdvSetRandAddr() 460 GapLeExAdvSetParamInfo *ctx = MEM_MALLOC.alloc(sizeof(GapLeExAdvSetParamInfo)); in GAPIF_LeExAdvSetParam() 492 GapLeExAdvSetDataInfo *ctx = MEM_MALLOC.alloc(sizeo in GAPIF_LeExAdvSetData() [all...] |
H A D | gap_if.c | 182 GapSetLocalNameInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetLocalNameInfo)); in GAPIF_SetLocalName() 210 GapSetClassOfDeviceInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetClassOfDeviceInfo)); in GAPIF_SetClassOfDevice() 237 GapSetExtendedInquiryResponseInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetExtendedInquiryResponseInfo)); in GAPIF_SetExtendedInquiryResponse() 265 GapSetScanModeInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetScanModeInfo)); in GAPIF_SetScanMode() 295 GapSetBondableModeInfo *ctx = MEM_MALLOC.alloc(sizeof(GapSetBondableModeInfo)); in GAPIF_SetBondableMode() 328 GapRegisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeof(GapRegisterServiceSecurityInfo)); in GAPIF_RegisterServiceSecurity() 365 GapRegisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeof(GapRegisterServiceSecurityInfo)); in GAPIF_RegisterServiceSecurityAsync() 372 ctx->addr = MEM_MALLOC.alloc(sizeof(BtAddr)); in GAPIF_RegisterServiceSecurityAsync() 408 GapDeregisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeof(GapDeregisterServiceSecurityInfo)); in GAPIF_DeregisterServiceSecurity() 442 GapDeregisterServiceSecurityInfo *ctx = MEM_MALLOC.alloc(sizeo in GAPIF_DeregisterServiceSecurityAsync() [all...] |
/third_party/musl/porting/liteos_m/kernel/src/stdio/ |
H A D | vfscanf.c | 60 int alloc; in vfscanf() local 81 alloc = 0; in vfscanf() 124 alloc = !!dest; in vfscanf() 127 alloc = 0; in vfscanf() 225 if (alloc) { in vfscanf() 240 if (alloc && i==k) { in vfscanf() 248 } else if (alloc) { in vfscanf() 269 if (alloc) { in vfscanf() 327 if (alloc) { in vfscanf()
|
/third_party/musl/porting/uniproton/kernel/src/stdio/ |
H A D | vfscanf.c | 60 int alloc; in vfscanf() local 81 alloc = 0; in vfscanf() 124 alloc = !!dest; in vfscanf() 127 alloc = 0; in vfscanf() 225 if (alloc) { in vfscanf() 240 if (alloc && i==k) { in vfscanf() 248 } else if (alloc) { in vfscanf() 269 if (alloc) { in vfscanf() 327 if (alloc) { in vfscanf()
|
/third_party/skia/tests/ |
H A D | JSONTest.cpp | 334 SkArenaAlloc alloc(4096); in DEF_TEST() 354 const auto v6 = StringValue(nullptr, 0, alloc); in DEF_TEST() 357 const auto v7 = StringValue(" foo ", 5, alloc); in DEF_TEST() 360 const auto v8 = StringValue(" foo bar baz ", 13, alloc); in DEF_TEST() 363 const auto v9 = ArrayValue(nullptr, 0, alloc); in DEF_TEST() 367 const auto v10 = ArrayValue(values0, SK_ARRAY_COUNT(values0), alloc); in DEF_TEST() 370 const auto v11 = ObjectValue(nullptr, 0, alloc); in DEF_TEST() 374 { StringValue("key_0", 5, alloc), v1 }, in DEF_TEST() 375 { StringValue("key_1", 5, alloc), v4 }, in DEF_TEST() 376 { StringValue("key_2", 5, alloc), v1 in DEF_TEST() [all...] |