Home
last modified time | relevance | path

Searched refs:target_components (Results 1 – 2 of 2) sorted by relevance

/third_party/gn/src/gn/
Dfilesystem_utils.cc466 std::vector<base::FilePath::StringType> target_components; in MakeAbsoluteFilePathRelativeIfPossible() local
468 target.GetComponents(&target_components); in MakeAbsoluteFilePathRelativeIfPossible()
472 if (base_components[0] != target_components[0]) in MakeAbsoluteFilePathRelativeIfPossible()
478 target_components[1] = base_components[1]; in MakeAbsoluteFilePathRelativeIfPossible()
481 for (i = 0; i < base_components.size() && i < target_components.size(); i++) { in MakeAbsoluteFilePathRelativeIfPossible()
482 if (base_components[i] != target_components[i]) in MakeAbsoluteFilePathRelativeIfPossible()
488 for (size_t j = i; j < target_components.size(); j++) in MakeAbsoluteFilePathRelativeIfPossible()
489 relative_components.push_back(target_components[j]); in MakeAbsoluteFilePathRelativeIfPossible()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_msl.cpp2121 uint32_t target_components = 0; in add_plain_variable_to_interface_block() local
2140 target_components = get_target_components_for_fragment_location(locn); in add_plain_variable_to_interface_block()
2141 if (type_components < target_components) in add_plain_variable_to_interface_block()
2144 type_id = build_extended_vector_type(type_id, target_components); in add_plain_variable_to_interface_block()
2362 uint32_t target_components = 0; in add_composite_variable_to_interface_block() local
2371 target_components = get_target_components_for_fragment_location(locn); in add_composite_variable_to_interface_block()
2372 if (usable_type->vecsize < target_components) in add_composite_variable_to_interface_block()
2375 type_id = build_extended_vector_type(usable_type->self, target_components); in add_composite_variable_to_interface_block()