Home
last modified time | relevance | path

Searched refs:size (Results 1676 - 1700 of 32275) sorted by relevance

1...<<61626364656667686970>>...1291

/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsaibarshaderfilter_fuzzer/
H A Drsaibarshaderfilter_fuzzer.cpp59 bool DoGenerateGEVisualEffect(const uint8_t* data, size_t size) in DoGenerateGEVisualEffect() argument
67 g_size = size; in DoGenerateGEVisualEffect()
76 bool DoIsAiInvertCoefValid(const uint8_t* data, size_t size) in DoIsAiInvertCoefValid() argument
84 g_size = size; in DoIsAiInvertCoefValid()
97 bool DoGetAiInvertCoef(const uint8_t* data, size_t size) in DoGetAiInvertCoef() argument
105 g_size = size; in DoGetAiInvertCoef()
118 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
121 OHOS::Rosen::DoGenerateGEVisualEffect(data, size); in LLVMFuzzerTestOneInput()
122 OHOS::Rosen::DoIsAiInvertCoefValid(data, size); in LLVMFuzzerTestOneInput()
123 OHOS::Rosen::DoGetAiInvertCoef(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsfunctionaldelegate_fuzzer/
H A Drsfunctionaldelegate_fuzzer.cpp39 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T)
58 bool DoCreate(const uint8_t* data, size_t size) in DoCreate() argument
66 g_size = size; in DoCreate()
74 bool DoSetRepaintCallback(const uint8_t* data, size_t size) in DoSetRepaintCallback() argument
82 g_size = size; in DoSetRepaintCallback()
89 bool DoRepaint(const uint8_t* data, size_t size) in DoRepaint() argument
97 g_size = size; in DoRepaint()
109 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
112 OHOS::Rosen::DoCreate(data, size); in LLVMFuzzerTestOneInput()
113 OHOS::Rosen::DoSetRepaintCallback(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rstextureexport_fuzzer/
H A Drstextureexport_fuzzer.cpp34 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T)
53 bool DoRSTextureExport(const uint8_t* data, size_t size) in DoRSTextureExport() argument
61 g_size = size; in DoRSTextureExport()
72 bool DoDoTextureExport(const uint8_t* data, size_t size) in DoDoTextureExport() argument
80 g_size = size; in DoDoTextureExport()
92 bool DoStopTextureExport(const uint8_t* data, size_t size) in DoStopTextureExport() argument
100 g_size = size; in DoStopTextureExport()
115 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
118 OHOS::Rosen::DoRSTextureExport(data, size); in LLVMFuzzerTestOneInput()
119 OHOS::Rosen::DoDoTextureExport(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/text/fontarguments_fuzzer/
H A Dfontarguments_fuzzer.cpp28 bool FontArgumentsFuzzTest001(const uint8_t* data, size_t size) in FontArgumentsFuzzTest001() argument
36 g_size = size; in FontArgumentsFuzzTest001()
47 bool FontArgumentsFuzzTest002(const uint8_t* data, size_t size) in FontArgumentsFuzzTest002() argument
55 g_size = size; in FontArgumentsFuzzTest002()
69 bool FontArgumentsFuzzTest003(const uint8_t* data, size_t size) in FontArgumentsFuzzTest003() argument
77 g_size = size; in FontArgumentsFuzzTest003()
96 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
99 OHOS::Rosen::Drawing::FontArgumentsFuzzTest001(data, size); in LLVMFuzzerTestOneInput()
100 OHOS::Rosen::Drawing::FontArgumentsFuzzTest002(data, size); in LLVMFuzzerTestOneInput()
101 OHOS::Rosen::Drawing::FontArgumentsFuzzTest003(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/effect/colormatrix_fuzzer/
H A Dcolormatrix_fuzzer.cpp30 bool ColorMatrixFuzzTest001(const uint8_t* data, size_t size) in ColorMatrixFuzzTest001() argument
38 g_size = size; in ColorMatrixFuzzTest001()
53 bool ColorMatrixFuzzTest002(const uint8_t* data, size_t size) in ColorMatrixFuzzTest002() argument
61 g_size = size; in ColorMatrixFuzzTest002()
77 bool ColorMatrixFuzzTest003(const uint8_t* data, size_t size) in ColorMatrixFuzzTest003() argument
85 g_size = size; in ColorMatrixFuzzTest003()
102 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
105 OHOS::Rosen::Drawing::ColorMatrixFuzzTest001(data, size); in LLVMFuzzerTestOneInput()
106 OHOS::Rosen::Drawing::ColorMatrixFuzzTest002(data, size); in LLVMFuzzerTestOneInput()
107 OHOS::Rosen::Drawing::ColorMatrixFuzzTest003(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rsshader_fuzzer/
H A Drsshader_fuzzer.cpp54 bool DoCreateRSShader(const uint8_t* data, size_t size) in DoCreateRSShader() argument
62 g_size = size; in DoCreateRSShader()
71 bool DoSetDrawingShader(const uint8_t* data, size_t size) in DoSetDrawingShader() argument
79 g_size = size; in DoSetDrawingShader()
87 bool DoGetDrawingShader(const uint8_t* data, size_t size) in DoGetDrawingShader() argument
95 g_size = size; in DoGetDrawingShader()
105 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
108 OHOS::Rosen::DoCreateRSShader(data, size); in LLVMFuzzerTestOneInput()
109 OHOS::Rosen::DoSetDrawingShader(data, size); in LLVMFuzzerTestOneInput()
110 OHOS::Rosen::DoGetDrawingShader(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rstaskdispatcher_fuzzer/
H A Drstaskdispatcher_fuzzer.cpp56 bool DoRegisterTaskDispatchFunc(const uint8_t* data, size_t size) in DoRegisterTaskDispatchFunc() argument
64 g_size = size; in DoRegisterTaskDispatchFunc()
78 bool DoPostTask(const uint8_t* data, size_t size) in DoPostTask() argument
86 g_size = size; in DoPostTask()
95 bool DoHasRegisteredTask(const uint8_t* data, size_t size) in DoHasRegisteredTask() argument
103 g_size = size; in DoHasRegisteredTask()
114 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
117 OHOS::Rosen::DoRegisterTaskDispatchFunc(data, size); in LLVMFuzzerTestOneInput()
118 OHOS::Rosen::DoPostTask(data, size); in LLVMFuzzerTestOneInput()
119 OHOS::Rosen::DoHasRegisteredTask(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsextendedmodifier_fuzzer/
H A Drsextendedmodifier_fuzzer.cpp38 * describe: get data from outside untrusted data(g_data) which size is according to sizeof(T)
57 bool DoCreateDrawingContext(const uint8_t* data, size_t size) in DoCreateDrawingContext() argument
65 g_size = size; in DoCreateDrawingContext()
76 bool DoCreateRenderModifier(const uint8_t* data, size_t size) in DoCreateRenderModifier() argument
84 g_size = size; in DoCreateRenderModifier()
96 bool DoFinishDrawing(const uint8_t* data, size_t size) in DoFinishDrawing() argument
104 g_size = size; in DoFinishDrawing()
117 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
120 OHOS::Rosen::DoCreateDrawingContext(data, size); in LLVMFuzzerTestOneInput()
121 OHOS::Rosen::DoCreateRenderModifier(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/multimedia/player_framework/services/utils/
H A Davdatasrcmemory.cpp28 AVSharedMemoryBaseImpl(int32_t fd, int32_t size, uint32_t flags, const std::string &name) in AVSharedMemoryBaseImpl()
29 : AVDataSrcMemory(fd, size, flags, name) {} in AVSharedMemoryBaseImpl()
33 int32_t size, uint32_t flags, const std::string &name) in CreateFromLocal()
35 std::shared_ptr<AVDataSrcMemory> memory = std::make_shared<AVDataSrcMemory>(size, flags, name); in CreateFromLocal()
43 int32_t fd, int32_t size, uint32_t flags, const std::string &name) in CreateFromRemote()
45 std::shared_ptr<AVDataSrcMemory> memory = std::make_shared<AVSharedMemoryBaseImpl>(fd, size, flags, name); in CreateFromRemote()
55 AVDataSrcMemory::AVDataSrcMemory(int32_t size, uint32_t flags, const std::string &name) in AVDataSrcMemory() argument
56 : AVSharedMemoryBase(size, flags, name) in AVDataSrcMemory()
63 AVDataSrcMemory::AVDataSrcMemory(int32_t fd, int32_t size, uint32_t flags, const std::string &name) in AVDataSrcMemory() argument
64 : AVSharedMemoryBase(fd, size, flag in AVDataSrcMemory()
32 CreateFromLocal( int32_t size, uint32_t flags, const std::string &name) CreateFromLocal() argument
42 CreateFromRemote( int32_t fd, int32_t size, uint32_t flags, const std::string &name) CreateFromRemote() argument
[all...]
/foundation/resourceschedule/background_task_mgr/test/fuzztest/bgtaskonremoterequest_fuzzer/
H A Dbgtaskonremoterequest_fuzzer.cpp40 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
45 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
65 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
72 if (size < OHOS::BackgroundTaskMgr::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
76 char* ch = static_cast<char *>(malloc(size + 1)); in LLVMFuzzerTestOneInput()
81 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
82 if (memcpy_s(ch, size + 1, data, size) != EOK) { in LLVMFuzzerTestOneInput()
88 OHOS::BackgroundTaskMgr::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/resourceschedule/device_usage_statistics/test/fuzztest/bundleactiveonremoterequest_fuzzer/
H A Dbundleactiveonremoterequest_fuzzer.cpp42 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
48 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
63 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
70 if (size < OHOS::DeviceUsageStats::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
73 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
78 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
79 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
85 OHOS::DeviceUsageStats::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/resourceschedule/device_usage_statistics/test/fuzztest/appgroupcallbackstub_fuzzer/
H A Dappgroupcallbackstub_fuzzer.cpp40 bool DoSomethingInterestingWithMyAPI(const char* data, size_t size) in DoSomethingInterestingWithMyAPI() argument
46 datas.WriteBuffer(data, size); in DoSomethingInterestingWithMyAPI()
57 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
64 if (size < OHOS::DeviceUsageStats::U32_AT_SIZE) { in LLVMFuzzerTestOneInput()
67 char* ch = (char *)malloc(size + 1); in LLVMFuzzerTestOneInput()
72 (void)memset_s(ch, size + 1, 0x00, size + 1); in LLVMFuzzerTestOneInput()
73 if (memcpy_s(ch, size, data, size) != EOK) { in LLVMFuzzerTestOneInput()
79 OHOS::DeviceUsageStats::DoSomethingInterestingWithMyAPI(ch, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/fuzztest/lnnsyncinfomanager_fuzzer/
H A Dlnnsyncinfomanager_fuzzer.cpp43 void LnnSendSyncInfoMsgFuzzTest(const uint8_t* data, size_t size) in LnnSendSyncInfoMsgFuzzTest() argument
45 if (data == nullptr || size < NETWORK_ID_BUF_LEN) { in LnnSendSyncInfoMsgFuzzTest()
46 COMM_LOGE(COMM_TEST, "data or size is vaild!"); in LnnSendSyncInfoMsgFuzzTest()
50 g_baseFuzzSize = size; in LnnSendSyncInfoMsgFuzzTest()
63 LnnSendSyncInfoMsg(type, networkId, data, (uint32_t)size, complete); in LnnSendSyncInfoMsgFuzzTest()
66 void LnnSendP2pSyncInfoMsgFuzzTest(const uint8_t* data, size_t size) in LnnSendP2pSyncInfoMsgFuzzTest() argument
68 if (data == nullptr || size < NETWORK_ID_BUF_LEN) { in LnnSendP2pSyncInfoMsgFuzzTest()
69 COMM_LOGE(COMM_TEST, "data or size is vaild!"); in LnnSendP2pSyncInfoMsgFuzzTest()
73 g_baseFuzzSize = size; in LnnSendP2pSyncInfoMsgFuzzTest()
86 extern "C" int32_t LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
[all...]
/foundation/distributeddatamgr/pasteboard/test/fuzztest/pasteboardobserver_fuzzer/
H A Dpasteboardobserver_fuzzer.cpp41 bool FuzzPasteboardObserver(const uint8_t *rawData, size_t size) in FuzzPasteboardObserver() argument
43 if (rawData == nullptr || size < sizeof(uint32_t)) { in FuzzPasteboardObserver()
56 bool FuzzPasteboardObserverOnPasteboardChangedStub(const uint8_t *rawData, size_t size) in FuzzPasteboardObserverOnPasteboardChangedStub() argument
67 bool FuzzPasteboardObserverOnPasteboardEventStub(const uint8_t *rawData, size_t size) in FuzzPasteboardObserverOnPasteboardEventStub() argument
69 if (rawData == nullptr || size < sizeof(int32_t)) { in FuzzPasteboardObserverOnPasteboardEventStub()
79 data.WriteString(std::string(reinterpret_cast<const char*>(rawData + pos), size - pos)); in FuzzPasteboardObserverOnPasteboardEventStub()
87 extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) in LLVMFuzzerTestOneInput() argument
90 OHOS::FuzzPasteboardObserver(data, size); in LLVMFuzzerTestOneInput()
91 OHOS::FuzzPasteboardObserverOnPasteboardChangedStub(data, size); in LLVMFuzzerTestOneInput()
92 OHOS::FuzzPasteboardObserverOnPasteboardEventStub(data, size); in LLVMFuzzerTestOneInput()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/src/listener/
H A Ddcamera_photo_surface_listener.cpp54 int32_t size = -1; in OnBufferAvailable() local
55 buffer->GetExtraData()->ExtraGet("dataSize", size); in OnBufferAvailable()
56 if (size <= 0) { in OnBufferAvailable()
57 size = static_cast<int32_t>(buffer->GetSize()); in OnBufferAvailable()
59 if ((address == nullptr) || (size <= 0) || (size > SURFACE_BUFFER_MAX_SIZE)) { in OnBufferAvailable()
60 DHLOGE("DCameraPhotoSurfaceListener invalid params, size: %{public}d", size); in OnBufferAvailable()
63 DHLOGI("DCameraPhotoSurfaceListener size: %{public}d", size); in OnBufferAvailable()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/fuzztest/versioninfomanager_fuzzer/
H A Dversioninfomanager_fuzzer.cpp40 void VersioninfoManagerFuzzTest(const uint8_t* data, size_t size) in VersioninfoManagerFuzzTest() argument
42 if ((data == nullptr) || (size == 0)) { in VersioninfoManagerFuzzTest()
47 versionInfo.deviceId = std::string(reinterpret_cast<const char*>(data), size); in VersioninfoManagerFuzzTest()
48 versionInfo.dhVersion = std::string(reinterpret_cast<const char*>(data), size); in VersioninfoManagerFuzzTest()
52 compVer.name = std::string(reinterpret_cast<const char*>(data), size); in VersioninfoManagerFuzzTest()
53 compVer.handlerVersion = std::string(reinterpret_cast<const char*>(data), size); in VersioninfoManagerFuzzTest()
54 compVer.sourceVersion = std::string(reinterpret_cast<const char*>(data), size); in VersioninfoManagerFuzzTest()
55 compVer.sinkVersion = std::string(reinterpret_cast<const char*>(data), size); in VersioninfoManagerFuzzTest()
70 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument
73 OHOS::DistributedHardware::VersioninfoManagerFuzzTest(data, size); in LLVMFuzzerTestOneInput()
[all...]
/test/testfwk/arkxtest/uitest/record/
H A Dleast_square_impl.cpp23 if (tVals_.size() <= ONE || (paramsNum_ != Matrix3::DIMENSION)) { in GetLSMParams()
24 LOG_E("size is invalid, %{public}d, %{public}d", static_cast<int32_t>(tVals_.size()), paramsNum_); in GetLSMParams()
37 int32_t size = countNum - ONE; in GetLSMParams() local
39 xVals[size] = *iter; in GetLSMParams()
40 size--; in GetLSMParams()
41 if (size < ZERO) { in GetLSMParams()
45 size = countNum - ONE; in GetLSMParams()
47 yVals[size] = *iter; in GetLSMParams()
48 size in GetLSMParams()
[all...]
/test/xts/hats/kernel/syscalls/fileio/pread64/
H A DPread64ApiTest.cpp69 * @tc.size : MediumTest
75 ssize_t size; in HWTEST_F() local
81 size = pread64(fd, buf, TEST_LEN, 0); in HWTEST_F()
82 EXPECT_EQ(size, TEST_LEN); in HWTEST_F()
87 size = pread64(fd, buf, TEST_LEN, midLen); in HWTEST_F()
88 EXPECT_EQ(size, TEST_LEN - midLen); in HWTEST_F()
93 size = pread64(fd, buf, TEST_LEN, TEST_LEN); in HWTEST_F()
94 EXPECT_EQ(size, 0); in HWTEST_F()
103 * @tc.size : MediumTest
110 ssize_t size; in HWTEST_F() local
[all...]
/third_party/ffmpeg/libavformat/
H A Drawutils.c34 int contains_pal = bpc == 8 && pkt->size == with_pal_size; in ff_reshuffle_raw_rgb()
35 int size = contains_pal ? min_stride * par->height : pkt->size; in ff_reshuffle_raw_rgb() local
36 int stride = size / par->height; in ff_reshuffle_raw_rgb()
41 if (pkt->size == expected_stride * par->height) in ff_reshuffle_raw_rgb()
43 if (size != stride * par->height) in ff_reshuffle_raw_rgb()
74 size_t size; in ff_get_packet_palette() local
76 side_data = av_packet_get_side_data(pkt, AV_PKT_DATA_PALETTE, &size); in ff_get_packet_palette()
78 if (size != AVPALETTE_SIZE) { in ff_get_packet_palette()
88 palette[i] = AV_RL32(pkt->data + pkt->size in ff_get_packet_palette()
[all...]
/third_party/ffmpeg/tests/checkasm/
H A Dhevc_idct.c30 #define randomize_buffers(buf, size) \
33 for (j = 0; j < size; j++) { \
47 int size = block_size * block_size; in check_idct() local
51 randomize_buffers(coeffs0, size); in check_idct()
52 memcpy(coeffs1, coeffs0, sizeof(*coeffs0) * size); in check_idct()
56 if (memcmp(coeffs0, coeffs1, sizeof(*coeffs0) * size)) in check_idct()
71 int size = block_size * block_size; in check_idct_dc() local
74 randomize_buffers(coeffs0, size); in check_idct_dc()
75 memcpy(coeffs1, coeffs0, sizeof(*coeffs0) * size); in check_idct_dc()
80 if (memcmp(coeffs0, coeffs1, sizeof(*coeffs0) * size)) in check_idct_dc()
[all...]
/third_party/cups-filters/fontembed/
H A Dfrequent.c9 int size,czero; member
14 // size is the precision/return size: in sequence with n _add(), it will find at most >size elements with occurence > n/(size+1) times
15 FREQUENT *frequent_new(int size) // {{{ - just free() it in frequent_new() argument
17 assert(size>0); in frequent_new()
18 FREQUENT *ret=malloc(sizeof(ret[0])+sizeof(ret->pair[0])*size); in frequent_new()
22 ret->size=size; in frequent_new()
[all...]
/third_party/lzma/CPP/Windows/
H A DResourceString.cpp23 int size = 128; in MyLoadStringA() local
27 size <<= 1; in MyLoadStringA()
28 len = ::LoadString(hInstance, resourceID, s.GetBuf((unsigned)size - 1), size); in MyLoadStringA()
30 while (size - len <= 1); in MyLoadStringA()
41 int size = kStartSize; in MyLoadString2() local
45 size <<= 1; in MyLoadString2()
46 len = ::LoadStringW(hInstance, resourceID, s.GetBuf((unsigned)size - 1), size); in MyLoadString2()
48 while (size in MyLoadString2()
[all...]
/third_party/lzma/CS/7zip/Compress/LZ/
H A DLzOutWindow.cs42 uint size = (len < _windowSize) ? (uint)len : _windowSize; in Train()
43 TrainSize = size; in Train()
44 stream.Position = len - size; in Train()
46 while (size > 0) in Train()
49 if (size < curSize) in Train()
50 curSize = size; in Train()
54 size -= (uint)numReadBytes; in Train()
71 uint size = _pos - _streamPos; in Flush()
72 if (size == 0) in Flush()
74 _stream.Write(_buffer, (int)_streamPos, (int)size); in Flush()
[all...]
/third_party/mesa3d/src/virtio/vulkan/
H A Dvn_renderer_util.c69 size_t size) in vn_renderer_shmem_pool_grow()
74 while (alloc_size < size) { in vn_renderer_shmem_pool_grow()
89 pool->size = alloc_size; in vn_renderer_shmem_pool_grow()
98 size_t size, in vn_renderer_shmem_pool_alloc()
101 if (unlikely(size > pool->size - pool->used)) { in vn_renderer_shmem_pool_alloc()
102 if (!vn_renderer_shmem_pool_grow(renderer, pool, size)) in vn_renderer_shmem_pool_alloc()
105 assert(size <= pool->size - pool->used); in vn_renderer_shmem_pool_alloc()
111 pool->used += size; in vn_renderer_shmem_pool_alloc()
67 vn_renderer_shmem_pool_grow(struct vn_renderer *renderer, struct vn_renderer_shmem_pool *pool, size_t size) vn_renderer_shmem_pool_grow() argument
96 vn_renderer_shmem_pool_alloc(struct vn_renderer *renderer, struct vn_renderer_shmem_pool *pool, size_t size, size_t *out_offset) vn_renderer_shmem_pool_alloc() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_video.h58 NV04_FIFO_PKHDR(int subc, int mthd, unsigned size) in NV04_FIFO_PKHDR() argument
60 return 0x00000000 | (size << 18) | (subc << 13) | mthd; in NV04_FIFO_PKHDR()
64 NV04_FIFO_PKHDR_NI(int subc, int mthd, unsigned size) in NV04_FIFO_PKHDR_NI() argument
66 return 0x40000000 | (size << 18) | (subc << 13) | mthd; in NV04_FIFO_PKHDR_NI()
70 BEGIN_NV04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NV04() argument
72 PUSH_SPACE(push, size + 1); in BEGIN_NV04()
73 PUSH_DATA (push, NV04_FIFO_PKHDR(subc, mthd, size)); in BEGIN_NV04()
77 BEGIN_NI04(struct nouveau_pushbuf *push, int subc, int mthd, unsigned size) in BEGIN_NI04() argument
79 PUSH_SPACE(push, size + 1); in BEGIN_NI04()
80 PUSH_DATA (push, NV04_FIFO_PKHDR_NI(subc, mthd, size)); in BEGIN_NI04()
[all...]

Completed in 10 milliseconds

1...<<61626364656667686970>>...1291