Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/main/
H A Dformats.c887 * Return datatype and number of components per texel for the given
892 GLenum *datatype, GLuint *comps) in _mesa_uncompressed_format_to_type_and_comps()
907 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps()
912 *datatype = GL_UNSIGNED_BYTE; in _mesa_uncompressed_format_to_type_and_comps()
919 *datatype = GL_UNSIGNED_SHORT_5_6_5; in _mesa_uncompressed_format_to_type_and_comps()
928 *datatype = GL_UNSIGNED_SHORT_4_4_4_4; in _mesa_uncompressed_format_to_type_and_comps()
937 *datatype = GL_UNSIGNED_SHORT_1_5_5_5_REV; in _mesa_uncompressed_format_to_type_and_comps()
942 *datatype = GL_UNSIGNED_INT_2_10_10_10_REV; in _mesa_uncompressed_format_to_type_and_comps()
949 *datatype = GL_UNSIGNED_SHORT_5_5_5_1; in _mesa_uncompressed_format_to_type_and_comps()
954 *datatype in _mesa_uncompressed_format_to_type_and_comps()
891 _mesa_uncompressed_format_to_type_and_comps(mesa_format format, GLenum *datatype, GLuint *comps) _mesa_uncompressed_format_to_type_and_comps() argument
[all...]
H A Dmipmap.c73 bytes_per_pixel(GLenum datatype, GLuint comps) in bytes_per_pixel() argument
77 if (datatype == GL_UNSIGNED_INT_8_24_REV_MESA || in bytes_per_pixel()
78 datatype == GL_UNSIGNED_INT_24_8_MESA) in bytes_per_pixel()
81 b = _mesa_sizeof_packed_type(datatype); in bytes_per_pixel()
84 if (_mesa_type_is_packed(datatype)) in bytes_per_pixel()
172 * \param datatype GL_UNSIGNED_BYTE, GL_UNSIGNED_SHORT, GL_FLOAT, etc.
176 do_row(GLenum datatype, GLuint comps, GLint srcWidth, in do_row() argument
190 if (datatype == GL_UNSIGNED_BYTE && comps == 4) { in do_row()
203 else if (datatype == GL_UNSIGNED_BYTE && comps == 3) { in do_row()
215 else if (datatype in do_row()
809 do_row_3D(GLenum datatype, GLuint comps, GLint srcWidth, const GLvoid *srcRowA, const GLvoid *srcRowB, const GLvoid *srcRowC, const GLvoid *srcRowD, GLint dstWidth, GLvoid *dstRow) do_row_3D() argument
1442 make_1d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, const GLubyte *srcPtr, GLint dstWidth, GLubyte *dstPtr) make_1d_mipmap() argument
1472 make_2d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, const GLubyte *srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLubyte *dstPtr, GLint dstRowStride) make_2d_mipmap() argument
1564 make_3d_mipmap(GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcPtr, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstPtr, GLint dstRowStride) make_3d_mipmap() argument
1725 _mesa_generate_mipmap_level(GLenum target, GLenum datatype, GLuint comps, GLint border, GLint srcWidth, GLint srcHeight, GLint srcDepth, const GLubyte **srcData, GLint srcRowStride, GLint dstWidth, GLint dstHeight, GLint dstDepth, GLubyte **dstData, GLint dstRowStride) _mesa_generate_mipmap_level() argument
1958 GLenum datatype; generate_mipmap_uncompressed() local
[all...]
H A Dformatquery.c1446 GLenum datatype; in _mesa_GetInternalformativ() local
1457 _mesa_uncompressed_format_to_type_and_comps(image_format, &datatype, in _mesa_GetInternalformativ()
1459 if (!datatype) in _mesa_GetInternalformativ()
1462 buffer[0] = datatype; in _mesa_GetInternalformativ()
H A Dformat_parser.py105 def datatype(self): member in Channel
106 """Returns the datatype corresponding to a channel type and size"""
478 def datatype(self): member in Format
479 """Returns the datatype corresponding to a format's channel type and size"""
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
H A DLocaleValidityChecker.java36 public boolean set(Datatype datatype, String code) { in set() argument
37 fieldFailure = datatype; in set()
101 Datatype datatype = Datatype.valueOf(c+""); in isValid()
102 switch (datatype) { in isValid()
107 if (!isValidU(locale, datatype, locale.getExtension(c), where)) return false; in isValid()
141 * @param datatype
146 private boolean isValidU(ULocale locale, Datatype datatype, String extensionString, Where where) { in isValidU() argument
154 StringBuilder tBuffer = datatype == Datatype.t ? new StringBuilder() : null; in isValidU()
171 return where.set(datatype, subtag); in isValidU()
174 return where.set(datatype, ke in isValidU()
338 isValid(Datatype datatype, String code, Where where) isValid() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/
H A DLocaleValidityChecker.java41 public boolean set(Datatype datatype, String code) { in set() argument
42 fieldFailure = datatype; in set()
106 Datatype datatype = Datatype.valueOf(c+""); in isValid()
107 switch (datatype) { in isValid()
112 if (!isValidU(locale, datatype, locale.getExtension(c), where)) return false; in isValid()
146 * @param datatype
151 private boolean isValidU(ULocale locale, Datatype datatype, String extensionString, Where where) { in isValidU() argument
159 StringBuilder tBuffer = datatype == Datatype.t ? new StringBuilder() : null; in isValidU()
176 return where.set(datatype, subtag); in isValidU()
179 return where.set(datatype, ke in isValidU()
343 isValid(Datatype datatype, String code, Where where) isValid() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/
H A DBasicDurationFormat.java42 } else if (object instanceof javax.xml.datatype.Duration) { in format()
90 * @see "http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/datatype/Duration.html"
93 javax.xml.datatype.DatatypeConstants.Field inFields[] = { in formatDuration()
94 javax.xml.datatype.DatatypeConstants.YEARS, in formatDuration()
95 javax.xml.datatype.DatatypeConstants.MONTHS, in formatDuration()
96 javax.xml.datatype.DatatypeConstants.DAYS, in formatDuration()
97 javax.xml.datatype.DatatypeConstants.HOURS, in formatDuration()
98 javax.xml.datatype.DatatypeConstants.MINUTES, in formatDuration()
99 javax.xml.datatype.DatatypeConstants.SECONDS, in formatDuration()
110 javax.xml.datatype in formatDuration()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/
H A DBasicDurationFormat.java44 } else if (object instanceof javax.xml.datatype.Duration) { in format()
92 * @see "http://java.sun.com/j2se/1.5.0/docs/api/javax/xml/datatype/Duration.html"
95 javax.xml.datatype.DatatypeConstants.Field inFields[] = { in formatDuration()
96 javax.xml.datatype.DatatypeConstants.YEARS, in formatDuration()
97 javax.xml.datatype.DatatypeConstants.MONTHS, in formatDuration()
98 javax.xml.datatype.DatatypeConstants.DAYS, in formatDuration()
99 javax.xml.datatype.DatatypeConstants.HOURS, in formatDuration()
100 javax.xml.datatype.DatatypeConstants.MINUTES, in formatDuration()
101 javax.xml.datatype.DatatypeConstants.SECONDS, in formatDuration()
112 javax.xml.datatype in formatDuration()
[all...]
/third_party/ffmpeg/libavformat/
H A Dsauce.c36 int datatype, filetype, t1, t2, nb_comments; in ff_sauce_read() local
56 datatype = avio_r8(pb); in ff_sauce_read()
65 if (got_width && datatype && filetype) { in ff_sauce_read()
66 if ((datatype == 1 && filetype <=2) || (datatype == 5 && filetype == 255) || datatype == 6) { in ff_sauce_read()
73 } else if (datatype == 5) { in ff_sauce_read()
/third_party/mesa3d/src/mesa/main/tests/
H A Dmesa_formats.cpp61 GLenum datatype = 0; in TEST_F() local
64 /* If the datatype is zero, the format was not handled */ in TEST_F()
65 _mesa_uncompressed_format_to_type_and_comps(f, &datatype, &comps); in TEST_F()
66 EXPECT_NE(datatype, (GLenum)0); in TEST_F()
83 GLenum datatype = _mesa_get_format_datatype(f); in TEST_F() local
91 /* Note: Z32_FLOAT_X24S8 has datatype of GL_NONE */ in TEST_F()
92 EXPECT_TRUE(datatype == GL_NONE || in TEST_F()
93 datatype == GL_UNSIGNED_NORMALIZED || in TEST_F()
94 datatype == GL_SIGNED_NORMALIZED || in TEST_F()
95 datatype in TEST_F()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/
H A DTestLocaleValidity.java324 private void showValid(Datasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code) { in showValid() argument
325 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code); in showValid()
326 assertEquals(datatype + ", " + datasubtypes + ", " + code, expected, value); in showValid()
328 private void showValid(Datasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) { in showValid() argument
329 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2); in showValid()
330 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value); in showValid()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DTestLocaleValidity.java323 private void showValid(Datasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code) { in showValid() argument
324 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code); in showValid()
325 assertEquals(datatype + ", " + datasubtypes + ", " + code, expected, value); in showValid()
327 private void showValid(Datasubtype expected, Datatype datatype, Set<Datasubtype> datasubtypes, String code, String code2) { in showValid() argument
328 Datasubtype value = ValidIdentifiers.isValid(datatype, datasubtypes, code, code2); in showValid()
329 assertEquals(datatype + ", " + datasubtypes + ", " + code + ", " + code2, expected, value); in showValid()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DValidIdentifiers.java129 UResourceBundle datatype = datatypeIterator.next();
130 String rawKey = datatype.getKey();
133 for(UResourceBundleIterator datasubtypeIterator = datatype.getIterator();
171 public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code) { in isValid() argument
172 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); in isValid()
186 public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code, String value) { in isValid() argument
187 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); in isValid()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DValidIdentifiers.java140 UResourceBundle datatype = datatypeIterator.next();
141 String rawKey = datatype.getKey();
144 for(UResourceBundleIterator datasubtypeIterator = datatype.getIterator();
182 public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code) { in isValid() argument
183 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); in isValid()
197 public static Datasubtype isValid(Datatype datatype, Set<Datasubtype> datasubtypes, String code, String value) { in isValid() argument
198 Map<Datasubtype, ValiditySet> subtable = ValidityData.data.get(datatype); in isValid()
/third_party/mesa3d/src/mesa/program/
H A Dprog_parameter.h174 GLuint size, GLenum datatype,
182 GLenum datatype, GLuint *swizzleOut);
221 _mesa_gl_datatype_is_64bit(GLenum datatype) in _mesa_gl_datatype_is_64bit() argument
223 switch (datatype) { in _mesa_gl_datatype_is_64bit()
H A Dprog_parameter.c265 * \param datatype GL_FLOAT, GL_FLOAT_VECx, GL_INT, GL_INT_VECx or GL_NONE.
273 GLuint size, GLenum datatype, in _mesa_add_parameter()
285 else if (_mesa_gl_datatype_is_64bit(datatype)) in _mesa_add_parameter()
312 p->DataType = datatype; in _mesa_add_parameter()
381 GLenum datatype, GLuint *swizzleOut) in _mesa_add_typed_unnamed_constant()
414 size, datatype, values, NULL, true); in _mesa_add_typed_unnamed_constant()
271 _mesa_add_parameter(struct gl_program_parameter_list *paramList, gl_register_file type, const char *name, GLuint size, GLenum datatype, const gl_constant_value *values, const gl_state_index16 state[STATE_LENGTH], bool pad_and_align) _mesa_add_parameter() argument
379 _mesa_add_typed_unnamed_constant(struct gl_program_parameter_list *paramList, const gl_constant_value *values, GLuint size, GLenum datatype, GLuint *swizzleOut) _mesa_add_typed_unnamed_constant() argument
/third_party/skia/third_party/externals/tint/src/writer/glsl/
H A Dgenerator_impl_type_test.cc361 TextureDataType datatype; member
373 const ast::Type* datatype = nullptr; in TEST_P() local
374 switch (params.datatype) { in TEST_P()
376 datatype = ty.f32(); in TEST_P()
379 datatype = ty.u32(); in TEST_P()
382 datatype = ty.i32(); in TEST_P()
385 auto* t = ty.sampled_texture(params.dim, datatype); in TEST_P()
/third_party/skia/third_party/externals/tint/src/writer/hlsl/
H A Dgenerator_impl_type_test.cc385 TextureDataType datatype; member
397 const ast::Type* datatype = nullptr; in TEST_P() local
398 switch (params.datatype) { in TEST_P()
400 datatype = ty.f32(); in TEST_P()
403 datatype = ty.u32(); in TEST_P()
406 datatype = ty.i32(); in TEST_P()
409 auto* t = ty.sampled_texture(params.dim, datatype); in TEST_P()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/
H A DICUDurationTest.java18 import javax.xml.datatype.DatatypeConstants;
19 import javax.xml.datatype.DatatypeConstants.Field;
20 import javax.xml.datatype.Duration;
38 * Allows us to not depend on javax.xml.datatype.DatatypeFactory.
43 private static final class ICUTestDuration extends javax.xml.datatype.Duration {
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/duration/
H A DICUDurationTest.java19 import javax.xml.datatype.DatatypeConstants;
20 import javax.xml.datatype.DatatypeConstants.Field;
21 import javax.xml.datatype.Duration;
41 * Allows us to not depend on javax.xml.datatype.DatatypeFactory.
46 private static final class ICUTestDuration extends javax.xml.datatype.Duration {
/third_party/python/Lib/
H A Dmimetypes.py279 mimetype, datatype = _winreg.QueryValueEx(
281 if datatype != _winreg.REG_SZ:
/third_party/mesa3d/src/gallium/drivers/r600/sb/
H A Dsb_ir.h172 typedef std::pair<K, V> datatype; typedef in r600_sb::sb_map
175 bool operator()(const datatype &v1, const datatype &v2) { in operator ()()
180 typedef sb_set<datatype, Comp> dataset;
196 datatype P = std::make_pair(key, V()); in operator []()
205 std::pair<iterator, bool> insert(const datatype& d) { in insert()
/third_party/python/Tools/scripts/
H A Ddeepfreeze.py184 datatype = "uint8_t"
186 datatype = "uint16_t"
188 datatype = "uint32_t"
196 self.write(f"{datatype} _data[{len(s)+1}];")
/third_party/skia/third_party/externals/tint/src/ast/
H A Dintrinsic_texture_helper_test.cc36 TextureDataType datatype, in TextureOverloadCase()
44 texture_data_type(datatype), in TextureOverloadCase()
52 TextureDataType datatype, in TextureOverloadCase()
59 texture_data_type(datatype), in TextureOverloadCase()
68 TextureDataType datatype, in TextureOverloadCase()
77 texture_data_type(datatype), in TextureOverloadCase()
30 TextureOverloadCase( ValidTextureOverload o, const char* desc, TextureKind tk, ast::SamplerKind sk, ast::TextureDimension dims, TextureDataType datatype, const char* f, std::function<ExpressionList(ProgramBuilder*)> a) TextureOverloadCase() argument
47 TextureOverloadCase( ValidTextureOverload o, const char* desc, TextureKind tk, ast::TextureDimension dims, TextureDataType datatype, const char* f, std::function<ExpressionList(ProgramBuilder*)> a) TextureOverloadCase() argument
62 TextureOverloadCase( ValidTextureOverload o, const char* d, Access acc, ast::ImageFormat i, ast::TextureDimension dims, TextureDataType datatype, const char* f, std::function<ExpressionList(ProgramBuilder*)> a) TextureOverloadCase() argument
/third_party/node/deps/cares/src/tools/
H A Dadig.c647 ares_dns_datatype_t datatype = ares_dns_rr_key_datatype(keys[i]); in print_rr() local
652 switch (datatype) { in print_rr()

Completed in 30 milliseconds

12