Home
last modified time | relevance | path

Searched refs:Resource (Results 1 - 25 of 239) sorted by relevance

12345678910

/third_party/skia/third_party/externals/icu/source/common/
H A Duresdata.h37 /** Resource type constant for tables with 32-bit count, key offsets and values. */
41 * Resource type constant for tables with 16-bit count, key offsets and values.
46 /** Resource type constant for 16-bit Unicode strings in formatVersion 2. */
50 * Resource type constant for arrays with 16-bit count and values.
55 /* Resource type 15 is not defined but effectively used by RES_BOGUS=0xffffffff. */
59 * A Resource is a 32-bit value that has 2 bit fields:
63 typedef uint32_t Resource; typedef
72 /* get signed and unsigned integer values directly from the Resource handle
87 #define URES_MAKE_RESOURCE(type, offset) (((Resource)(type)<<28)|(Resource)(offse
[all...]
H A Duresdata.cpp39 * Resource access helpers
165 pResData->rootRes=(Resource)*pResData->pRoot; in res_init()
306 res_getPublicType(Resource res) { in res_getPublicType()
311 res_getStringNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getStringNoTrace()
357 UBool isNoInheritanceMarker(const ResourceData *pResData, Resource res) { in isNoInheritanceMarker()
420 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getAlias()
439 res_getBinaryNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getBinaryNoTrace()
459 res_getIntVectorNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getIntVectorNoTrace()
477 res_countArrayItems(const ResourceData *pResData, Resource res) { in res_countArrayItems()
577 const Resource *items3 in getArray()
[all...]
/third_party/icu/icu4c/source/common/
H A Duresdata.h37 /** Resource type constant for tables with 32-bit count, key offsets and values. */
41 * Resource type constant for tables with 16-bit count, key offsets and values.
46 /** Resource type constant for 16-bit Unicode strings in formatVersion 2. */
50 * Resource type constant for arrays with 16-bit count and values.
55 /* Resource type 15 is not defined but effectively used by RES_BOGUS=0xffffffff. */
59 * A Resource is a 32-bit value that has 2 bit fields:
63 typedef uint32_t Resource; typedef
72 /* get signed and unsigned integer values directly from the Resource handle
87 #define URES_MAKE_RESOURCE(type, offset) (((Resource)(type)<<28)|(Resource)(offse
[all...]
H A Duresdata.cpp39 * Resource access helpers
165 pResData->rootRes=(Resource)*pResData->pRoot; in res_init()
306 res_getPublicType(Resource res) { in res_getPublicType()
311 res_getStringNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getStringNoTrace()
357 UBool isNoInheritanceMarker(const ResourceData *pResData, Resource res) { in isNoInheritanceMarker()
420 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getAlias()
439 res_getBinaryNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getBinaryNoTrace()
459 res_getIntVectorNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getIntVectorNoTrace()
477 res_countArrayItems(const ResourceData *pResData, Resource res) { in res_countArrayItems()
577 const Resource *items3 in getArray()
[all...]
/third_party/node/deps/icu-small/source/common/
H A Duresdata.h37 /** Resource type constant for tables with 32-bit count, key offsets and values. */
41 * Resource type constant for tables with 16-bit count, key offsets and values.
46 /** Resource type constant for 16-bit Unicode strings in formatVersion 2. */
50 * Resource type constant for arrays with 16-bit count and values.
55 /* Resource type 15 is not defined but effectively used by RES_BOGUS=0xffffffff. */
59 * A Resource is a 32-bit value that has 2 bit fields:
63 typedef uint32_t Resource; typedef
72 /* get signed and unsigned integer values directly from the Resource handle
87 #define URES_MAKE_RESOURCE(type, offset) (((Resource)(type)<<28)|(Resource)(offse
[all...]
H A Duresdata.cpp39 * Resource access helpers
165 pResData->rootRes=(Resource)*pResData->pRoot; in res_init()
306 res_getPublicType(Resource res) { in res_getPublicType()
311 res_getStringNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getStringNoTrace()
357 UBool isNoInheritanceMarker(const ResourceData *pResData, Resource res) { in isNoInheritanceMarker()
420 res_getAlias(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getAlias()
439 res_getBinaryNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getBinaryNoTrace()
459 res_getIntVectorNoTrace(const ResourceData *pResData, Resource res, int32_t *pLength) { in res_getIntVectorNoTrace()
477 res_countArrayItems(const ResourceData *pResData, Resource res) { in res_countArrayItems()
577 const Resource *items3 in getArray()
[all...]
/third_party/rust/crates/rustix/examples/
H A Dprocess.rs45 println!("Cpu Limit: {:?}", getrlimit(Resource::Cpu)); in main()
46 println!("Fsize Limit: {:?}", getrlimit(Resource::Fsize)); in main()
47 println!("Data Limit: {:?}", getrlimit(Resource::Data)); in main()
48 println!("Stack Limit: {:?}", getrlimit(Resource::Stack)); in main()
50 println!("Core Limit: {:?}", getrlimit(Resource::Core)); in main()
52 println!("Rss Limit: {:?}", getrlimit(Resource::Rss)); in main()
54 println!("Nproc Limit: {:?}", getrlimit(Resource::Nproc)); in main()
56 println!("Nofile Limit: {:?}", getrlimit(Resource::Nofile)); in main()
58 println!("Memlock Limit: {:?}", getrlimit(Resource::Memlock)); in main()
60 println!("As Limit: {:?}", getrlimit(Resource in main()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
H A DvktSpvAsmVariablePointersTests.cpp393 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
394 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
395 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
396 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput))));
417 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
418 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
419 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
420 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput))));
449 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
450 spec.inputs.push_back(Resource(BufferS
[all...]
H A DvktSpvAsmWorkgroupMemoryTests.cpp55 bool checkResultsFloat16 (const vector<Resource>& inputs, in checkResultsFloat16()
57 const vector<Resource>& expectedOutputs, in checkResultsFloat16()
84 bool checkResultsFloat32 (const vector<Resource>& inputs, in checkResultsFloat32()
86 const vector<Resource>& expectedOutputs, in checkResultsFloat32()
120 bool checkResultsFloat64 (const vector<Resource>& inputs, in checkResultsFloat64()
122 const vector<Resource>& expectedOutputs, in checkResultsFloat64()
295 spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
296 spec.outputs.push_back(Resource(BufferSp(new Float64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
321 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
322 spec.outputs.push_back(Resource(BufferS in addComputeWorkgroupMemoryTests()
[all...]
H A DvktSpvAsmEmptyStructTests.cpp39 bool verifyResult(const std::vector<Resource>&, in verifyResult()
41 const std::vector<Resource>& expectedOutputs, in verifyResult()
224 spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(bufferType.input)), bufferType.descriptorType)); in addCopyingComputeGroup()
225 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType.expectedOutput)))); in addCopyingComputeGroup()
332 spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(input)))); in addPointerComparisionComputeGroup()
333 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(expectedOutput)))); in addPointerComparisionComputeGroup()
548 spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(input)))); in addFunctionArgumentReturnValueGroup()
550 Resource(BufferSp(new Uint32Buffer(expectedOutput)))); in addFunctionArgumentReturnValueGroup()
552 Resource(BufferSp(new Uint32Buffer(expectedOutput)))); in addFunctionArgumentReturnValueGroup()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
H A DvktSpvAsmVariablePointersTests.cpp393 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
394 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
395 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
396 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput))));
417 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
418 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputBFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
419 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputSFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
420 spec.outputs.push_back(Resource(BufferSp(new Float32Buffer(expectedOutput))));
449 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputAFloats)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER));
450 spec.inputs.push_back(Resource(BufferS
[all...]
H A DvktSpvAsmWorkgroupMemoryTests.cpp55 bool checkResultsFloat16 (const vector<Resource>& inputs, in checkResultsFloat16()
57 const vector<Resource>& expectedOutputs, in checkResultsFloat16()
84 bool checkResultsFloat32 (const vector<Resource>& inputs, in checkResultsFloat32()
86 const vector<Resource>& expectedOutputs, in checkResultsFloat32()
120 bool checkResultsFloat64 (const vector<Resource>& inputs, in checkResultsFloat64()
122 const vector<Resource>& expectedOutputs, in checkResultsFloat64()
295 spec.inputs.push_back(Resource(BufferSp(new Float64Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
296 spec.outputs.push_back(Resource(BufferSp(new Float64Buffer(outputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
321 spec.inputs.push_back(Resource(BufferSp(new Float32Buffer(inputData)), VK_DESCRIPTOR_TYPE_STORAGE_BUFFER)); in addComputeWorkgroupMemoryTests()
322 spec.outputs.push_back(Resource(BufferS in addComputeWorkgroupMemoryTests()
[all...]
H A DvktSpvAsmEmptyStructTests.cpp39 bool verifyResult(const std::vector<Resource>&, in verifyResult()
41 const std::vector<Resource>& expectedOutputs, in verifyResult()
224 spec.inputs.push_back (Resource(BufferSp(new Int32Buffer(bufferType.input)), bufferType.descriptorType)); in addCopyingComputeGroup()
225 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(bufferType.expectedOutput)))); in addCopyingComputeGroup()
332 spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(input)))); in addPointerComparisionComputeGroup()
333 spec.outputs.push_back(Resource(BufferSp(new Int32Buffer(expectedOutput)))); in addPointerComparisionComputeGroup()
548 spec.inputs.push_back(Resource(BufferSp(new Int32Buffer(input)))); in addFunctionArgumentReturnValueGroup()
550 Resource(BufferSp(new Uint32Buffer(expectedOutput)))); in addFunctionArgumentReturnValueGroup()
552 Resource(BufferSp(new Uint32Buffer(expectedOutput)))); in addFunctionArgumentReturnValueGroup()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DResource.cpp15 #include "Resource.hpp"
22 Resource::Resource(size_t bytes) : size(bytes) in Resource() function in sw::Resource
33 Resource::~Resource() in ~Resource()
38 void *Resource::lock(Accessor claimer) in lock()
61 void *Resource::lock(Accessor relinquisher, Accessor claimer) in lock()
107 void Resource::unlock() in unlock()
133 void Resource::unlock(Accessor relinquisher) in unlock()
162 void Resource
[all...]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DResourceVk.cpp6 // Resource:
7 // Resource lifetime tracking in the Vulkan back-end.
53 // Resource implementation.
54 Resource::Resource() in Resource() function in rx::vk::Resource
59 Resource::Resource(Resource &&other) : Resource() in Resource() function in rx::vk::Resource
64 Resource
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dresource.cc50 Resource::Resource(Device* device, uint32_t size_in_bytes) in Resource() function in amber::vulkan::Resource
53 Resource::~Resource() = default;
55 Result Resource::CreateVkBuffer(VkBuffer* buffer, VkBufferUsageFlags usage) { in CreateVkBuffer()
73 uint32_t Resource::ChooseMemory(uint32_t memory_type_bits, in ChooseMemory()
101 Result Resource::AllocateAndBindMemoryToVkBuffer(VkBuffer buffer, in AllocateAndBindMemoryToVkBuffer()
108 "Vulkan: Resource::AllocateAndBindMemoryToVkBuffer memory_type_index " in AllocateAndBindMemoryToVkBuffer()
140 Result Resource::AllocateMemory(VkDeviceMemory* memory, in AllocateMemory()
155 Result Resource
[all...]
/third_party/rust/crates/rustix/tests/process/
H A Drlimit.rs1 use rustix::process::Resource;
7 let lim = rustix::process::getrlimit(Resource::Stack); in test_getrlimit()
15 let old = rustix::process::getrlimit(Resource::Core); in test_setrlimit()
21 rustix::process::setrlimit(Resource::Core, new.clone()).unwrap(); in test_setrlimit()
23 let lim = rustix::process::getrlimit(Resource::Core); in test_setrlimit()
33 let first = rustix::process::getrlimit(Resource::Core); in test_setrlimit()
35 let old = match rustix::process::prlimit(None, Resource::Core, new.clone()) { in test_setrlimit()
49 rustix::process::prlimit(Some(rustix::process::getpid()), Resource::Core, other) in test_setrlimit()
/third_party/vk-gl-cts/framework/common/
H A DtcuResource.hpp23 * \brief Resource system.
36 * \brief Resource object
42 * Resource objects are requested from Archive object provided by Platform.
45 class Resource class
48 virtual ~Resource (void) {} in ~Resource()
58 Resource (const std::string& name) : m_name(name) {} in Resource() function in tcu::Resource
77 * Resource object must be deleted after use
79 * \param name Resource path
80 * \return Resource object
82 virtual Resource* getResourc
[all...]
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/localeconverter/
H A DXLIFF2ICUConverter.java446 // Create the Resource linked list which will hold the in createRB()
448 Resource[] set = new Resource[2]; in createRB()
500 private void writeResource(Resource[] set, String xmlfileName){ in writeResource()
514 private void writeResource(Resource set, String sourceFilename, String targetFilename){ in writeResource()
528 Resource current = set; in writeResource()
607 private class Resource{ class in XLIFF2ICUConverter
613 Resource next;
687 private class ResourceString extends Resource{
703 private class ResourceAlias extends Resource{
[all...]
/third_party/skia/src/gpu/d3d/
H A DGrD3DTextureResource.h22 class Resource;
28 , fResource(new Resource(fInfo.fResource, info.fAlloc)) { in GrD3DTextureResource()
42 sk_sp<Resource> resource() const { in resource()
85 class Resource : public GrTextureResource { class in GrD3DTextureResource
87 explicit Resource() in Resource() function in GrD3DTextureResource::Resource
92 Resource(const gr_cp<ID3D12Resource>& textureResource, in Resource() function in GrD3DTextureResource::Resource
98 ~Resource() override {}
115 sk_sp<Resource> fResource;
/third_party/mesa3d/src/egl/main/
H A Deglimage.h91 _EGLResource Resource; member
103 _eglInitResource(&img->Resource, sizeof(*img), disp); in _eglInitImage()
114 _eglGetResource(&img->Resource); in _eglGetImage()
125 return (img) ? _eglPutResource(&img->Resource) : EGL_FALSE; in _eglPutImage()
136 _eglLinkResource(&img->Resource, _EGL_RESOURCE_IMAGE); in _eglLinkImage()
148 _eglUnlinkResource(&img->Resource, _EGL_RESOURCE_IMAGE); in _eglUnlinkImage()
H A Deglsync.h43 _EGLResource Resource; member
70 _eglGetResource(&sync->Resource); in _eglGetSync()
81 return (sync) ? _eglPutResource(&sync->Resource) : EGL_FALSE; in _eglPutSync()
92 _eglLinkResource(&sync->Resource, _EGL_RESOURCE_SYNC); in _eglLinkSync()
103 _eglUnlinkResource(&sync->Resource, _EGL_RESOURCE_SYNC); in _eglUnlinkSync()
/third_party/skia/src/gpu/vk/
H A DGrVkSemaphore.h34 class Resource : public GrVkManagedResource { class in GrVkSemaphore
36 Resource(const GrVkGpu* gpu, VkSemaphore semaphore, in Resource() function in GrVkSemaphore::Resource
44 ~Resource() override {}
83 Resource* getResource() { return fResource; } in getResource()
93 Resource* fResource;
/third_party/rust/crates/nix/test/
H A Dtest_resource.rs7 use nix::sys::resource::{getrlimit, setrlimit, Resource};
26 getrlimit(Resource::RLIMIT_NOFILE).unwrap(); in test_resource_limits_nofile()
30 setrlimit(Resource::RLIMIT_NOFILE, soft_limit, hard_limit).unwrap(); in test_resource_limits_nofile()
32 let (new_soft_limit, _) = getrlimit(Resource::RLIMIT_NOFILE).unwrap(); in test_resource_limits_nofile()
/third_party/python/Lib/importlib/resources/
H A D_legacy.py12 Resource = str variable
44 def open_binary(package: Package, resource: Resource) -> BinaryIO:
50 def read_binary(package: Package, resource: Resource) -> bytes:
58 resource: Resource,
71 resource: Resource,
111 resource: Resource,

Completed in 16 milliseconds

12345678910