/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_vec4_live_variables.cpp | 81 const unsigned v = var_from_reg(alloc, inst->src[i], c, j); 104 const unsigned v = var_from_reg(alloc, inst->dst, c, i); 183 vec4_live_variables::vec4_live_variables(const simple_allocator &alloc, 185 : alloc(alloc), cfg(cfg) 189 num_vars = alloc.total_size * 8; 239 int *start = ralloc_array(mem_ctx, int, this->alloc.total_size * 8); 240 int *end = ralloc_array(mem_ctx, int, this->alloc.total_size * 8); 246 for (unsigned i = 0; i < this->alloc.total_size * 8; i++) { 260 const unsigned v = var_from_reg(alloc, inst->src[i], c, j) [all...] |
brw_vec4_reg_allocate.cpp | 44 unsigned int hw_reg_mapping[this->alloc.count]; 45 bool virtual_grf_used[this->alloc.count]; 51 for (unsigned i = 0; i < this->alloc.count; i++) { 66 next = hw_reg_mapping[0] + this->alloc.sizes[0]; 67 for (unsigned i = 1; i < this->alloc.count; i++) { 70 next += this->alloc.sizes[i]; 195 unsigned int hw_reg_mapping[alloc.count]; 206 int node_count = alloc.count; 212 for (unsigned i = 0; i < alloc.count; i++) { 213 int size = this->alloc.sizes[i] [all...] |
/hardware/google/av/codec2/vndk/bufferpool/vts/ |
allocator.cpp | 32 AllocationDtor(const std::shared_ptr<C2LinearAllocation> &alloc) 33 : mAlloc(alloc) {} 42 std::shared_ptr<BufferPoolAllocation> *alloc, 53 *alloc = std::shared_ptr<BufferPoolAllocation>( 55 if (*alloc) {
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/ |
alloc.pass.cpp | 13 // template <class Alloc> 14 // dynarray(size_type c, const Alloc& alloc); 15 // template <class Alloc> 16 // dynarray(size_type c, const T& v, const Alloc& alloc); 17 // template <class Alloc> 18 // dynarray(const dynarray& d, const Alloc& alloc); 19 // template <class Alloc> [all...] |
/external/skia/src/gpu/vk/ |
GrVkBuffer.cpp | 24 GrVkAlloc alloc; local 69 &alloc)) { 73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); 76 GrVkMemory::FreeBufferMemory(gpu, desc.fType, alloc); 171 const GrVkAlloc& alloc = this->alloc(); local 172 SkASSERT(alloc.fSize > 0); 177 if (SkToBool(alloc.fFlags & GrVkAlloc::kNoncoherent_Flag)) { 181 SkASSERT(0 == (alloc.fOffset & (alignment - 1))); 187 SkASSERT(size + fOffset <= alloc.fSize) [all...] |
GrVkImage.h | 38 const GrVkAlloc& alloc() const { return fInfo.fAlloc; } function in class:GrVkImage 92 void setNewResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling); 106 Resource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) 108 , fAlloc(alloc) 142 BorrowedResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) 143 : Resource(image, alloc, tiling) {
|
/external/skqp/src/gpu/vk/ |
GrVkBuffer.cpp | 24 GrVkAlloc alloc; local 69 &alloc)) { 73 const GrVkBuffer::Resource* resource = new GrVkBuffer::Resource(buffer, alloc, desc.fType); 76 GrVkMemory::FreeBufferMemory(gpu, desc.fType, alloc); 171 const GrVkAlloc& alloc = this->alloc(); local 172 SkASSERT(alloc.fSize > 0); 177 if (SkToBool(alloc.fFlags & GrVkAlloc::kNoncoherent_Flag)) { 181 SkASSERT(0 == (alloc.fOffset & (alignment - 1))); 187 SkASSERT(size + fOffset <= alloc.fSize) [all...] |
GrVkImage.h | 38 const GrVkAlloc& alloc() const { return fInfo.fAlloc; } function in class:GrVkImage 93 void setNewResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling); 107 Resource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) 109 , fAlloc(alloc) 143 BorrowedResource(VkImage image, const GrVkAlloc& alloc, VkImageTiling tiling) 144 : Resource(image, alloc, tiling) {
|
/external/webrtc/talk/app/webrtc/objctests/ |
RTCPeerConnectionTest.mm | 95 RTCFakeRenderer* videoRenderer = [[RTCFakeRenderer alloc] init]; 109 [[RTCPair alloc] initWithKey:@"DtlsSrtpKeyAgreement" value:@"true"], 110 [[RTCPair alloc] initWithKey:@"internalSctpDataChannels" value:@"true"], 112 RTCMediaConstraints* constraints = [[RTCMediaConstraints alloc] init]; 114 [[RTCMediaConstraints alloc] initWithMandatoryConstraints:mandatory 118 [[RTCPeerConnectionSyncObserver alloc] init]; 125 [[RTCPeerConnectionSyncObserver alloc] init]; 148 config:[[RTCDataChannelInit alloc] init]]; 154 [[RTCSessionDescriptionSyncObserver alloc] init]; 163 sdpObserver = [[RTCSessionDescriptionSyncObserver alloc] init] [all...] |
/libcore/luni/src/test/java/libcore/libcore/util/ |
NativeAllocationRegistryTest.java | 71 final Allocation alloc = new Allocation(); local 72 alloc.javaAllocation = new byte[javaSize]; 77 alloc.nativeAllocation = doNativeAllocation(nativeSize); 78 return alloc.nativeAllocation; 81 registry.registerNativeAllocation(alloc, allocator); 83 alloc.nativeAllocation = doNativeAllocation(nativeSize); 84 registry.registerNativeAllocation(alloc, alloc.nativeAllocation); 87 saved[i%numSavedAllocations] = alloc;
|
/external/walt/ios/WALT/ |
MenuController.m | 33 [[UIActivityIndicatorView alloc] 72 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error" 89 NSDateFormatter *formatter = [[NSDateFormatter alloc] init]; 102 [[UIActivityViewController alloc] initWithActivityItems:@[logURL] 106 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Log Write Error" 111 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Log Write Error" 140 UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"WALT Connection Error"
|
WALTLogger.m | 27 sessionLogger = [[self alloc] init]; 34 _buffer = [[NSMutableString alloc] init]; 48 NSString *formatted = [[NSString alloc] initWithFormat:format arguments:args];
|
/frameworks/rs/driver/runtime/ |
rs_allocation.c | 7 Allocation_t *alloc = (Allocation_t *)a.p; local 8 return alloc->mHal.drvState.lod[0].dimX; 13 Allocation_t *alloc = (Allocation_t *)a.p; local 14 return alloc->mHal.drvState.lod[0].dimY; 19 Allocation_t *alloc = (Allocation_t *)a.p; local 20 return alloc->mHal.drvState.lod[0].dimZ; 25 Allocation_t *alloc = (Allocation_t *)a.p; local 26 return alloc->mHal.state.hasMipmaps; 31 Allocation_t *alloc = (Allocation_t *)a.p; local 32 return alloc->mHal.state.hasFaces 38 Allocation_t *alloc = (Allocation_t *)a.p; local 67 Allocation_t *alloc = (Allocation_t *)a.p; local 78 Allocation_t *alloc = (Allocation_t *)a.p; local 193 Allocation_t *alloc = (Allocation_t *)a.p; local 201 Allocation_t *alloc = (Allocation_t *)a.p; local 210 Allocation_t *alloc = (Allocation_t *)a.p; local 219 Allocation_t *alloc = (Allocation_t *)a.p; local 227 Allocation_t *alloc = (Allocation_t *)a.p; local 236 Allocation_t *alloc = (Allocation_t *)a.p; local 318 Allocation_t *alloc = (Allocation_t *)a.p; local 332 Allocation_t *alloc = (Allocation_t *)a.p; local [all...] |
/external/clang/test/OpenMP/ |
target_enter_data_ast_print.cpp | 24 #pragma omp target enter data map(alloc: x[0:10], c) 26 #pragma omp target enter data map(to: c) map(alloc: d) 28 #pragma omp target enter data map(always,alloc: e) 40 #pragma omp target enter data nowait map(alloc: x[0:10], c) 42 #pragma omp target enter data nowait map(to: c) map(alloc: d) 44 #pragma omp target enter data nowait map(always,alloc: e) 56 #pragma omp target enter data nowait map(alloc: x[0:10], c) depend(in : argc, argv[i:argc], x[:]) 58 #pragma omp target enter data nowait depend(in : argc, argv[i:argc], x[:]) map(to: c) map(alloc: d) 60 #pragma omp target enter data nowait map(always,alloc: e) depend(in : argc, argv[i:argc], x[:]) 73 // CHECK-NEXT: #pragma omp target enter data map(alloc: x[0:10],c [all...] |
/external/v8/src/ |
list-inl.h | 19 void List<T, P>::Add(const T& element, P alloc) { 23 List<T, P>::ResizeAdd(element, alloc); 29 void List<T, P>::AddAll(const List<T, P>& other, P alloc) { 30 AddAll(other.ToVector(), alloc); 35 void List<T, P>::AddAll(const Vector<T>& other, P alloc) { 37 if (capacity_ < result_length) Resize(result_length, alloc); 50 void List<T, P>::ResizeAdd(const T& element, P alloc) { 51 ResizeAddInternal(element, alloc); 56 void List<T, P>::ResizeAddInternal(const T& element, P alloc) { 64 Resize(new_capacity, alloc); [all...] |
/external/skia/tests/ |
RecordTest.cpp | 108 REPORTER_ASSERT(r, is_aligned(record.alloc<uint8_t>())); 109 REPORTER_ASSERT(r, is_aligned(record.alloc<uint16_t>())); 110 REPORTER_ASSERT(r, is_aligned(record.alloc<uint32_t>())); 111 REPORTER_ASSERT(r, is_aligned(record.alloc<void*>())); 115 REPORTER_ASSERT(r, is_aligned(record.alloc<double>())); 116 REPORTER_ASSERT(r, is_aligned(record.alloc<uint64_t>()));
|
/external/skqp/tests/ |
RecordTest.cpp | 108 REPORTER_ASSERT(r, is_aligned(record.alloc<uint8_t>())); 109 REPORTER_ASSERT(r, is_aligned(record.alloc<uint16_t>())); 110 REPORTER_ASSERT(r, is_aligned(record.alloc<uint32_t>())); 111 REPORTER_ASSERT(r, is_aligned(record.alloc<void*>())); 115 REPORTER_ASSERT(r, is_aligned(record.alloc<double>())); 116 REPORTER_ASSERT(r, is_aligned(record.alloc<uint64_t>()));
|
/external/valgrind/memcheck/tests/ |
realloc3.stderr.exp | 3 Address 0x........ is 15 bytes after a block of size 5 alloc'd 9 Address 0x........ is 15 bytes after a block of size 5 alloc'd 15 Address 0x........ is 15 bytes after a block of size 5 alloc'd
|
/external/webrtc/webrtc/modules/video_render/test/testAPI/ |
testAPI_mac.mm | 39 NSWindow* outWindow = [[NSWindow alloc] initWithContentRect:outWindowFrame 49 cocoaRenderer = [[CocoaRenderView alloc] initWithFrame:cocoaRendererFrame]; 58 NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
|
/external/webrtc/webrtc/test/mac/ |
run_test.mm | 39 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 54 NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; 59 TestRunner *testRunner = [[TestRunner alloc] init];
|
/frameworks/rs/tests/lldb/java/Reduction/src/com/android/rs/lldbreductiontest/ |
reduce_common.rsh | 32 static void find_min_user_type_init(user_t *alloc) { 33 alloc->a = a_startval; 34 alloc->b = b_startval;
|
/external/drm_gralloc/ |
gralloc.cpp | 170 struct alloc_device_t *alloc = (struct alloc_device_t *) dev; local 173 delete alloc; 217 struct alloc_device_t *alloc; local 224 alloc = new alloc_device_t; 225 if (!alloc) 228 alloc->common.tag = HARDWARE_DEVICE_TAG; 229 alloc->common.version = 0; 230 alloc->common.module = &dmod->base.common; 231 alloc->common.close = drm_mod_close_gpu0; 233 alloc->alloc = drm_mod_alloc_gpu0 [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicYuvToRGB.cpp | 44 ObjectBaseRef<Allocation> alloc; member in class:android::renderscript::RsdCpuScriptIntrinsicYuvToRGB 54 alloc.set(static_cast<Allocation *>(data)); 102 if (!cp->alloc.get()) { 106 const uchar *pinY = (const uchar *)cp->alloc->mHal.drvState.lod[0].mallocPtr; 112 size_t strideY = cp->alloc->mHal.drvState.lod[0].stride; 115 if (cp->alloc->mHal.drvState.lod[0].dimY == 0) { 124 size_t cstep = cp->alloc->mHal.drvState.yuv.step; 126 const uchar *pinU = (const uchar *)cp->alloc->mHal.drvState.lod[1].mallocPtr; 127 const size_t strideU = cp->alloc->mHal.drvState.lod[1].stride; 130 const uchar *pinV = (const uchar *)cp->alloc->mHal.drvState.lod[2].mallocPtr [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
QCameraHAL3Test.cpp | 98 struct ion_allocation_data alloc; local 108 memset(&alloc, 0, sizeof(alloc)); 110 alloc.len = (size_t)(buf_size); 111 alloc.len = (alloc.len + 4095U) & (~4095U); 112 alloc.align = 4096; 113 alloc.flags = ION_FLAG_CACHED; 114 alloc.heap_id_mask = ION_HEAP(ION_SYSTEM_HEAP_ID); 115 rc = ioctl(main_ion_fd, ION_IOC_ALLOC, &alloc); [all...] |
/bionic/linker/ |
linker_memory.cpp | 72 return get_allocator().alloc(byte_count); 76 return get_allocator().alloc(item_count*item_size);
|