/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | download_manager_preview.cpp | 71 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_URL, url.c_str()); 72 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_WRITEFUNCTION, OnWritingMemory); 73 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_WRITEDATA, &dataOut); 75 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_USERAGENT, "libcurl-agent/1.0"); 76 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_URL, url.c_str()); 77 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_VERBOSE, 1L); 78 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_ERRORBUFFER, errorStr.data()); 82 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXY, proxy.host.c_str()); 83 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_PROXYPORT, proxy.port); 85 ACE_CURL_EASY_SET_OPTION(handle.get(), CURLOPT_NOPROX [all...] |
/foundation/multimedia/av_codec/test/unittest/video_test/video_test/capbilities/data_producer/demuxer/ |
H A D | demuxer.cpp | 39 int32_t fileFd = fileno(file_.get()); in Init() 51 demuxer_ = std::shared_ptr<OH_AVDemuxer>(OH_AVDemuxer_CreateWithSource(source_.get()), OH_AVDemuxer_Destroy); in Init() 53 auto sourceFormat = std::shared_ptr<OH_AVFormat>(OH_AVSource_GetSourceFormat(source_.get()), OH_AVFormat_Destroy); in Init() 66 ret = OH_AVDemuxer_ReadSampleBuffer(demuxer_.get(), videoTrackId_, in FillBuffer() 70 ret = OH_AVDemuxer_ReadSample(demuxer_.get(), videoTrackId_, in FillBuffer() 79 int32_t ret = OH_AVDemuxer_SeekToTime(demuxer_.get(), position, sampleInfo_->dataProducerInfo.seekMode); in Seek() 97 OH_AVFormat_GetIntValue(sourceFormat.get(), OH_MD_KEY_TRACK_COUNT, &trackCount); in GetVideoTrackInfo() 102 std::shared_ptr<OH_AVFormat>(OH_AVSource_GetTrackFormat(source_.get(), index), OH_AVFormat_Destroy); in GetVideoTrackInfo() 103 OH_AVFormat_GetIntValue(trackFormat.get(), OH_MD_KEY_TRACK_TYPE, &trackType); in GetVideoTrackInfo() 106 OH_AVDemuxer_SelectTrackByID(demuxer_.get(), inde in GetVideoTrackInfo() [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/ |
H A D | wifi_p2p_dns_sd_service_response.cpp | 45 unsigned char t = static_cast<unsigned char>(istream.get()); in FetchTxtData() 54 istream.read(ptr.get(), t); in FetchTxtData() 56 std::istringstream iss(ptr.get()); in FetchTxtData() 61 t = istream.get(); in FetchTxtData() 73 unsigned char t = static_cast<unsigned char>(istream.get()); in FetchDnsName() 78 t = istream.get(); in FetchDnsName() 90 istream.read(ptr.get(), t); in FetchDnsName() 91 dnsName.append(ptr.get(), 0, t); in FetchDnsName() 94 t = istream.get(); in FetchDnsName() 118 dnsType = static_cast<int>(static_cast<size_t>(istream.get()) << CHAR_BI in ParseData() [all...] |
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
H A D | LazyStringArrayListTest.java | 61 assertSame(STRING_A, list.get(0)); in testJustStrings() 62 assertSame(STRING_B, list.get(1)); in testJustStrings() 63 assertSame(STRING_C, list.get(2)); in testJustStrings() 66 assertSame(STRING_C, list.get(1)); in testJustStrings() 69 assertSame(STRING_A, list.get(0)); in testJustStrings() 70 assertSame(STRING_C, list.get(1)); in testJustStrings() 96 assertSame(STRING_A, list.get(0)); in testConversionBackAndForth() 100 String bPrime = list.get(1); in testConversionBackAndForth() 103 String cPrime = list.get(2); in testConversionBackAndForth() 108 assertSame(bPrime, list.get( in testConversionBackAndForth() [all...] |
/third_party/mesa3d/src/amd/compiler/ |
H A D | aco_validate.cpp | 141 "Wrong base format for instruction", instr.get()); in validate_ir() 147 "Format cannot have VOP3/VOP3B applied", instr.get()); in validate_ir() 154 "Format cannot have SDWA applied", instr.get()); in validate_ir() 156 check(program->gfx_level >= GFX8, "SDWA is GFX8 to GFX10.3 only", instr.get()); in validate_ir() 157 check(program->gfx_level < GFX11, "SDWA is GFX8 to GFX10.3 only", instr.get()); in validate_ir() 161 instr.get()); in validate_ir() 164 "SDWA VOPC clamp only supported on GFX8", instr.get()); in validate_ir() 167 "SDWA+VOPC definition must be fixed to vcc on GFX8", instr.get()); in validate_ir() 171 instr.get()); in validate_ir() 173 "SDWA definition selection size must be at most definition size", instr.get()); in validate_ir() [all...] |
/third_party/node/test/fixtures/wpt/wasm/jsapi/table/ |
H A D | assertions.js | 3 // The argument check in get() happens before the range check, and negative numbers 5 assert_throws_js(TypeError, () => table.get(-1), `${message}: table.get(-1)`); 7 assert_equals(table.get(i), expected[i], `${message}: table.get(${i} of ${expected.length})`); 9 assert_throws_js(RangeError, () => table.get(expected.length), 10 `${message}: table.get(${expected.length} of ${expected.length})`); 11 assert_throws_js(RangeError, () => table.get(expected.length + 1), 12 `${message}: table.get(${expected.length + 1} of ${expected.length})`); 22 assert_equals(actual.get( [all...] |
/third_party/skia/third_party/externals/spirv-tools/test/fuzz/ |
H A D | transformation_add_relaxed_decoration_test.cpp | 71 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 74 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 79 context.get(), transformation_context)); in TEST() 82 context.get(), transformation_context)); in TEST() 85 context.get(), transformation_context)); in TEST() 88 context.get(), transformation_context)); in TEST() 94 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 95 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 98 context.get(), validator_options, kConsoleMessageConsumer)); in TEST() 142 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
H A D | transformation_add_type_function_test.cpp | 63 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 66 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 69 .IsApplicable(context.get(), transformation_context)); in TEST() 72 .IsApplicable(context.get(), transformation_context)); in TEST() 76 .IsApplicable(context.get(), transformation_context)); in TEST() 80 .IsApplicable(context.get(), transformation_context)); in TEST() 94 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 95 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 98 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 136 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
H A D | transformation_add_global_undef_test.cpp | 51 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 54 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 57 context.get(), transformation_context)); in TEST() 60 context.get(), transformation_context)); in TEST() 64 context.get(), transformation_context)); in TEST() 71 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 72 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 96 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 97 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 100 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_option in TEST() [all...] |
H A D | transformation_add_type_matrix_test.cpp | 51 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 54 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 57 context.get(), transformation_context)); in TEST() 60 context.get(), transformation_context)); in TEST() 64 .IsApplicable(context.get(), transformation_context)); in TEST() 72 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 73 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 107 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 108 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 111 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_option in TEST() [all...] |
H A D | transformation_replace_copy_memory_with_load_store_test.cpp | 73 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 74 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 87 ASSERT_FALSE(transformation_invalid_1.IsApplicable(context.get(), in TEST() 93 ASSERT_FALSE(transformation_invalid_2.IsApplicable(context.get(), in TEST() 98 ASSERT_TRUE(transformation_valid_1.IsApplicable(context.get(), in TEST() 100 ApplyAndCheckFreshIds(transformation_valid_1, context.get(), in TEST() 102 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 107 ASSERT_TRUE(transformation_valid_2.IsApplicable(context.get(), in TEST() 109 ApplyAndCheckFreshIds(transformation_valid_2, context.get(), in TEST() 111 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_option in TEST() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/fuzz/ |
H A D | transformation_add_relaxed_decoration_test.cpp | 71 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 74 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 79 context.get(), transformation_context)); in TEST() 82 context.get(), transformation_context)); in TEST() 85 context.get(), transformation_context)); in TEST() 88 context.get(), transformation_context)); in TEST() 94 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 95 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 98 context.get(), validator_options, kConsoleMessageConsumer)); in TEST() 142 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
H A D | transformation_add_type_function_test.cpp | 63 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 66 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 69 .IsApplicable(context.get(), transformation_context)); in TEST() 72 .IsApplicable(context.get(), transformation_context)); in TEST() 76 .IsApplicable(context.get(), transformation_context)); in TEST() 80 .IsApplicable(context.get(), transformation_context)); in TEST() 94 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 95 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 98 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 136 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
H A D | transformation_add_global_undef_test.cpp | 51 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 54 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 57 context.get(), transformation_context)); in TEST() 60 context.get(), transformation_context)); in TEST() 64 context.get(), transformation_context)); in TEST() 71 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 72 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 96 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 97 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 100 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_option in TEST() [all...] |
H A D | transformation_add_type_matrix_test.cpp | 51 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 54 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 57 context.get(), transformation_context)); in TEST() 60 context.get(), transformation_context)); in TEST() 64 .IsApplicable(context.get(), transformation_context)); in TEST() 72 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 73 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 107 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 108 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 111 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_option in TEST() [all...] |
H A D | transformation_replace_copy_memory_with_load_store_test.cpp | 73 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 74 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 87 ASSERT_FALSE(transformation_invalid_1.IsApplicable(context.get(), in TEST() 93 ASSERT_FALSE(transformation_invalid_2.IsApplicable(context.get(), in TEST() 98 ASSERT_TRUE(transformation_valid_1.IsApplicable(context.get(), in TEST() 100 ApplyAndCheckFreshIds(transformation_valid_1, context.get(), in TEST() 102 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 107 ASSERT_TRUE(transformation_valid_2.IsApplicable(context.get(), in TEST() 109 ApplyAndCheckFreshIds(transformation_valid_2, context.get(), in TEST() 111 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_option in TEST() [all...] |
/third_party/spirv-tools/test/fuzz/ |
H A D | transformation_add_relaxed_decoration_test.cpp | 71 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 74 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 79 context.get(), transformation_context)); in TEST() 82 context.get(), transformation_context)); in TEST() 85 context.get(), transformation_context)); in TEST() 88 context.get(), transformation_context)); in TEST() 94 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 95 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 98 context.get(), validator_options, kConsoleMessageConsumer)); in TEST() 142 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
H A D | transformation_add_type_function_test.cpp | 63 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 66 MakeUnique<FactManager>(context.get()), validator_options); in TEST() 69 .IsApplicable(context.get(), transformation_context)); in TEST() 72 .IsApplicable(context.get(), transformation_context)); in TEST() 76 .IsApplicable(context.get(), transformation_context)); in TEST() 80 .IsApplicable(context.get(), transformation_context)); in TEST() 94 transformation.IsApplicable(context.get(), transformation_context)); in TEST() 95 ApplyAndCheckFreshIds(transformation, context.get(), in TEST() 98 ASSERT_TRUE(fuzzerutil::IsValidAndWellFormed(context.get(), validator_options, in TEST() 136 ASSERT_TRUE(IsEqual(env, after_transformation, context.get())); in TEST() [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/ |
H A D | edge.js | 98 from.edgesOut.get(this.#name)?.detach() 144 get bundled () { 148 get workspace () { 152 get prod () { 156 get dev () { 160 get optional () { 164 get peer () { 168 get type () { 172 get name () { 176 get rawSpe [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_outwin.py | 58 get = self.text.get 65 eq(get('1.0', '1.end'), 'test text') 66 eq(get('insert linestart', 'insert lineend'), 'test text') 72 eq(get('1.0', '1.end'), 'test text') 73 eq(get('insert linestart', 'insert lineend'), '') 79 eq(get('1.0', '1.end'), 'test text') 80 eq(get('2.0', '2.end'), 'Line 2') 81 eq(get('insert linestart', 'insert lineend'), 'Line 2') 89 eq(get('myta [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | Region.java | 167 metadataAlias = metadata.get("alias"); in loadRegionData() 168 territoryAlias = metadataAlias.get("territory"); in loadRegionData() 171 codeMappings = supplementalData.get("codeMappings"); in loadRegionData() 172 idValidity = supplementalData.get("idValidity"); in loadRegionData() 173 regionList = idValidity.get("region"); in loadRegionData() 174 regionRegular = regionList.get("regular"); in loadRegionData() 175 regionMacro = regionList.get("macroregion"); in loadRegionData() 176 regionUnknown = regionList.get("unknown"); in loadRegionData() 178 territoryContainment = supplementalData.get("territoryContainment"); in loadRegionData() 179 worldContainment = territoryContainment.get("00 in loadRegionData() [all...] |
/third_party/python/Lib/tkinter/test/test_tkinter/ |
H A D | test_variables.py | 38 self.assertEqual("", v.get()) 43 self.assertEqual("sample string", v.get()) 132 v.get() 144 v.get() 150 v.get() 183 v.get() 193 v.get() 199 v.get() 218 self.assertEqual("", v.get()) 222 self.assertEqual("abc", v.get()) [all...] |
/third_party/skia/gm/ |
H A D | p3.cpp | 78 SkColor4f expected = transform(color,cs, canvas_cs.get()); in compare_pixel() 120 p.setColor4f(c, p3.get()); in DEF_SIMPLE_GM() 127 paint.setColor4f({1,0,0,1}, p3.get()); in DEF_SIMPLE_GM() 132 {1,0,0,1}, p3.get()); in DEF_SIMPLE_GM() 143 paint.setColor4f({1,0,0,1}, p3.get()); in DEF_SIMPLE_GM() 149 {1,0,0,1}, p3.get()); in DEF_SIMPLE_GM() 162 SkAssertResult(pm.erase({1,0,0,1}, p3.get())); in DEF_SIMPLE_GM() 167 {1,0,0,1}, p3.get()); in DEF_SIMPLE_GM() 180 SkAssertResult(pm.erase({1,0,0,1}, p3.get())); in DEF_SIMPLE_GM() 189 {1,0,0,1}, p3.get()); in DEF_SIMPLE_GM() [all...] |
/foundation/resourceschedule/resource_schedule_service/ressched/plugins/cgroup_sched_plugin/framework/sched_controller/ |
H A D | cgroup_event_handler.cpp | 221 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleProcessStateChanged() 245 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleAbilityStateChanged() 258 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleAbilityStateChanged() 278 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleExtensionStateChanged() 291 CgroupAdjuster::GetInstance().AdjustProcessGroup(*(app.get()), *(procRecord.get()), in HandleExtensionStateChanged() [all...] |
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | LazyStringArrayListTest.java | 64 assertSame(STRING_A, list.get(0)); in testJustStrings() 65 assertSame(STRING_B, list.get(1)); in testJustStrings() 66 assertSame(STRING_C, list.get(2)); in testJustStrings() 69 assertSame(STRING_C, list.get(1)); in testJustStrings() 72 assertSame(STRING_A, list.get(0)); in testJustStrings() 73 assertSame(STRING_C, list.get(1)); in testJustStrings() 76 assertEquals(BYTE_STRING_A, byteStringList.get(0)); in testJustStrings() 77 assertEquals(BYTE_STRING_C, byteStringList.get(1)); in testJustStrings() 80 assertSame(byteStringList.get(0), list.getByteString(0)); in testJustStrings() 81 assertSame(byteStringList.get( in testJustStrings() [all...] |