Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/tint/src/reader/spirv/
H A Dparser_type.cc448 return utils::GetOrCreate(state->pointers_, spirv::Pointer(el, sc), [&] { in Pointer()
455 return utils::GetOrCreate(state->references_, spirv::Reference(el, sc), [&] {
461 return utils::GetOrCreate(state->vectors_, spirv::Vector(el, size), [&] {
469 return utils::GetOrCreate(
478 return utils::GetOrCreate(
484 return utils::GetOrCreate(state->aliases_, name, [&] {
490 return utils::GetOrCreate(state->structs_, name, [&] {
496 return utils::GetOrCreate(state->samplers_, kind, [&] {
503 return utils::GetOrCreate(state->depth_textures_, dims, [&] {
510 return utils::GetOrCreate(stat
[all...]
/third_party/skia/third_party/externals/tint/src/utils/
H A Dmap_test.cc36 EXPECT_EQ(GetOrCreate(map, 1, [&] { return 2; }), 2); in TEST()
45 EXPECT_EQ(GetOrCreate(map, 1, in TEST()
H A Dmap.h39 /// GetOrCreate is a utility function for lazily adding to an unordered map.
47 V GetOrCreate(std::unordered_map<K, V, H, C>& map, in GetOrCreate() function
/third_party/skia/third_party/externals/tint/src/transform/
H A Dcalculate_array_length.cc85 return utils::GetOrCreate(buffer_size_intrinsics, buffer_type, [&] { in Run()
183 auto array_length = utils::GetOrCreate( in Run()
H A Ddecompose_strided_matrix.cc174 auto fn = utils::GetOrCreate(mat_to_arr, info, [&] { in Run()
217 auto fn = utils::GetOrCreate(arr_to_mat, info, [&] { in Run()
H A Dpad_array_elements.cc55 return utils::GetOrCreate(padded_arrays, array, [&] { in PadArray()
H A Dremove_phonies.cc122 auto sink = utils::GetOrCreate(sinks, sig, [&] { in Run()
H A Dwrap_arrays_in_structs.cc114 return utils::GetOrCreate(wrapped_arrays, array, [&] { in WrapArray()
H A Ddecompose_memory_access.cc448 return utils::GetOrCreate( in LoadFunc()
547 return utils::GetOrCreate( in StoreFunc()
647 return utils::GetOrCreate(atomic_funcs, AtomicKey{buf_ty, el_ty, op}, [&] { in AtomicFunc()
H A Dzero_init_workgroup_memory.cc320 utils::GetOrCreate(array_index_names, ArrayIndex{modulo, division}, in BuildZeroingStatements()
H A Dvertex_pulling.cc237 return utils::GetOrCreate(vertex_buffer_names, index, [&] { in GetVertexBufferName()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DSamplerHeapCacheD3D12.h89 ResultOrError<Ref<SamplerHeapCacheEntry>> GetOrCreate(
H A DBindGroupLayoutD3D12.cpp149 DAWN_TRY_ASSIGN(samplerHeapCacheEntry, device->GetSamplerHeapCache()->GetOrCreate( in AllocateBindGroup()
H A DSamplerHeapCacheD3D12.cpp91 ResultOrError<Ref<SamplerHeapCacheEntry>> SamplerHeapCache::GetOrCreate( in GetOrCreate() function in dawn_native::d3d12::SamplerHeapCache
H A DShaderModuleD3D12.cpp805 device->GetPersistentCache()->GetOrCreate( in Compile()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DPersistentCache.h56 // DAWN_TRY_ASSIGN(cachedBlob, GetOrCreate(key, [&](auto doCache)) {
62 ResultOrError<ScopedCachedBlob> GetOrCreate(const PersistentCacheKey& key, in GetOrCreate() function in dawn_native::PersistentCache
/third_party/skia/third_party/externals/tint/src/
H A Dclone_context.cc50 return utils::GetOrCreate(cloned_symbols_, s, [&]() -> Symbol { in Clone()
H A Dintrinsic_table.cc1064 return utils::GetOrCreate(intrinsics, intrinsic, [&] {
/third_party/skia/third_party/externals/tint/src/writer/
H A Dtext_generator.cc37 name = utils::GetOrCreate(builtin_struct_names_, s, in StructName()
/third_party/skia/third_party/externals/tint/src/writer/msl/
H A Dgenerator_impl.cc798 auto func = utils::GetOrCreate( in EmitAtomicCall()
1161 fn = utils::GetOrCreate( in EmitDotCall()
2606 utils::GetOrCreate(unary_minus_funcs_, expr_type, [&]() -> std::string { in EmitUnaryOp()
2853 auto fn = utils::GetOrCreate(intrinsics_, intrinsic, [&]() -> std::string { in CallIntrinsicHelper()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
H A Dgenerator_impl.cc275 utils::GetOrCreate(dynamic_vector_write_, vec, [&]() -> std::string { in EmitDynamicVectorAssignment()
350 auto name = utils::GetOrCreate( in EmitDynamicMatrixVectorAssignment()
424 auto name = utils::GetOrCreate( in EmitDynamicMatrixScalarAssignment()
1476 auto func = utils::GetOrCreate(dma_intrinsics_, in EmitStorageAtomicCall()
3747 auto fn = utils::GetOrCreate(intrinsics_, intrinsic, [&]() -> std::string {
/third_party/skia/third_party/externals/tint/src/resolver/
H A Dresolver.cc1393 auto* call_target = utils::GetOrCreate(
1452 auto* call_target = utils::GetOrCreate(
/third_party/skia/third_party/externals/tint/src/writer/glsl/
H A Dgenerator_impl.cc735 fn = utils::GetOrCreate(int_dot_funcs_, vec_ty, [&]() -> std::string { in EmitDotCall()
2668 auto fn = utils::GetOrCreate(intrinsics_, intrinsic, [&]() -> std::string {
/third_party/skia/third_party/externals/tint/src/writer/spirv/
H A Dbuilder.cc680 return utils::GetOrCreate( in GenerateFunctionTypeIfNeeded()
1779 return utils::GetOrCreate(const_splat_to_id_, key, [&] { in GenerateConstantVectorSplatIfNeeded()
3894 return utils::GetOrCreate(type_name_to_id_, type_name, [&]() -> uint32_t { in GenerateTypeIfNeeded()
/third_party/rust/crates/bindgen/bindgen-tests/tests/
H A Dstylo.hpp[all...]

Completed in 57 milliseconds