/third_party/skia/tests/ |
H A D | GrThreadSafeCacheTest.cpp | 743 TestHelper helper(dContext); in test_1() 745 (helper.*addAccess)(helper.ddlCanvas1(), kImageWH, 1, false, false); in test_1() 746 REPORTER_ASSERT(reporter, (helper.*check)(helper.ddlCanvas1(), kImageWH, in test_1() 749 (helper.*addAccess)(helper.ddlCanvas2(), kImageWH, 2, false, false); in test_1() 750 REPORTER_ASSERT(reporter, (helper.*check)(helper.ddlCanvas2(), kImageWH, in test_1() 753 REPORTER_ASSERT(reporter, helper in test_1() [all...] |
H A D | GrMeshTest.cpp | 168 [&](DrawMeshHelper* helper) { 177 helper->fVertBuffer = helper->makeVertexBuffer(expandedVertexData); 178 VALIDATE(helper->fVertBuffer); 180 [&](DrawMeshHelper* helper) { 182 auto pass = helper->bindPipeline(GrPrimitiveType::kTriangles, false, true); 183 pass->bindBuffers(nullptr, nullptr, helper->fVertBuffer); 189 [&](DrawMeshHelper* helper) { 190 helper->fIndexBuffer = helper [all...] |
/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | clspv_helper.cc | 68 spv_result_t ParseExtendedInst(ReflectionHelper* helper, in ParseExtendedInst() argument 74 const auto& name = helper->strings[inst->words[inst->operands[5].offset]]; in ParseExtendedInst() 75 helper->strings[inst->result_id] = name; in ParseExtendedInst() 80 const auto& name = helper->strings[inst->words[inst->operands[4].offset]]; in ParseExtendedInst() 81 helper->strings[inst->result_id] = name; in ParseExtendedInst() 96 arg_name = helper->strings[inst->words[inst->operands[8].offset]]; in ParseExtendedInst() 102 helper->constants[ds_id], in ParseExtendedInst() 103 helper->constants[binding_id], in ParseExtendedInst() 104 helper->constants[ordinal_id], in ParseExtendedInst() 107 helper in ParseExtendedInst() 214 auto* helper = reinterpret_cast<ReflectionHelper*>(user_data); ParseReflection() local 268 ReflectionHelper helper; Compile() local [all...] |
/third_party/node/test/fixtures/postject-copy/node_modules/commander/lib/ |
H A D | help.js | 178 * @param {Help} helper 182 longestSubcommandTermLength(cmd, helper) { 183 return helper.visibleCommands(cmd).reduce((max, command) => { 184 return Math.max(max, helper.subcommandTerm(command).length); 192 * @param {Help} helper 196 longestOptionTermLength(cmd, helper) { 197 return helper.visibleOptions(cmd).reduce((max, option) => { 198 return Math.max(max, helper.optionTerm(option).length); 206 * @param {Help} helper 210 longestGlobalOptionTermLength(cmd, helper) { [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | VulkanExternalImageTest.cpp | 65 static bool CanCreateSemaphore(const VulkanHelper &helper) in CanCreateSemaphore() 67 return helper.canCreateSemaphoreOpaqueFd(); in CanCreateSemaphore() 70 static VkResult CreateSemaphore(VulkanHelper *helper, VkSemaphore *semaphore) in CreateSemaphore() 72 return helper->createSemaphoreOpaqueFd(semaphore); in CreateSemaphore() 75 static VkResult ExportSemaphore(VulkanHelper *helper, VkSemaphore semaphore, Handle *handle) in ExportSemaphore() 77 return helper->exportSemaphoreOpaqueFd(semaphore, handle); in ExportSemaphore() 85 static bool CanCreateImage(const VulkanHelper &helper, in CanCreateImage() 92 return helper.canCreateImageOpaqueFd(format, type, tiling, createFlags, usageFlags); in CanCreateImage() 95 static VkResult CreateImage2D(VulkanHelper *helper, in CreateImage2D() 105 return helper in CreateImage2D() 217 VulkanHelper helper; RunShouldImportMemoryTest() local 280 VulkanHelper helper; RunShouldImportSemaphoreTest() local 327 VulkanHelper helper; RunShouldClearTest() local 469 VulkanHelper helper; RunTextureFormatCompatChromiumTest() local 637 VulkanHelper helper; RunShouldClearWithSemaphoresTest() local 874 VulkanHelper helper; runShouldDrawTest() local 1025 VulkanHelper helper; runWaitSemaphoresRetainsContentTest() local 1194 VulkanHelper helper; TEST_P() local [all...] |
H A D | VulkanImageTest.cpp | 140 VulkanHelper helper; in TEST_P() local 141 helper.initializeFromANGLE(); in TEST_P() 179 helper.readPixels(vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, info.format, {}, in TEST_P() 195 VulkanHelper helper; in TEST_P() local 196 helper.initializeFromANGLE(); in TEST_P() 233 helper.readPixels(vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, info.format, {}, info.extent, in TEST_P() 247 helper.readPixels(vkImage, VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL, info.format, {}, info.extent, in TEST_P() 263 VulkanHelper helper; in TEST_P() local 264 helper.initializeFromANGLE(); in TEST_P() 305 helper in TEST_P() [all...] |
/third_party/node/deps/v8/src/base/ |
H A D | atomicops.h | 79 namespace helper { namespace 88 } // namespace helper 106 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() 114 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() 122 helper::to_std_atomic(ptr), &old_value, new_value, in Relaxed_CompareAndSwap() 129 return std::atomic_exchange_explicit(helper::to_std_atomic(ptr), new_value, in Relaxed_AtomicExchange() 135 return std::atomic_exchange_explicit(helper::to_std_atomic(ptr), new_value, in SeqCst_AtomicExchange() 141 return increment + std::atomic_fetch_add_explicit(helper::to_std_atomic(ptr), in Relaxed_AtomicIncrement() 149 helper::to_std_atomic(ptr), &old_value, new_value, in Acquire_CompareAndSwap() 157 helper in Release_CompareAndSwap() 408 namespace helper { global() namespace [all...] |
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_transfer_helper.c | 43 static inline bool need_interleave_path(struct u_transfer_helper *helper, in need_interleave_path() argument 46 if (helper->separate_stencil && util_format_is_depth_and_stencil(format)) in need_interleave_path() 48 if (helper->separate_z32s8 && format == PIPE_FORMAT_Z32_FLOAT_S8X24_UINT) in need_interleave_path() 51 if (helper->z24_in_z32f && format == PIPE_FORMAT_Z24X8_UNORM) in need_interleave_path() 58 struct u_transfer_helper *helper = prsc->screen->transfer_helper; in handle_transfer() local 60 if (helper->vtbl->get_internal_format) { in handle_transfer() 62 helper->vtbl->get_internal_format(prsc); in handle_transfer() 67 if (helper->msaa_map && (prsc->nr_samples > 1)) in handle_transfer() 81 * helper->vtbl fxns directly, but calls back to pctx->transfer_map()/etc 102 struct u_transfer_helper *helper in u_transfer_helper_resource_create() local 152 struct u_transfer_helper *helper = pscreen->transfer_helper; u_transfer_helper_resource_destroy() local 249 struct u_transfer_helper *helper = pctx->screen->transfer_helper; u_transfer_helper_transfer_map() local 368 struct u_transfer_helper *helper = pctx->screen->transfer_helper; flush_region() local 490 struct u_transfer_helper *helper = pctx->screen->transfer_helper; u_transfer_helper_transfer_flush_region() local 520 struct u_transfer_helper *helper = pctx->screen->transfer_helper; u_transfer_helper_transfer_unmap() local 562 struct u_transfer_helper *helper = calloc(1, sizeof(*helper)); u_transfer_helper_create() local 575 u_transfer_helper_destroy(struct u_transfer_helper *helper) u_transfer_helper_destroy() argument 594 struct u_transfer_helper *helper = pctx->screen->transfer_helper; u_transfer_helper_deinterleave_transfer_map() local 695 struct u_transfer_helper *helper = pctx->screen->transfer_helper; u_transfer_helper_deinterleave_transfer_unmap() local [all...] |
/third_party/node/test/report/ |
H A D | test-report-writereport.js | 9 const helper = require('../common/report'); 16 const reports = helper.findReports(process.pid, tmpdir.path); 18 helper.validate(reports[0], arguments[0]); 54 assert.strictEqual(helper.findReports(process.pid, tmpdir.path).length, 0); 56 helper.validate(absolutePath); 65 assert.strictEqual(helper.findReports(process.pid, tmpdir.path).length, 0); 67 helper.validate(absolutePath); 75 assert.strictEqual(helper.findReports(process.pid, tmpdir.path).length, 0); 78 helper.validate(filename); 102 assert.strictEqual(helper [all...] |
/third_party/rust/crates/memoffset/src/ |
H A D | span_of.rs | 96 (@helper $root:ident, [] ..=) => { 99 (@helper $root:ident, [] ..) => { 103 (@helper $root:ident, $parent:path, [] ..) => {{ 107 (@helper $root:ident, $parent:path, [] ..= $end:tt) => {{ 111 (@helper $root:ident, $parent:path, [] .. $end:tt) => {{ 115 (@helper $root:ident, $parent:path, # $begin:tt [] ..= $end:tt) => {{ 120 (@helper $root:ident, $parent:path, # $begin:tt [] .. $end:tt) => {{ 125 (@helper $root:ident, $parent:path, # $begin:tt [] ..) => {{ 129 (@helper $root:ident, $parent:path, # $begin:tt [] ..=) => {{ 134 (@helper [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | itutil.cpp | 230 IcuTestErrorCodeTestHelper helper; in TestIcuTestErrorCode() local 231 helper.test = this; in TestIcuTestErrorCode() 234 helper.expectedErrln = u"AAA destructor: expected success but got error: U_ILLEGAL_PAD_POSITION"; in TestIcuTestErrorCode() 235 helper.expectedDataErr = false; in TestIcuTestErrorCode() 236 helper.seenError = false; in TestIcuTestErrorCode() 238 IcuTestErrorCode testStatus(helper, "AAA"); in TestIcuTestErrorCode() 241 assertTrue("Should have seen an error", helper.seenError); in TestIcuTestErrorCode() 244 helper.expectedErrln = u"BBB destructor: expected success but got error: U_ILLEGAL_PAD_POSITION scope: foo"; in TestIcuTestErrorCode() 245 helper.expectedDataErr = false; in TestIcuTestErrorCode() 246 helper in TestIcuTestErrorCode() [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | parser_impl_barrier_test.cc | 51 OpName %helper "helper" in TEST_F() 57 %helper = OpFunction %void None %1 in TEST_F() 68 auto* helper = in TEST_F() local 69 program.AST().Functions().Find(program.Symbols().Get("helper")); in TEST_F() 70 ASSERT_NE(helper, nullptr); in TEST_F() 71 ASSERT_GT(helper->body->statements.size(), 0u); in TEST_F() 72 auto* call = helper->body->statements[0]->As<ast::CallStatement>(); in TEST_F() 84 OpName %helper "helper" in TEST_F() 102 auto* helper = TEST_F() local [all...] |
/third_party/node/deps/v8/src/inspector/ |
H A D | v8-console.cc | 284 ConsoleHelper helper(info, consoleContext, m_inspector); in Clear() 285 if (!helper.groupId()) return; in Clear() 286 m_inspector->client()->consoleClear(helper.groupId()); in Clear() 287 helper.reportCallWithDefaultArgument(ConsoleAPIType::kClear, in Clear() 292 const String16& title, const ConsoleHelper& helper, in identifierFromTitleOrStackTrace() 316 ConsoleHelper helper(info, consoleContext, m_inspector); in Count() 317 String16 title = helper.firstArgToString(String16("default"), false); in Count() 319 title, helper, consoleContext, m_inspector); in Count() 322 helper.consoleMessageStorage()->count(helper in Count() 291 identifierFromTitleOrStackTrace( const String16& title, const ConsoleHelper& helper, const v8::debug::ConsoleContext& consoleContext, V8InspectorImpl* inspector) identifierFromTitleOrStackTrace() argument 627 setFunctionBreakpoint(ConsoleHelper& helper, int sessionId, v8::Local<v8::Function> function, V8DebuggerAgentImpl::BreakpointSource source, v8::Local<v8::String> condition, bool enable) setFunctionBreakpoint() argument [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf/Reflection/ |
H A D | ExtensionAccessor.cs | 38 private readonly ReflectionUtil.IExtensionReflectionHelper helper; field in Google.Protobuf.Reflection.ExtensionAccessor 44 helper = ReflectionUtil.CreateExtensionHelper(extension); in ExtensionAccessor() 51 helper.ClearExtension(message); in Clear() 56 return helper.HasExtension(message); in HasValue() 61 return helper.GetExtension(message); in GetValue() 66 helper.SetExtension(message, value); in SetValue()
|
/third_party/python/Lib/test/ |
H A D | test_marshal.py | 19 def helper(self, sample, *extra): member in HelperMixin 37 self.helper(expected) 65 self.helper(b) 74 self.helper(float(expected)) 90 self.helper(f) 91 self.helper(f, 1) 97 self.helper(marshal.loads(marshal.dumps(s))) 101 self.helper(s) 105 self.helper(s) 176 self.helper(sel [all...] |
H A D | profilee.py | 18 # (We can't use a helper function increment the timer since it would be 30 helper() # 300 31 helper() # 300 55 def helper(): function
|
/third_party/typescript/tests/baselines/reference/ |
H A D | controlFlowOuterVariable.js | 11 const helper = function<T>(t: T[]) { 12 helper(t.slice(1)); 23 var helper = function (t) {
function 24 helper(t.slice(1));
|
/third_party/python/Lib/test/test_tools/ |
H A D | test_freeze.py | 13 import freeze as helper namespace 27 outdir, scriptfile, python = helper.prepare(script, outdir) 28 executable = helper.freeze(python, scriptfile, outdir) 29 text = helper.run(executable)
|
/third_party/skia/src/gpu/ops/ |
H A D | AtlasInstancedHelper.h | 44 bool isCompatible(const AtlasInstancedHelper& helper) { in isCompatible() argument 47 SkASSERT(fAtlasProxy != helper.fAtlasProxy || fAtlasSwizzle == helper.fAtlasSwizzle); in isCompatible() 48 return fAtlasProxy == helper.fAtlasProxy && fShaderFlags == helper.fShaderFlags; in isCompatible() 51 // Adds bits to the shader key that uniquely identify this specific helper's shader code.
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/internal/ |
H A D | pcg_engine.h | 114 random_internal::stream_u128_helper<state_type> helper; in operator <<() local 115 helper.write(pcg_engine::params_type::multiplier(), os); in operator <<() 117 helper.write(pcg_engine::params_type::increment(), os); in operator <<() 119 helper.write(engine.state_, os); in operator <<() 142 random_internal::stream_u128_helper<state_type> helper; 143 auto mult = helper.read(is); 144 auto inc = helper.read(is); 145 auto tmp = helper.read(is);
|
/third_party/skia/third_party/externals/abseil-cpp/absl/random/ |
H A D | uniform_int_distribution.h | 247 using helper = random_internal::wide_multiply<unsigned_type>; in Generate() 248 auto product = helper::multiply(bits, Lim); in Generate() 255 if (ABSL_PREDICT_FALSE(helper::lo(product) < Lim)) { in Generate() 263 while (helper::lo(product) < threshold) { in Generate() 265 product = helper::multiply(bits, Lim); in Generate() 269 return helper::hi(product); in Generate()
|
/third_party/libuv/test/ |
H A D | runner.c | 170 /* If it's a helper the user asks for, start it directly. */ in run_test() 372 const task_entry_t* helper; in find_helpers() local 375 for (n_helpers = 0, helper = TASKS; helper->main; helper++) { in find_helpers() 376 if (helper->is_helper && strcmp(helper->task_name, task->task_name) == 0) { in find_helpers() 377 *helpers++ = helper; in find_helpers()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/converged/ |
H A D | CompositorNativeWindow11.cpp | 172 RoHelper helper; in IsSupportedWinRelease() local 173 if (!helper.WinRtAvailable()) in IsSupportedWinRelease() 178 return helper.SupportedWindowsRelease(); in IsSupportedWinRelease() 183 RoHelper helper; in IsSpriteVisual() local 190 auto hr = helper.GetStringReference(RuntimeClass_Windows_UI_Composition_SpriteVisual, in IsSpriteVisual() 204 hr = helper.WindowsCompareStringOrdinal(className, spriteClassName, &result); in IsSpriteVisual() 206 helper.WindowsDeleteString(className); in IsSpriteVisual()
|
/third_party/vixl/test/aarch64/ |
H A D | test-api-aarch64.cc | 1280 // Notify the helper that the registers in `update` have been passed into 1357 ScratchScopeHelper helper(&masm, in TEST() 1370 helper.RecordActionsAndCheck(0xff); in TEST() 1377 helper.RecordActionsAndCheck(0x7777700); in TEST() 1385 helper.RecordActionsAndCheck(0x7777700); in TEST() 1393 ScratchScopeHelper helper(&masm, in TEST() 1406 helper.RecordActionsAndCheck(0xff); in TEST() 1413 helper.RecordActionsAndCheck(0x7777700); in TEST() 1421 helper.RecordActionsAndCheck(0x7777700); in TEST() 1429 ScratchScopeHelper helper( in TEST() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | mss3.c | 343 int bit, helper; in rac_get_model2_sym() local 345 helper = m->zero_freq * (c->range >> MODEL2_SCALE); in rac_get_model2_sym() 346 bit = (c->low >= helper); in rac_get_model2_sym() 348 c->low -= helper; in rac_get_model2_sym() 349 c->range -= helper; in rac_get_model2_sym() 351 c->range = helper; in rac_get_model2_sym() 366 unsigned prob, prob2, helper; in rac_get_model_sym() local 375 helper = m->freqs[end] * c->range; in rac_get_model_sym() 376 if (helper <= c->low) { in rac_get_model_sym() 378 prob = helper; in rac_get_model_sym() 400 unsigned prob, prob2, helper; rac_get_model256_sym() local [all...] |