/external/mesa3d/src/mesa/main/ |
D | format_utils.c | 289 bool normalized, dst_integer, src_integer, is_signed; in _mesa_format_convert() local 418 normalized = false; in _mesa_format_convert() 426 normalized = _mesa_array_format_is_normalized(src_array_format); in _mesa_format_convert() 437 normalized |= _mesa_array_format_is_normalized(dst_array_format); in _mesa_format_convert() 450 src2dst, normalized, width); in _mesa_format_convert() 539 rebased_src2rgba, normalized, width); in _mesa_format_convert() 562 rgba2dst, normalized, width); in _mesa_format_convert() 584 rebased_src2rgba, normalized, width); in _mesa_format_convert() 596 rebase_swizzle, normalized, width); in _mesa_format_convert() 606 rgba2dst, normalized, width); in _mesa_format_convert() [all …]
|
/external/eigen/test/ |
D | geo_quaternion.cpp | 80 q1 = AngleAxisx(a, v0.normalized()); in quaternion() 81 q2 = AngleAxisx(a, v1.normalized()); in quaternion() 117 && (aa.axis() - v1.normalized()).norm() < Scalar(1.99) in quaternion() 118 && (aa.axis() + v1.normalized()).norm() < Scalar(1.99)) in quaternion() 124 VERIFY_IS_APPROX( v2.normalized(),(q2.setFromTwoVectors(v1, v2)*v1).normalized()); in quaternion() 125 VERIFY_IS_APPROX( v1.normalized(),(q2.setFromTwoVectors(v1, v1)*v1).normalized()); in quaternion() 126 VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized()); in quaternion() 130 VERIFY_IS_APPROX( v3.normalized(),(q2.setFromTwoVectors(v1, v3)*v1).normalized()); in quaternion() 131 VERIFY_IS_APPROX(-v3.normalized(),(q2.setFromTwoVectors(v1,-v3)*v1).normalized()); in quaternion() 135 VERIFY_IS_APPROX( v2.normalized(),(Quaternionx::FromTwoVectors(v1, v2)*v1).normalized()); in quaternion() [all …]
|
/external/swiftshader/src/Renderer/ |
D | Stream.hpp | 61 Stream &define(StreamType type, unsigned int count, bool normalized = false) in define() 65 this->normalized = normalized; in define() 70 Stream &define(const void *buffer, StreamType type, unsigned int count, bool normalized = false) in define() 75 this->normalized = normalized; in define() 89 normalized = false; in defaults() 101 bool normalized; member
|
/external/harfbuzz_ng/src/ |
D | hb-glib.cc | 258 gchar *normalized; in hb_glib_unicode_compose() local 264 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); in hb_glib_unicode_compose() 265 len = g_utf8_strlen (normalized, -1); in hb_glib_unicode_compose() 270 *ab = g_utf8_get_char (normalized); in hb_glib_unicode_compose() 276 g_free (normalized); in hb_glib_unicode_compose() 295 gchar *normalized; in hb_glib_unicode_decompose() local 300 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD); in hb_glib_unicode_decompose() 301 len = g_utf8_strlen (normalized, -1); in hb_glib_unicode_decompose() 306 *a = g_utf8_get_char (normalized); in hb_glib_unicode_decompose() 310 *a = g_utf8_get_char (normalized); in hb_glib_unicode_decompose() [all …]
|
D | hb-icu.cc | 186 UChar utf16[4], normalized[5]; in hb_icu_unicode_compose() local 199 …_normalize (unorm2_getNFCInstance (&icu_err), utf16, len, normalized, ARRAY_LENGTH (normalized), &… in hb_icu_unicode_compose() 202 if (u_countChar32 (normalized, len) == 1) { in hb_icu_unicode_compose() 203 U16_GET_UNSAFE (normalized, 0, *ab); in hb_icu_unicode_compose() 246 UChar utf16[2], normalized[2 * 19/*HB_UNICODE_MAX_DECOMPOSITION_LEN*/ + 1]; in hb_icu_unicode_decompose() local 261 …_normalize (unorm2_getNFDInstance (&icu_err), utf16, len, normalized, ARRAY_LENGTH (normalized), &… in hb_icu_unicode_decompose() 265 len = u_countChar32 (normalized, len); in hb_icu_unicode_decompose() 268 U16_GET_UNSAFE (normalized, 0, *a); in hb_icu_unicode_decompose() 273 U16_NEXT_UNSAFE (normalized, len, *a); in hb_icu_unicode_decompose() 274 U16_NEXT_UNSAFE (normalized, len, *b); in hb_icu_unicode_decompose() [all …]
|
/external/angle/src/libANGLE/renderer/ |
D | copyvertex.inc.h | 180 template <typename T, size_t inputComponentCount, size_t outputComponentCount, bool normalized> 192 if (normalized) in CopyTo32FVertexData() 225 template <bool isSigned, bool normalized, bool toFloat> 247 if (normalized) in CopyPackedRGB() 270 if (normalized) in CopyPackedRGB() 304 template <bool isSigned, bool normalized, bool toFloat> 312 if (normalized) in CopyPackedAlpha() 355 if (normalized) in CopyPackedAlpha() 446 template <bool isSigned, bool normalized, bool toFloat> 468 priv::CopyPackedRGB<isSigned, normalized, toFloat>( in CopyXYZ10W2ToXYZW32FVertexData() [all …]
|
D | copyvertex.h | 44 template <typename T, size_t inputComponentCount, size_t outputComponentCount, bool normalized> 47 template <bool isSigned, bool normalized, bool toFloat> 53 template <bool isSigned, bool normalized> 59 template <bool isSigned, bool normalized>
|
/external/toolchain-utils/android_bench_suite/ |
D | fix_skia_results.py | 73 normalized = [float(t) * ms_mul / mul for t in ms] 74 average = sum(normalized) / len(normalized) 75 if all(n > 0.1 for n in normalized) and average >= 1: 76 return name, normalized 78 normalized = [float(t) * ms_mul for t in ms] 79 return 'ns', normalized
|
/external/angle/src/libANGLE/ |
D | Context_gl_3_3_autogen.h | 38 void vertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ 39 void vertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ 40 void vertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ 41 void vertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ 42 void vertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ 43 void vertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \ 44 void vertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); \ 45 void vertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); \
|
D | validationGL33_autogen.h | 76 GLboolean normalized, 81 GLboolean normalized, 86 GLboolean normalized, 91 GLboolean normalized, 96 GLboolean normalized, 101 GLboolean normalized, 106 GLboolean normalized, 111 GLboolean normalized,
|
D | validationGL33.cpp | 184 GLboolean normalized, in ValidateVertexAttribP1ui() argument 193 GLboolean normalized, in ValidateVertexAttribP1uiv() argument 202 GLboolean normalized, in ValidateVertexAttribP2ui() argument 211 GLboolean normalized, in ValidateVertexAttribP2uiv() argument 220 GLboolean normalized, in ValidateVertexAttribP3ui() argument 229 GLboolean normalized, in ValidateVertexAttribP3uiv() argument 238 GLboolean normalized, in ValidateVertexAttribP4ui() argument 247 GLboolean normalized, in ValidateVertexAttribP4uiv() argument
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/ |
D | FCDIterCollationIterator.java | 87 pos != normalized.length()) { in nextCodePoint() 88 c = normalized.codePointAt(pos); in nextCodePoint() 141 c = normalized.codePointBefore(pos); in previousCodePoint() 177 pos != normalized.length()) { in handleNextCE32() 178 c = normalized.charAt(pos++); in handleNextCE32() 198 assert(pos < normalized.length()); in handleGetTrailSurrogate() 200 if(Character.isLowSurrogate(trail = normalized.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 229 (state.compareTo(State.IN_NORM_ITER_AT_LIMIT) >= 0 && pos == normalized.length())); in switchToForward() 388 pos = normalized.length(); in previousSegment() 405 if(normalized == null) { in normalize() [all …]
|
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/ |
D | FCDIterCollationIterator.java | 85 pos != normalized.length()) { in nextCodePoint() 86 c = normalized.codePointAt(pos); in nextCodePoint() 139 c = normalized.codePointBefore(pos); in previousCodePoint() 175 pos != normalized.length()) { in handleNextCE32() 176 c = normalized.charAt(pos++); in handleNextCE32() 196 assert(pos < normalized.length()); in handleGetTrailSurrogate() 198 if(Character.isLowSurrogate(trail = normalized.charAt(pos))) { ++pos; } in handleGetTrailSurrogate() 227 (state.compareTo(State.IN_NORM_ITER_AT_LIMIT) >= 0 && pos == normalized.length())); in switchToForward() 386 pos = normalized.length(); in previousSegment() 403 if(normalized == null) { in normalize() [all …]
|
/external/mesa3d/src/compiler/nir/ |
D | nir_normalize_cubemap_coords.c | 64 nir_ssa_def *normalized = nir_fmul(b, orig_coord, nir_frcp(b, norm)); in normalize_cubemap_coords_block() local 70 normalized = nir_vec4(b, in normalize_cubemap_coords_block() 71 nir_channel(b, normalized, 0), in normalize_cubemap_coords_block() 72 nir_channel(b, normalized, 1), in normalize_cubemap_coords_block() 73 nir_channel(b, normalized, 2), in normalize_cubemap_coords_block() 79 nir_src_for_ssa(normalized)); in normalize_cubemap_coords_block()
|
/external/skia/tests/ |
D | SRGBTest.cpp | 16 for (int normalized = 0; normalized < 2; normalized++) { in DEF_TEST() local 33 linearize.apply(&p, !!normalized); in DEF_TEST() 34 reencode .apply(&p, !!normalized); in DEF_TEST() 83 bool normalized) { in test_roundtripping() argument 111 linearize.apply(&p, normalized); in test_roundtripping() 112 reencode .apply(&p, normalized); in test_roundtripping()
|
/external/skqp/tests/ |
D | SRGBTest.cpp | 16 for (int normalized = 0; normalized < 2; normalized++) { in DEF_TEST() local 33 linearize.apply(&p, !!normalized); in DEF_TEST() 34 reencode .apply(&p, !!normalized); in DEF_TEST() 83 bool normalized) { in test_roundtripping() argument 111 linearize.apply(&p, normalized); in test_roundtripping() 112 reencode .apply(&p, normalized); in test_roundtripping()
|
/external/guice/extensions/servlet/src/com/google/inject/servlet/ |
D | UriPatternType.java | 79 String normalized = ServletUtils.normalizePath(literal); in ServletStyleUriPatternMatcher() local 81 normalized = "*" + normalized; in ServletStyleUriPatternMatcher() 83 normalized = normalized + "*"; in ServletStyleUriPatternMatcher() 85 if (!pattern.equals(normalized)) { in ServletStyleUriPatternMatcher() 90 + normalized in ServletStyleUriPatternMatcher()
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | formatutils9.cpp | 595 template <GLenum GLtype, bool normalized> 638 template <bool normalized> 639 struct VertexTypeMapping<GL_FIXED, normalized> : VertexTypeMappingBase<D3DVT_FLOAT> 641 template <bool normalized> 642 struct VertexTypeMapping<GL_FLOAT, normalized> : VertexTypeMappingBase<D3DVT_FLOAT> 651 template <GLenum fromType, bool normalized, unsigned int toType> 671 template <class T, bool normalized> 683 template <class T, bool normalized> 684 struct DefaultVertexValues : DefaultVertexValuesStage2<T, normalized> 686 template <bool normalized> [all …]
|
/external/deqp/framework/delibs/debase/ |
D | deInt32.c | 152 deUint32 normalized = (deUint32)a << shift; /* Highest bit is always 1. */ in deRcp32() local 153 …int lookupNdx = (normalized >> (31 - RCP_LUT_BITS)) & ((1<<RCP_LUT_BITS)-1); /* Discard high bit… in deRcp32() 165 tmp = deSafeMuluAsr32(result, normalized, 31); in deRcp32() 169 tmp = deSafeMuluAsr32(result, normalized, 31); in deRcp32()
|
/external/angle/src/libGL/ |
D | entry_points_gl_3_3_autogen.cpp | 969 void GL_APIENTRY VertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) in VertexAttribP1ui() argument 976 GLbooleanToString(normalized), value); in VertexAttribP1ui() 982 ValidateVertexAttribP1ui(context, index, type, normalized, value)); in VertexAttribP1ui() 985 context->vertexAttribP1ui(index, type, normalized, value); in VertexAttribP1ui() 987 ANGLE_CAPTURE(VertexAttribP1ui, isCallValid, context, index, type, normalized, value); in VertexAttribP1ui() 993 GLboolean normalized, in VertexAttribP1uiv() argument 1001 GLbooleanToString(normalized), (uintptr_t)value); in VertexAttribP1uiv() 1007 ValidateVertexAttribP1uiv(context, index, type, normalized, value)); in VertexAttribP1uiv() 1010 context->vertexAttribP1uiv(index, type, normalized, value); in VertexAttribP1uiv() 1012 ANGLE_CAPTURE(VertexAttribP1uiv, isCallValid, context, index, type, normalized, value); in VertexAttribP1uiv() [all …]
|
D | entry_points_gl_3_3_autogen.h | 72 GLboolean normalized, 76 GLboolean normalized, 80 GLboolean normalized, 84 GLboolean normalized, 88 GLboolean normalized, 92 GLboolean normalized, 96 GLboolean normalized, 100 GLboolean normalized,
|
/external/icu/icu4c/source/i18n/ |
D | nortrans.cpp | 138 UnicodeString normalized; in handleTransliterate() local 156 fNorm2.normalize(segment, normalized, errorCode); in handleTransliterate() 160 if(segment != normalized) { in handleTransliterate() 162 text.handleReplaceBetween(prev, start, normalized); in handleTransliterate() 165 int32_t delta = normalized.length() - (start - prev); in handleTransliterate()
|
D | uitercollationiterator.cpp | 133 } else if(state >= IN_NORM_ITER_AT_LIMIT && pos != normalized.length()) { in handleNextCE32() 134 c = normalized[pos++]; in handleNextCE32() 154 U_ASSERT(pos < normalized.length()); in handleGetTrailSurrogate() 156 if(U16_IS_TRAIL(trail = normalized[pos])) { ++pos; } in handleGetTrailSurrogate() 194 } else if(state >= IN_NORM_ITER_AT_LIMIT && pos != normalized.length()) { in nextCodePoint() 195 c = normalized.char32At(pos); in nextCodePoint() 248 c = normalized.char32At(pos - 1); in previousCodePoint() 279 (state >= IN_NORM_ITER_AT_LIMIT && pos == normalized.length())); in switchToForward() 424 pos = normalized.length(); in previousSegment() 444 nfcImpl.decompose(s, normalized, errorCode); in normalize()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_ExtractGlimpse.pbtxt | 41 name: "normalized" 43 indicates if the offset coordinates are normalized. 73 The argument `normalized` and `centered` controls how the windows are built: 75 * If the coordinates are normalized but not centered, 0.0 and 1.0 78 * If the coordinates are both normalized and centered, they range from 82 * If the coordinates are not normalized they are interpreted as
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | NormalizationTransliterator.java | 105 StringBuilder normalized = new StringBuilder(); in handleTransliterate() local 123 norm2.normalize(segment, normalized); in handleTransliterate() 124 if(!Normalizer2Impl.UTF16Plus.equal(segment, normalized)) { in handleTransliterate() 126 text.replace(prev, start, normalized.toString()); in handleTransliterate() 129 int delta = normalized.length() - (start - prev); in handleTransliterate()
|