/external/smali/smali/src/test/resources/LexerTest/ |
.gitattributes | 1 # Prevent newlines from being normalized on windows
|
/external/eigen/test/ |
geo_quaternion.cpp | 81 q1 = AngleAxisx(a, v0.normalized()); 82 q2 = AngleAxisx(a, v1.normalized()); 113 && (aa.axis() - v1.normalized()).norm() < 1.99 114 && (aa.axis() + v1.normalized()).norm() < 1.99) 120 VERIFY_IS_APPROX( v2.normalized(),(q2.setFromTwoVectors(v1, v2)*v1).normalized()); 121 VERIFY_IS_APPROX( v1.normalized(),(q2.setFromTwoVectors(v1, v1)*v1).normalized()); 122 VERIFY_IS_APPROX(-v1.normalized(),(q2.setFromTwoVectors(v1,-v1)*v1).normalized()); [all...] |
adjoint.cpp | 58 // check normalized() and normalize() 59 VERIFY_IS_APPROX(v1, v1.norm() * v1.normalized()); 63 VERIFY_IS_APPROX(v3, v1.normalized()); 81 // check that Random().normalized() works: tricky as the random xpr must be evaluated by 82 // normalized() in order to produce a consistent result. 83 VERIFY_IS_APPROX(VectorType::Random(rows).normalized().norm(), RealScalar(1));
|
/external/harfbuzz_ng/src/ |
hb-glib.cc | 254 gchar *normalized; local 260 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFC); 261 len = g_utf8_strlen (normalized, -1); 266 *ab = g_utf8_get_char (normalized); 272 g_free (normalized); 291 gchar *normalized; local 296 normalized = g_utf8_normalize (utf8, len, G_NORMALIZE_NFD); 297 len = g_utf8_strlen (normalized, -1); 302 *a = g_utf8_get_char (normalized); 306 *a = g_utf8_get_char (normalized); [all...] |
hb-icu.cc | 189 UChar utf16[4], normalized[5]; local 202 len = unorm_normalize (utf16, len, UNORM_NFC, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 205 if (u_countChar32 (normalized, len) == 1) { 206 U16_GET_UNSAFE (normalized, 0, *ab); 248 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local 263 len = unorm_normalize (utf16, len, UNORM_NFD, 0, normalized, ARRAY_LENGTH (normalized), &icu_err); 267 len = u_countChar32 (normalized, len); 270 U16_GET_UNSAFE (normalized, 0, *a) 318 UChar utf16[2], normalized[2 * HB_UNICODE_MAX_DECOMPOSITION_LEN + 1]; local [all...] |
/external/jmonkeyengine/engine/src/core-data/Common/ShaderLib/ |
Optics.glsllib | 9 // converts a normalized direction vector
16 // NOTE: this simplification only works if dir is normalized.
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
PhotoProcessorTest.java | 42 final Bitmap normalized = PhotoProcessor.getNormalizedBitmap(sourceBitmap, 50, false); local 45 assertEquals(10, normalized.getWidth()); 46 assertEquals(10, normalized.getHeight()); 49 assertEquals(Color.argb(255, 255, 255, 255), normalized.getPixel(0, 0));
|
/external/icu4c/i18n/ |
nortrans.cpp | 113 * must not be normalized. 118 UnicodeString input, normalized; 124 fNorm2.normalize(input, normalized, status); 126 text.handleReplaceBetween(start, limit, normalized); 128 int32_t delta = normalized.length() - length; 136 UnicodeString normalized; local 154 fNorm2.normalize(segment, normalized, errorCode); 158 if(segment != normalized) { 159 // replace the input chunk with its normalized form 160 text.handleReplaceBetween(prev, start, normalized); [all...] |
/external/icu4c/common/unicode/ |
normalizer2.h | 42 * The primary functions are to produce a normalized string and to detect whether 43 * a string is already normalized. 58 * When the goal is a normalized string, then the text before the boundary 70 * (to avoid replacing already-normalized text) and ucol_nextSortKeyPart() 186 * Returns the normalized form of the source string. 192 * @return normalized src 202 * Writes the normalized form of the source string to the destination string 206 * @param dest destination string; its contents is replaced with normalized src 219 * Appends the normalized form of the second string to the first string 221 * The result is normalized if the first string was normalized [all...] |
normlzr.h | 38 * - static functions that normalize strings or test if strings are normalized 40 * provides iteration over its normalized form 50 * The input text is not normalized all at once, but incrementally where needed 54 * However, if the entire text is normalized, then the iterator will be 57 * original text that is close to where the normalized characters come from. 67 * At any time, next() returns the next normalized code point (UChar32), 69 * previous() returns the previous normalized code point (UChar32), 75 * needs to be normalized, then these functions will do that. 80 * getIndex() always refers to the position in the input text where the normalized 101 * The normalized results is stored in an internal string buffer, an [all...] |
/frameworks/rs/driver/ |
rsdVertexArray.cpp | 50 normalized = false; 55 bool normalized, uint32_t offset, 61 this->normalized = normalized; 78 mAttribs[idx].normalized, 113 mAttribs[ct].normalized,
|
rsdVertexArray.h | 41 bool normalized; member in class:RsdVertexArray::Attrib 46 void set(uint32_t type, uint32_t size, uint32_t stride, bool normalized, uint32_t offset, const char *name);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
SuggestionUtils.java | 101 String normalized; local 107 normalized = DEFAULT_SCHEME + SCHEME_SEPARATOR + url; 110 normalized = url; 113 int end = normalized.length(); 114 if (normalized.indexOf('/', start) == end - 1) { 117 return normalized.substring(0, end);
|
/external/eigen/unsupported/test/ |
alignedvector3.cpp | 45 VERIFY_IS_APPROX(f2.normalized(),r2.normalized()); 47 VERIFY_IS_APPROX((f2+f1).normalized(),(r2+r1).normalized());
|
/external/openfst/src/include/fst/ |
epsnormalize.h | 39 // Returns an equivalent FST that is epsilon-normalized. An acceptor is 40 // epsilon-normalized if it is epsilon-removed. A transducer is input 41 // epsilon-normalized if additionally if on each path any epsilon input 42 // label follows all non-epsilon input labels. Output epsilon-normalized
|
interval-set.h | 88 // Number of points in the intervals (undefined if not normalized). 96 // Adds an interval set to the set. The result may not be normalized. 104 // Requires intervals be normalized. 114 // Requires intervals be normalized. 119 // Requires intervals be normalized. 134 // normalized. The result is normalized. 138 // normalized. The result is normalized. 142 // normalized. The result is normalized [all...] |
/external/srec/tools/thirdparty/OpenFst/fst/lib/ |
epsnormalize.h | 37 // Returns an equivalent FST that is epsilon-normalized. An acceptor is 38 // epsilon-normalized if it is epsilon-removed. A transducer is input 39 // epsilon-normalized if additionally if on each path any epsilon input 40 // label follows all non-epsilon input labels. Output epsilon-normalized
|
/external/eigen/test/eigen2/ |
eigen2_geometry.cpp | 51 m << v0.normalized(), 52 (v0.cross(v1)).normalized(), 53 (v0.cross(v1).cross(v0)).normalized(); 70 VERIFY_IS_APPROX(v0, AngleAxisx(a, v0.normalized()) * v0); 73 m = AngleAxisx(a, v0.normalized()).toRotationMatrix().adjoint(); 74 VERIFY_IS_APPROX(Matrix3::Identity(), m * AngleAxisx(a, v0.normalized())); 75 VERIFY_IS_APPROX(Matrix3::Identity(), AngleAxisx(a, v0.normalized()) * m); 77 q1 = AngleAxisx(a, v0.normalized()); 78 q2 = AngleAxisx(a, v1.normalized()); 115 VERIFY_IS_APPROX(v2.normalized(),(q2.setFromTwoVectors(v1,v2)*v1).normalized()) [all...] |
eigen2_geometry_with_eigen2_prefix.cpp | 53 m << v0.normalized(), 54 (v0.cross(v1)).normalized(), 55 (v0.cross(v1).cross(v0)).normalized(); 72 VERIFY_IS_APPROX(v0, AngleAxisx(a, v0.normalized()) * v0); 75 m = AngleAxisx(a, v0.normalized()).toRotationMatrix().adjoint(); 76 VERIFY_IS_APPROX(Matrix3::Identity(), m * AngleAxisx(a, v0.normalized())); 77 VERIFY_IS_APPROX(Matrix3::Identity(), AngleAxisx(a, v0.normalized()) * m); 79 q1 = AngleAxisx(a, v0.normalized()); 80 q2 = AngleAxisx(a, v1.normalized()); 117 VERIFY_IS_APPROX(v2.normalized(),(q2.setFromTwoVectors(v1,v2)*v1).normalized()) [all...] |
/libcore/luni/src/main/java/java/text/ |
Normalizer.java | 58 * Check whether the given character sequence <code>src</code> is normalized 63 * @return true if normalized according to <code>form</code> 75 * @return string normalized according to <code>form</code>
|
/frameworks/compile/slang/ |
slang_rs_export_type.h | 120 // @T was normalized by calling RSExportType::NormalizeType(). 173 // @T may not be normalized 258 // @T was normalized by calling RSExportType::NormalizeType() before calling 265 bool Normalized = false); 273 bool Normalized) 276 mNormalized(Normalized) { 286 // T is normalized by calling RSExportType::NormalizeType() before 290 // @T may not be normalized 344 // @PT was normalized by calling RSExportType::NormalizeType() before calling 371 bool Normalized, [all...] |
/sdk/emulator/opengl/host/libs/GLESv2_dec/ |
GL2Decoder.cpp | 103 GLboolean normalized, GLsizei stride, void * data, GLuint datalen) 110 ctx->glVertexAttribPointer(indx, size, type, normalized, 0, ctx->m_contextData->pointerData(indx)); 115 GLboolean normalized, GLsizei stride, GLuint data) 118 ctx->glVertexAttribPointer(indx, size, type, normalized, stride, (GLvoid *)data);
|
GL2Decoder.h | 43 GLboolean normalized, GLsizei stride, void * data, GLuint datalen); 45 GLboolean normalized, GLsizei stride, GLuint offset);
|
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/geometry/ |
VertexDataManager.cpp | 356 // VertexTypeMapping maps GL type & normalized flag to preferred and fallback D3D vertex types (as D3DVertexType enums). 357 template <GLenum GLtype, bool normalized> 377 template <bool normalized> struct VertexTypeMapping<GL_FIXED, normalized> : VertexTypeMappingBase<D3DVT_FLOAT> { }; // FixedToFloat 378 template <bool normalized> struct VertexTypeMapping<GL_FLOAT, normalized> : VertexTypeMappingBase<D3DVT_FLOAT> { }; // Identity 385 template <GLenum fromType, bool normalized, unsigned int toType> 390 // All conversions from normalized types to float use the Normalize operator. 398 // whether it is normalized or not. 399 template <class T, bool normalized> [all...] |
/external/webkit/Source/JavaScriptCore/icu/unicode/ |
unorm.h | 90 * It allows to work on strings that are not necessarily normalized 103 * already conform to FCD and do not need to be normalized (NFD) for such a process. The FCD quick check will 113 * Beyond collation and string search, normalized strings may be useful for string equivalence comparisons, 119 * Unicode text needs to be normalized to NFC. 183 * The string will be normalized according the specified normalization mode 212 * Indicates that string is not in the normalized format 216 * Indicates that string is in the normalized format 220 * Indicates that string cannot be determined if it is in the normalized 231 * string is in the desired normalized format, UNORM_NO determines that 232 * argument string is not in the desired normalized format. A [all...] |