/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fNegativeTextureApiTests.cpp | 469 ctx.beginSection("GL_INVALID_VALUE is generated if imageSize is not consistent with the format, dimensions, and contents of the specified compressed image data."); in compressedteximage2d_invalid_size() 603 std::vector<GLubyte> data(64); in compressedteximage2d_invalid_buffer_target() 607 ctx.glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in compressedteximage2d_invalid_buffer_target() 610 ctx.beginSection("GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and the buffer object's data store is currently mapped."); in compressedteximage2d_invalid_buffer_target() 617 ctx.beginSection("GL_INVALID_OPERATION is generated if a non-zero buffer object name is bound to the GL_PIXEL_UNPACK_BUFFER target and the data would be unpacked from the buffer object such that the memory reads required would exceed the data store size."); in compressedteximage2d_invalid_buffer_target() 1537 std::vector<GLubyte> data(64); in teximage2d_invalid_buffer_target() 1541 ctx.glBufferData (GL_PIXEL_UNPACK_BUFFER, 64, &data[0], GL_DYNAMIC_COPY); in teximage2d_invalid_buffer_target() 1547 ctx.beginSection("...the buffer object's data store is currently mapped."); in teximage2d_invalid_buffer_target() 1554 ctx.beginSection("...the data woul in teximage2d_invalid_buffer_target() [all...] |
/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/ |
H A D | credsmanager_fuzzer.cpp | 63 static const std::string TEST_GROUP_DATA_PATH = "/data/service/el1/public/deviceauthMock"; 64 static const std::string TEST_HKS_MAIN_DATA_PATH = "/data/service/el1/public/huks_service/tmp/+0+0+0+0"; 84 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 86 if (memcpy_s(g_transmitData, sizeof(g_transmitData), data, dataLen) != EOK) { in OnTransmit() 1898 bool FuzzDoCallback(const uint8_t* data, size_t size) in FuzzDoCallback() argument 1904 (void)data; in FuzzDoCallback() 1913 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) in LLVMFuzzerTestOneInput() argument 1915 /* Run your code on data */ in LLVMFuzzerTestOneInput() 1916 OHOS::FuzzDoCallback(data, size); in LLVMFuzzerTestOneInput()
|
/foundation/ability/idl_tool/test/ts/unittest/ts_code_emitter_interface_test/ |
H A D | ts_code_emitter_interface_test.cpp | 1499 std::string data((char*)fileData); in HWTEST_F() 1501 EXPECT_TRUE(data.length()); in HWTEST_F() 1502 EXPECT_NE(data.find("Copyright"), std::string::npos); in HWTEST_F() 1503 EXPECT_NE(data.find("export default interface SpecialNameTest"), std::string::npos); in HWTEST_F() 1504 EXPECT_NE(data.find("voidParameterTypeShort"), std::string::npos); in HWTEST_F() 1505 EXPECT_NE(data.find("export type voidParameterTypeShortCallback"), std::string::npos); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_pattern.cpp | 1215 const std::string& module, const std::string& data, in InitFormManagerDelegate() 1223 uiTaskExecutor.PostTask([id, path, module, data, imageDataMap, formJsInfo, weak, instanceID, frontendType, in InitFormManagerDelegate() 1231 container->RunCard(id, path, module, data, imageDataMap, formJsInfo.formSrc, frontendType, uiSyntax); in InitFormManagerDelegate() 1236 [weak = WeakClaim(this), instanceID, pipeline](int64_t id, const std::string& data, in InitFormManagerDelegate() 1241 uiTaskExecutor.PostTask([id, data, imageDataMap, weak, instanceID] { in InitFormManagerDelegate() 1246 form->GetSubContainer()->UpdateCard(data, imageDataMap); in InitFormManagerDelegate()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/drag_drop/ |
H A D | drag_drop_manager.cpp | 399 // special handling for no drag data present situation, always show as move in UpdateDragAllowDrop() 825 "DragDropManager onDragEnd, target data is not allowed to fall into. WindowId is %{public}d, " in HandleOnDragEnd() 891 // application passed in null to indicate refusing all drag data forcedly in IsDropAllowed() 897 // if application does not set allow drop or set with empty, treat as all data types is allowed in IsDropAllowed() 1422 auto callback = [weakManager = WeakClaim(this)](const std::string& data) { in AddDataToClipboard() 1427 clipboardAllData->Put("preData", data.c_str()); in AddDataToClipboard() 1448 auto callback = [weak = WeakClaim(this)](const std::string& data) { in GetExtraInfoFromClipboard() 1451 auto json = JsonUtil::ParseJsonString(data); in GetExtraInfoFromClipboard() 1475 auto callback = [weakManager = WeakClaim(this)](const std::string& data) { in RestoreClipboardData() 1478 auto json = JsonUtil::ParseJsonString(data); in RestoreClipboardData() [all...] |
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_app_control_test/ |
H A D | bms_bundle_app_control_test.cpp | 50 const std::string INSTALL_PATH = "/data/test/resource/bms/app_control/bmsThirdBundle1.hap"; 1827 MessageParcel data; in HWTEST_F() local 1829 auto res = appControlHost->HandleSetDisposedRuleForCloneApp(data, reply); in HWTEST_F() 1842 MessageParcel data; in HWTEST_F() local 1844 auto res = appControlHost->HandleSetDisposedRule(data, reply); in HWTEST_F() 1857 MessageParcel data; in HWTEST_F() local 1859 auto res = appControlHost->HandleSetDisposedStatus(data, reply); in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/ |
H A D | medialibrary_asset_operations.cpp | 1649 static void UpdateAlbumsAndSendNotifyInTrash(AsyncTaskData *data) in UpdateAlbumsAndSendNotifyInTrash() argument 1651 if (data == nullptr) { in UpdateAlbumsAndSendNotifyInTrash() 1654 DeleteNotifyAsyncTaskData* notifyData = static_cast<DeleteNotifyAsyncTaskData*>(data); in UpdateAlbumsAndSendNotifyInTrash() 2313 static void DeleteFiles(AsyncTaskData *data) in DeleteFiles() argument 2317 if (data == nullptr) { in DeleteFiles() 2320 auto *taskData = static_cast<DeleteFilesTask *>(data); in DeleteFiles() 2489 MEDIA_ERR_LOG("Failed to alloc async data for Delete From Disk!"); in DeleteFromDisk()
|
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/manager/src/ |
H A D | softbus_broadcast_mgr.c | 503 static void DumpSoftbusData(const char *description, uint16_t len, const uint8_t *data) in DumpSoftbusData() argument 507 DISC_CHECK_AND_RETURN_LOGE(data != NULL, DISC_BROADCAST, "description=%{public}s, data is nullptr", description); in DumpSoftbusData() 513 (void)ConvertBytesToHexString(softbusData, hexLen, data, len); in DumpSoftbusData() 588 ret = BuildBroadcastPacket(&(reportData->data), &(bcInfo->packet)); in BuildBroadcastReportInfo() 681 static void BcLpDeviceInfoCallback(const SoftbusBroadcastUuid *uuid, int32_t type, uint8_t *data, uint32_t dataSize) in BcLpDeviceInfoCallback() argument 695 scanManager->scanCallback->OnLpDeviceInfoCallback(&bcUuid, type, data, dataSize); in BcLpDeviceInfoCallback() 1036 DumpSoftbusData("service data", len, (nativeFilter + filterSize)->serviceData); in DumpBcScanFilter() 1043 DumpSoftbusData("manufacture data", len, (nativeFilter + filterSize)->manufactureData); in DumpBcScanFilter() 1304 DISC_LOGD(DISC_BROADCAST, "enter release bc data"); in ReleaseSoftbusBroadcastData() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | dca_core.c | 622 // 5.5 - Primary audio data arrays 655 // Low frequency effect data in parse_subframe_audio() 687 // Audio data in parse_subframe_audio() 897 // Channel set 0 data byte size in parse_xxch_frame() 1015 // Audio data in parse_xbr_subframe() 1098 // Channel set data byte size in parse_xbr_frame() 1126 // Channel set data in parse_xbr_frame() 1205 // Audio data in parse_x96_subframe_audio() 1578 // Channel set data byte size in parse_x96_frame_exss() 1597 // Channel set data in parse_x96_frame_exss() 1800 ff_dca_core_parse(DCACoreDecoder *s, const uint8_t *data, int size) ff_dca_core_parse() argument 1833 ff_dca_core_parse_exss(DCACoreDecoder *s, const uint8_t *data, DCAExssAsset *asset) ff_dca_core_parse_exss() argument [all...] |
H A D | alsdec.c | 201 uint32_t crc_org; ///< CRC value of the original input data 202 uint32_t crc; ///< CRC value calculated from decoded data 225 ALSChannelData **chan_data; ///< channel data for multi-channel correlation 226 ALSChannelData *chan_data_buffer; ///< contains channel data for all channels 234 int *last_acf_mantissa; ///< contains the last acf mantissa data of common multiplier for all channels 408 // if size = 0xFFFFFFFF then there is no data field! in read_specific_config() 422 // skip the header and trailer data in read_specific_config() 446 // no need to read the rest of ALSSpecificConfig (ra_unit_size & aux data) in read_specific_config() 592 /** Read the block data for a constant block 622 /** Decode the block data fo [all...] |
H A D | vp9block.c | 1373 td->dst[0] = f->data[0] + yoff; in ff_vp9_decode_block() 1381 td->dst[1] = f->data[1] + uvoff; in ff_vp9_decode_block() 1382 td->dst[2] = f->data[2] + uvoff; in ff_vp9_decode_block() 1406 s->dsp.mc[n][0][0][0][0](f->data[0] + yoff + o * bytesperpixel, f->linesize[0], in ff_vp9_decode_block() 1421 s->dsp.mc[n][0][0][0][0](f->data[1] + uvoff + o * bytesperpixel, f->linesize[1], in ff_vp9_decode_block() 1423 s->dsp.mc[n][0][0][0][0](f->data[2] + uvoff + o * bytesperpixel, f->linesize[2], in ff_vp9_decode_block()
|
/third_party/curl/src/ |
H A D | tool_operate.c | 283 * header for VARIABLE header files only the bare record data needs in pre_transfer() 428 /* we have received no data despite the transfer was successful in post_per_transfer() 433 data because of unmet condition */ in post_per_transfer() 440 /* Dump standard stream buffered data */ in post_per_transfer() 506 * At this point, we have already written data to the output in post_per_transfer() 588 /* We have written data to an output file, we truncate file in post_per_transfer() 662 /* Write the --write-out data before cleanup but after result is final */ in post_per_transfer() 754 /* Use the postfields data for an HTTP get */ in single_transfer() 788 /* This node has no URL. Free node data without destroying the in single_transfer() 1417 errorf(global, "cannot mix --continue-at with --data"); in single_transfer() [all...] |
/third_party/glfw/tests/ |
H A D | triangle-vulkan.c | 871 void *data; in demo_prepare_texture_image() local 878 mem_alloc.allocationSize, 0, &data); in demo_prepare_texture_image() 882 uint32_t *row = (uint32_t *)((char *)data + layout.rowPitch * y); in demo_prepare_texture_image() 1054 void *data; in demo_prepare_vertices() local 1075 mem_alloc.allocationSize, 0, &data); in demo_prepare_vertices() 1078 memcpy(data, vb, sizeof(vb)); in demo_prepare_vertices() 1815 // Query with NULL data to get count in demo_init_vk()
|
/third_party/gn/src/gn/ |
H A D | ninja_c_binary_target_writer_unittest.cc | 657 // This target is a data (runtime) dependency of the intermediate target. in TEST_F() 658 Target data(setup.settings(), Label(SourceDir("//foo/"), "data_target")); in TEST_F() 659 data.set_output_type(Target::EXECUTABLE); in TEST_F() 660 data.visibility().SetPublic(); in TEST_F() 661 data.SetToolchain(setup.toolchain()); in TEST_F() 662 ASSERT_TRUE(data.OnResolved(&err)); in TEST_F() 668 inter.data_deps().push_back(LabelTargetPair(&data)); in TEST_F() 680 // object files, and will have an order-only dependency on its data dep and in TEST_F() 681 // data file. in TEST_F() 714 // set's stamp file and the final target's data fil in TEST_F() [all...] |
/third_party/libuv/src/win/ |
H A D | pipe.c | 44 /* The timeout that the pipe will wait for the remote end to write data when 77 uint32_t data_length; /* Must be zero if there is no data. */ 134 handle->read_req.data = handle; in uv__pipe_connection_init() 764 req->data = handle; in uv_pipe_bind2() 1244 uv_pipe_t* handle = (uv_pipe_t*) req->data; in uv_pipe_zero_readfile_thread_proc() 1284 /* Block the thread until data is available on the pipe, or the read is in uv_pipe_zero_readfile_thread_proc() 1347 handle = (uv_tcp_t*)req->data; in post_completion_read_wait() 1527 * (c) data from all `bufs` entries. in uv__build_coalesced_write_req() 1541 /* The total combined size of data buffers should not exceed UINT32_MAX, in uv__build_coalesced_write_req() 1562 /* Copy data buffer in uv__build_coalesced_write_req() [all...] |
/third_party/mesa3d/src/freedreno/ir3/ |
H A D | ir3_ra.c | 52 ir3_reg_interval_cmp(const struct rb_node *node, const void *data) in ir3_reg_interval_cmp() argument 54 unsigned reg = *(const unsigned *)data; in ir3_reg_interval_cmp() 419 ra_interval_cmp(const struct rb_node *node, const void *data) in ra_interval_cmp() argument 421 physreg_t reg = *(const physreg_t *)data; in ra_interval_cmp() 1917 return (physreg_t)(uintptr_t)entry->data; in read_register() 2197 physreg_t new_reg = (physreg_t)(uintptr_t)entry->data; in insert_live_out_move()
|
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/ |
H A D | libcpuset.c | 1076 char data[SMALL_BUFSZ]; in store_number() local 1078 memset(data, 0, sizeof(data)); in store_number() 1080 snprintf(data, sizeof(data), "%d", val); in store_number() 1081 return write_string_file(buf, data); in store_number() 1131 * about stale data in this file across reboots. If the file 1135 * If using this cached data, remember the mtime of the mapfile 1174 * data updates and accesses, internal to some libcpuset calls. 2541 * we gather up this raw data, w [all...] |
/third_party/mesa3d/src/gallium/frontends/dri/ |
H A D | dri2.c | 655 * such that they contain the same data as the single-sample in dri2_allocate_textures() 1793 unsigned int flags, int *stride, void **data) in dri2_map_image() 1801 if (!image || !data || *data) in dri2_map_image() 1822 *data = trans; in dri2_map_image() 1830 dri2_unmap_image(__DRIcontext *context, __DRIimage *image, void *data) in dri2_unmap_image() argument 1835 pipe_texture_unmap(pipe, (struct pipe_transfer *)data); in dri2_unmap_image() 2022 * a GL buffer object but does not have an existing data store or in dri2_interop_export_object() 1791 dri2_map_image(__DRIcontext *context, __DRIimage *image, int x0, int y0, int width, int height, unsigned int flags, int *stride, void **data) dri2_map_image() argument
|
/third_party/mesa3d/src/intel/blorp/ |
H A D | blorp_genX_exec.h | 294 void *data = blorp_alloc_vertex_buffer(batch, sizeof(vertices), addr); in blorp_emit_vertex_data() local 295 memcpy(data, vertices, sizeof(vertices)); in blorp_emit_vertex_data() 297 blorp_flush_range(batch, data, *size); in blorp_emit_vertex_data() 315 void *data = blorp_alloc_vertex_buffer(batch, *size, addr); in blorp_emit_input_varying_data() local 316 uint32_t *inputs = data; in blorp_emit_input_varying_data() 326 * to the vertex data buffer. in blorp_emit_input_varying_data() 341 blorp_flush_range(batch, data, *size); in blorp_emit_input_varying_data()
|
/third_party/libinput/src/ |
H A D | evdev.c | 212 evdev_button_scroll_timeout(uint64_t time, void *data) in evdev_button_scroll_timeout() argument 214 struct evdev_device *device = data; in evdev_button_scroll_timeout() 1142 evdev_device_dispatch(void *data) in evdev_device_dispatch() argument 1144 struct evdev_device *device = data; in evdev_device_dispatch() 2339 void *data, in libevdev_log_func() 2346 struct libinput *libinput = data; in libevdev_log_func() 2664 * use the same fuzz on top of the pre-fuzzed data and that leads to in evdev_read_fuzz_prop() 2337 libevdev_log_func(const struct libevdev *evdev, enum libevdev_log_priority priority, void *data, const char *file, int line, const char *func, const char *format, va_list args) libevdev_log_func() argument
|
/third_party/pcre2/pcre2/src/ |
H A D | pcre2grep.c | 976 WIN32_FIND_DATA data; member 1010 dir->handle = FindFirstFile(pattern, &(dir->data)); in opendirectory() 1031 if (!FindNextFile(dir->handle, &(dir->data))) in readdirectory() 1038 if (strcmp(dir->data.cFileName, ".") != 0 && strcmp(dir->data.cFileName, "..") != 0) in readdirectory() 1039 return dir->data.cFileName; in readdirectory() 1316 option_data the option data string 1415 zeros embedded in the data. This function is also used for reading patterns 1450 endptr end of available data 1623 startptr start of available data [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | TextureGL.cpp | 200 // The driver will think the pixel buffer doesn't have enough data, work around this bug in setImage() 350 // The driver will think the pixel buffer doesn't have enough data, work around this bug in setSubImage() 428 "Chunking upload of texture data to work around driver hangs."); in setSubImageRowByRowWorkaround() 683 // partially uninitialized data. in copyImage() 709 type, zero->data())); in copyImage() 2023 // Either the texture is not renderable or was incomplete when clearing, fall back to a data 2050 // WebGL spec requires that zero data is uploaded to compressed textures even if it might 2051 // not result in zero color data. 2057 nativeSubImageFormat.format, imageSize, zero->data())); 2065 nativeSubImageFormat.format, imageSize, zero->data())); [all...] |
/third_party/python/Lib/test/ |
H A D | test_lzma.py | 92 # Test LZMADecompressor on known-good input data. 94 def _test_decompressor(self, lzd, data, check, unused_data=b""): 96 out = lzd.decompress(data) 172 # Retrieve more data without providing more input 177 # Retrieve more data while providing more input 182 # Retrieve remaining uncompressed data 206 # Add more data that fits into input buffer after 207 # moving existing data to beginning 210 # Decompress rest of data 215 # Test reusing input buffer by appending data a [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/ |
H A D | scan.c | 47 union wpa_event_data data; in wpa_supplicant_gen_assoc_event() local 60 os_memset(&data, 0, sizeof(data)); in wpa_supplicant_gen_assoc_event() 61 wpa_supplicant_event(wpa_s, EVENT_ASSOC, &data); in wpa_supplicant_gen_assoc_event() 127 * @wpa_s: Pointer to wpa_supplicant data 303 * @wpa_s: Pointer to wpa_supplicant data 1517 * @wpa_s: Pointer to wpa_supplicant data 1553 * @wpa_s: Pointer to wpa_supplicant data 1597 * @wpa_s: Pointer to wpa_supplicant data 1899 * @wpa_s: Pointer to wpa_supplicant data [all...] |
/base/telephony/core_service/services/tel_ril/test/ |
H A D | tel_ril_test.cpp | 284 simIoRequestInfo.data = ""; in OnRequestSimIccIoTest() 329 simIoRequestInfo.data = ""; in OnRequestSimSmsTest() 1747 cout << "2: data" << endl; in DiffParamClassx() 1750 cout << "16: data circuit sync" << endl; in DiffParamClassx() 2003 void TelRilTest::DemoHandler::GetFileAndDataSize(const unsigned char *data, int &fileSize, int &dataSize) in GetFileAndDataSize() argument 2007 if (data == nullptr) { in GetFileAndDataSize() 2008 TELEPHONY_LOGE("GetFileAndDataSize null data"); in GetFileAndDataSize() 2011 fileSize = data[LENGTH_OF_RECORD] & byteNum; in GetFileAndDataSize() 2012 dataSize = ((data[SIZE_ONE_OF_FILE] & byteNum) << offset) + (data[SIZE_TWO_OF_FIL in GetFileAndDataSize() [all...] |