Home
last modified time | relevance | path

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

12345678910>>...19

/third_party/skia/src/sksl/ir/
H A DSkSLSwizzle.cpp100 static String mask_string(const ComponentArray& components) { in mask_string() argument
102 for (int8_t component : components) { in mask_string()
110 ComponentArray components) { in optimize_constructor_swizzle()
115 int swizzleSize = components.size(); in optimize_constructor_swizzle()
160 for (int8_t c : components) { in optimize_constructor_swizzle()
183 for (int8_t c : components) { in optimize_constructor_swizzle()
202 // Since we know this argument uses components, it should already have at least one in optimize_constructor_swizzle()
239 ComponentArray components; in Convert() local
242 case '0': components.push_back(SwizzleComponent::ZERO); break; in Convert()
243 case '1': components in Convert()
108 optimize_constructor_swizzle(const Context& context, const AnyConstructor& base, ComponentArray components) optimize_constructor_swizzle() argument
436 Make(const Context& context, std::unique_ptr<Expression> expr, ComponentArray components) Make() argument
[all...]
H A DSkSLSwizzle.h26 const ComponentArray& components) in Swizzle()
28 &base->type().componentType().toCompound(context, components.size(), 1)) in Swizzle()
30 , fComponents(components) { in Swizzle()
31 SkASSERT(this->components().size() >= 1 && this->components().size() <= 4); in Swizzle()
59 const ComponentArray& components() const { in components() function
69 this->components()));
74 for (int x : this->components()) {
81 Swizzle(const Type* type, std::unique_ptr<Expression> base, const ComponentArray& components) in Swizzle()
84 , fComponents(components) { in Swizzle()
[all...]
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
H A Dtype_trait.hpp46 static length_t const components = 0; member
59 components = 1 enumerator
71 components = 2 enumerator
83 components = 3 enumerator
95 components = 4 enumerator
107 components = 2, enumerator
121 components = 2, enumerator
135 components = 2, enumerator
149 components = 3, enumerator
163 components enumerator
177 components = 3, global() enumerator
191 components = 4, global() enumerator
205 components = 4, global() enumerator
219 components = 4, global() enumerator
233 components = 4 global() enumerator
245 components = 8 global() enumerator
[all...]
H A Drange.hpp31 inline length_t components(tvec1<T, P> const & v) in components() function
37 inline length_t components(tvec2<T, P> const & v) in components() function
43 inline length_t components(tvec3<T, P> const & v) in components() function
49 inline length_t components(tvec4<T, P> const & v) in components() function
55 inline length_t components(genType const & m) in components() function
69 return begin(v) + components(v); in end()
81 return begin(v) + components(v); in end()
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeFilePath.cpp50 FilePath::FilePath (const std::vector<std::string>& components) in FilePath() argument
52 for (size_t ndx = 0; ndx < components.size(); ndx++) in FilePath()
56 m_path += components[ndx]; in FilePath()
60 void FilePath::split (std::vector<std::string>& components) const in split()
62 components.clear(); in split()
68 components.push_back(separator + separator); in split()
70 components.push_back(separator); in split()
79 components.push_back(m_path.substr(curCompStart, pos - curCompStart)); in split()
86 components.push_back(m_path.substr(curCompStart, pos - curCompStart)); in split()
89 FilePath FilePath::join (const std::vector<std::string>& components) in join() argument
96 std::vector<std::string> components; normalize() local
141 std::vector<std::string> components; getBaseName() local
148 std::vector<std::string> components; getDirName() local
[all...]
/third_party/mesa3d/src/imagination/rogue/
H A Drogue_build_data.c63 coeffs += ROGUE_COEFF_ALIGN * args->components[u]; in alloc_iterator_regs()
77 * \param[in] components The number of components in the varying.
83 size_t components) in reserve_iterator()
87 assert(components >= 1 && components <= 4); in reserve_iterator()
109 /* Number of components in this varying in reserve_iterator()
112 data.size = (components - 1); in reserve_iterator()
125 args->components[i] = components; in reserve_iterator()
79 reserve_iterator(struct rogue_iterator_args *args, size_t i, enum glsl_interp_mode type, bool f16, size_t components) reserve_iterator() argument
159 size_t components = glsl_get_components(var->type); collect_io_data_fs() local
250 reserve_vs_input(struct rogue_vertex_inputs *inputs, size_t i, size_t components) reserve_vs_input() argument
270 reserve_vs_output(struct rogue_vertex_outputs *outputs, size_t i, size_t components) reserve_vs_output() argument
303 size_t components = glsl_get_components(var->type); collect_io_data_vs() local
328 size_t components = glsl_get_components(var->type); collect_io_data_vs() local
[all...]
/third_party/libexif/libexif/huawei/
H A Dmnote-huawei-entry.c51 for (int i = 0; i < e->components && write_pos < maxlen; i++) { in mnote_huawei_entry_get_value()
66 for (int i = 0; i < e->components && write_pos < maxlen; i++) { in mnote_huawei_entry_get_value()
87 int *components, ExifMem *mem, ExifByteOrder order) in mnote_huawei_entry_rational_timestamp_process()
123 *components = components_local; in mnote_huawei_entry_rational_timestamp_process()
133 int *components) in mnote_huawei_entry_string_process()
136 *components = snprintf(buff, buff_size, _("%s"), v); in mnote_huawei_entry_string_process()
137 if (!(*components)) in mnote_huawei_entry_string_process()
140 *components = *components + 1; in mnote_huawei_entry_string_process()
147 const int increment, int *components, ExifMe in mnote_huawei_entry_value_process()
86 mnote_huawei_entry_rational_timestamp_process(char *buff, const int buff_size, const char *v, int strlen, int *components, ExifMem *mem, ExifByteOrder order) mnote_huawei_entry_rational_timestamp_process() argument
132 mnote_huawei_entry_string_process(char *buff, const int buff_size, const char *v, int strlen, int *components) mnote_huawei_entry_string_process() argument
146 mnote_huawei_entry_value_process(char *buff, const int buff_size, const char *v, int strlen, const int increment, int *components, ExifMem *mem, ExifByteOrder order) mnote_huawei_entry_value_process() argument
191 int increment = 0, ret = 0, components = 0; mnote_huawei_entry_set_value() local
[all...]
/third_party/libexif/libexif/olympus/
H A Dmnote-olympus-entry.c62 _("Invalid number of components (%i, " \
72 _("Invalid number of components (%i, " \
291 if ((!entry->data) && (entry->components > 0)) in mnote_olympus_entry_get_value()
302 CC (entry->components, 4, v, maxlen); in mnote_olympus_entry_get_value()
312 CC (entry->components, 2, v, maxlen); in mnote_olympus_entry_get_value()
319 CC (entry->components, 2, v, maxlen); in mnote_olympus_entry_get_value()
344 CC (entry->components, 1, v, maxlen); in mnote_olympus_entry_get_value()
352 CC (entry->components, 4, v, maxlen); in mnote_olympus_entry_get_value()
361 CC (entry->components, 4, v, maxlen); in mnote_olympus_entry_get_value()
371 CC (entry->components, in mnote_olympus_entry_get_value()
[all...]
/third_party/libexif/libexif/
H A Dexif-entry.c174 e->components = 0; in clear_entry()
284 newsize = e->components * exif_format_get_size (EXIF_FORMAT_SHORT); in exif_entry_fix()
292 for (i = 0; i < e->components; i++) in exif_entry_fix()
332 for (i = 0; i < e->components; i++) { in exif_entry_fix()
365 for (i = 0; i < e->components; i++) { in exif_entry_fix()
418 e->components += 8; in exif_entry_fix()
460 e->components += 8; in exif_entry_fix()
506 for (i = 1; i < e->components; i++) { in exif_entry_format_value()
517 for (i = 1; i < e->components; i++) { in exif_entry_format_value()
529 for (i = 1; i < e->components; in exif_entry_format_value()
[all...]
/third_party/mesa3d/src/gallium/frontends/va/
H A Dpicture_mjpeg.c42 context->desc.mjpeg.picture_parameter.components[i].component_id = in vlVaHandlePictureParameterBufferMJPEG()
43 mjpeg->components[i].component_id; in vlVaHandlePictureParameterBufferMJPEG()
44 context->desc.mjpeg.picture_parameter.components[i].h_sampling_factor = in vlVaHandlePictureParameterBufferMJPEG()
45 mjpeg->components[i].h_sampling_factor; in vlVaHandlePictureParameterBufferMJPEG()
46 context->desc.mjpeg.picture_parameter.components[i].v_sampling_factor = in vlVaHandlePictureParameterBufferMJPEG()
47 mjpeg->components[i].v_sampling_factor; in vlVaHandlePictureParameterBufferMJPEG()
48 context->desc.mjpeg.picture_parameter.components[i].quantiser_table_selector = in vlVaHandlePictureParameterBufferMJPEG()
49 mjpeg->components[i].quantiser_table_selector; in vlVaHandlePictureParameterBufferMJPEG()
51 sf = mjpeg->components[i].h_sampling_factor << 4 | mjpeg->components[ in vlVaHandlePictureParameterBufferMJPEG()
[all...]
/third_party/node/deps/ada/
H A Dada.h1266 * This struct is used to extract components from a single 'href'.
4658 * normalized URL (the href), and it makes available the components, mostly
4846 url_components components{};
5080 * Unlike the url_aggregator, the ada::url represents the different components
5083 * components from the parsed URL, a new std::string is typically constructed.
5138 * further processing on the resource the URL's other components identify. It
5783 uint32_t diff = components.host_start - components.protocol_end; in update_base_authority()
5785 buffer.erase(components.protocol_end, in update_base_authority()
5786 components in update_base_authority()
[all...]
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
H A DOID.pm153 # The components become a list of ( identifier, number ) pairs,
156 my @components;
159 @components = ( $oid =~ m/${objcomponent_re}\s*/g );
162 @components = ( $oid =~ m/${xmlobjcomponent_re}\.?/g );
165 croak "Invalid ASN.1 object '$input'" unless @components;
167 unless scalar(@components) % 2 == 0;
178 } ( @components[0..1] );
188 } @components[2..$#components]
192 # components followin
[all...]
/third_party/openssl/util/perl/OpenSSL/
H A DOID.pm153 # The components become a list of ( identifier, number ) pairs,
156 my @components;
159 @components = ( $oid =~ m/${objcomponent_re}\s*/g );
162 @components = ( $oid =~ m/${xmlobjcomponent_re}\.?/g );
165 croak "Invalid ASN.1 object '$input'" unless @components;
167 unless scalar(@components) % 2 == 0;
178 } ( @components[0..1] );
188 } @components[2..$#components]
192 # components followin
[all...]
/third_party/python/Lib/
H A Dnturl2path.py27 components = url.split('/')
29 return urllib.parse.unquote('\\'.join(components))
35 components = comp[1].split('/')
37 for comp in components:
68 components = p.split('\\')
69 return urllib.parse.quote('/'.join(components))
76 components = comp[1].split('\\')
78 for comp in components:
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dvector_dce.cpp52 // components are live because of arbitrary nesting of structs. in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
111 new_item.components = live_elements; in MarkExtractUseAsLive()
116 new_item.components.Set(element_index); in MarkExtractUseAsLive()
140 new_item.components = current_item.components; in MarkInsertUsesAsLive()
141 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
146 if (current_item.components.Get(insert_position)) { in MarkInsertUsesAsLive()
153 new_item_for_obj.components in MarkInsertUsesAsLive()
[all...]
H A Dconstants.cpp256 auto components = GetConstantsFromIds(literal_words_or_ids); in CreateConstant() local
257 if (components.empty()) return nullptr; in CreateConstant()
258 // All components of VectorConstant must be of type Bool, Integer or Float. in CreateConstant()
259 if (!std::all_of(components.begin(), components.end(), in CreateConstant()
269 // All components of VectorConstant must be in the same type. in CreateConstant()
270 const auto* component_type = components.front()->type(); in CreateConstant()
271 if (!std::all_of(components.begin(), components.end(), in CreateConstant()
277 return MakeUnique<VectorConstant>(vt, components); in CreateConstant()
279 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
283 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
287 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
444 std::vector<const analysis::Constant*> components; GetVectorComponents() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dvector_dce.cpp52 // components are live because of arbitrary nesting of structs. in FindLiveComponents()
72 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
87 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
111 new_item.components = live_elements; in MarkExtractUseAsLive()
116 new_item.components.Set(element_index); in MarkExtractUseAsLive()
140 new_item.components = current_item.components; in MarkInsertUsesAsLive()
141 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
146 if (current_item.components.Get(insert_position)) { in MarkInsertUsesAsLive()
153 new_item_for_obj.components in MarkInsertUsesAsLive()
[all...]
H A Dconstants.cpp256 auto components = GetConstantsFromIds(literal_words_or_ids); in CreateConstant() local
257 if (components.empty()) return nullptr; in CreateConstant()
258 // All components of VectorConstant must be of type Bool, Integer or Float. in CreateConstant()
259 if (!std::all_of(components.begin(), components.end(), in CreateConstant()
269 // All components of VectorConstant must be in the same type. in CreateConstant()
270 const auto* component_type = components.front()->type(); in CreateConstant()
271 if (!std::all_of(components.begin(), components.end(), in CreateConstant()
277 return MakeUnique<VectorConstant>(vt, components); in CreateConstant()
279 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
283 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
287 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
461 std::vector<const analysis::Constant*> components; GetVectorComponents() local
[all...]
/third_party/spirv-tools/source/opt/
H A Dvector_dce.cpp50 // components are live because of arbitrary nesting of structs. in FindLiveComponents()
70 MarkExtractUseAsLive(current_inst, current_item.components, in FindLiveComponents()
85 MarkUsesAsLive(current_inst, current_item.components, live_components, in FindLiveComponents()
109 new_item.components = live_elements; in MarkExtractUseAsLive()
114 new_item.components.Set(element_index); in MarkExtractUseAsLive()
138 new_item.components = current_item.components; in MarkInsertUsesAsLive()
139 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
144 if (current_item.components.Get(insert_position)) { in MarkInsertUsesAsLive()
151 new_item_for_obj.components in MarkInsertUsesAsLive()
[all...]
H A Dconstants.cpp256 auto components = GetConstantsFromIds(literal_words_or_ids); in CreateConstant() local
257 if (components.empty()) return nullptr; in CreateConstant()
258 // All components of VectorConstant must be of type Bool, Integer or Float. in CreateConstant()
259 if (!std::all_of(components.begin(), components.end(), in CreateConstant()
269 // All components of VectorConstant must be in the same type. in CreateConstant()
270 const auto* component_type = components.front()->type(); in CreateConstant()
271 if (!std::all_of(components.begin(), components.end(), in CreateConstant()
277 return MakeUnique<VectorConstant>(vt, components); in CreateConstant()
279 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
283 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
287 auto components = GetConstantsFromIds(literal_words_or_ids); CreateConstant() local
530 std::vector<const analysis::Constant*> components; GetVectorComponents() local
[all...]
/third_party/mesa3d/src/glx/
H A Dpixel.c94 GLint components, groupsPerRow, rowSize, padding, elementsPerRow; in FillBitmap() local
103 components = __glElementsPerGroup(format, GL_BITMAP); in FillBitmap()
104 rowSize = (groupsPerRow * components + 7) >> 3; in FillBitmap()
110 ((skipPixels * components) >> 3); in FillBitmap()
111 bitOffset = (skipPixels * components) & 7; in FillBitmap()
114 elementsPerRow = width * components; in FillBitmap()
176 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; in __glFillImage() local
185 components = __glElementsPerGroup(format, type); in __glFillImage()
200 groupSize = elementSize * components; in __glFillImage()
213 elementsPerRow = width * components; in __glFillImage()
280 GLint components, groupsPerRow, rowSize, padding, elementsPerRow; EmptyBitmap() local
402 GLint components, elementSize, rowSize, padding, groupsPerRow, groupSize; __glEmptyImage() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_negate.c48 int components; member
60 int components);
67 { "components", "set components to negate", OFFSET(requested_components), AV_OPT_TYPE_FLAGS, {.i64=0x77}, 1, 0xff, FLAGS, "flags"},
112 int components) in negate8()
126 int components) in negate_packed8()
134 case 4: dst[3] = components & 8 ? 255 - src[3] : src[3]; in negate_packed8()
135 case 3: dst[2] = components & 4 ? 255 - src[2] : src[2]; in negate_packed8()
136 case 2: dst[1] = components & 2 ? 255 - src[1] : src[1]; in negate_packed8()
137 default: dst[0] = components in negate_packed8()
109 negate8(const uint8_t *src, uint8_t *dst, ptrdiff_t slinesize, ptrdiff_t dlinesize, int w, int h, int max, int step, int components) negate8() argument
123 negate_packed8(const uint8_t *ssrc, uint8_t *ddst, ptrdiff_t slinesize, ptrdiff_t dlinesize, int w, int h, int max, int step, int components) negate_packed8() argument
146 negate16(const uint8_t *ssrc, uint8_t *ddst, ptrdiff_t slinesize, ptrdiff_t dlinesize, int w, int h, int max, int step, int components) negate16() argument
166 negate_packed16(const uint8_t *ssrc, uint8_t *ddst, ptrdiff_t slinesize, ptrdiff_t dlinesize, int w, int h, int max, int step, int components) negate_packed16() argument
[all...]
/third_party/node/deps/npm/node_modules/diff/lib/diff/
H A Dbase.js294 // First we convert our linked list of components in reverse order to an
296 var components = [];
300 components.push(lastComponent);
306 components.reverse();
308 componentLen = components.length,
313 var component = components[componentPos];
338 if (componentPos && components[componentPos - 1].added) {
339 var tmp = components[componentPos - 1];
340 components[componentPos - 1] = components[componentPo
[all...]
/third_party/libexif/contrib/c++/
H A Dexif.hxx122 unsigned long components() const in components() function
124 return entry_->components; in components()
128 void setComponents(unsigned long components)
130 entry_->components = components;
145 if(index >= components()) in getByte()
169 if(index >= components()) in getShort()
184 if(index >= components()) in getLong()
199 if(index >= components()) in getSLong()
214 if(index >= components()) in getRational()
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_lower_spill.c29 * 1. ldp/stp can only load/store 4 components at a time, but spilling ignores
31 * created for texture setup which can be more than 4 components.
93 unsigned components = spill->srcs[2]->uim_val; in handle_oob_offset_spill() local
95 if (spill->cat6.dst_offset + components * component_bytes(spill->srcs[1]) < MAX_CAT6_SIZE) in handle_oob_offset_spill()
106 unsigned components = reload->srcs[2]->uim_val; in handle_oob_offset_reload() local
108 if (offset + components * component_bytes(reload->dsts[0]) < MAX_CAT6_SIZE) in handle_oob_offset_reload()
134 unsigned components = MIN2(orig_components - comp, 4); in split_spill() local
138 clone->srcs[1]->wrmask = MASK(components); in split_spill()
144 clone->srcs[2]->uim_val = components; in split_spill()
168 unsigned components in split_reload() local
[all...]

Completed in 23 milliseconds

12345678910>>...19