Home
last modified time | relevance | path

Searched refs:ces (Results 1 – 25 of 64) sorted by relevance

123

/external/eigen/doc/snippets/
DComplexEigenSolver_compute.cpp4 ComplexEigenSolver<MatrixXcf> ces; variable
5 ces.compute(A);
6 cout << "The eigenvalues of A are:" << endl << ces.eigenvalues() << endl;
7 cout << "The matrix of eigenvectors, V, is:" << endl << ces.eigenvectors() << endl << endl;
9 complex<float> lambda = ces.eigenvalues()[0];
11 VectorXcf v = ces.eigenvectors().col(0);
16 << ces.eigenvectors() * ces.eigenvalues().asDiagonal() * ces.eigenvectors().inverse() << endl;
DComplexEigenSolver_eigenvalues.cpp2 ComplexEigenSolver<MatrixXcf> ces(ones, /* computeEigenvectors = */ false);
4 << endl << ces.eigenvalues() << endl;
DComplexEigenSolver_eigenvectors.cpp2 ComplexEigenSolver<MatrixXcf> ces(ones);
4 << endl << ces.eigenvectors().col(1) << endl;
/external/icu/icu4c/source/test/intltest/
Dcolldata.cpp42 : ces(NULL), listMax(CELIST_BUFFER_SIZE), listSize(0) in CEList()
70 ces = ceBuffer; in CEList()
101 if (ces != ceBuffer) { in ~CEList()
102 DELETE_ARRAY(ces); in ~CEList()
121 uprv_memcpy(newCEs, ces, listSize * sizeof(uint32_t)); in add()
123 if (ces != ceBuffer) { in add()
124 DELETE_ARRAY(ces); in add()
127 ces = newCEs; in add()
131 ces[listSize++] = ce; in add()
137 return ces[index]; in get()
[all …]
Dcolldata.h117 uint32_t *ces; variable
271 int32_t minLengthInChars(const CEList *ces, int32_t offset) const;
291 int32_t minLengthInChars(const CEList *ces, int32_t offset, int32_t *history) const;
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DContractionsAndExpansions.java35 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH]; field in ContractionsAndExpansions
39 void handleExpansion(long ces[], int start, int length); in handleExpansion() argument
143 ces[0] = Collation.latinCE0FromCE32(ce32); in handleCE32()
144 ces[1] = Collation.latinCE1FromCE32(ce32); in handleCE32()
145 sink.handleExpansion(ces, 0, 2); in handleCE32()
158 ces[i] = Collation.ceFromCE32(data.ce32s[idx + i]); in handleCE32()
160 sink.handleExpansion(ces, 0, length); in handleCE32()
172 sink.handleExpansion(data.ces, idx, length); in handleCE32()
DCollationDataBuilder.java119 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument
120 int ce32 = encodeCEs(ces, cesLength); in add()
130 int encodeCEs(long ces[], int cesLength) { in encodeCEs() argument
142 return encodeOneCE(ces[0]); in encodeCEs()
145 long ce0 = ces[0]; in encodeCEs()
146 long ce1 = ces[1]; in encodeCEs()
166 int ce32 = encodeOneCEAsCE32(ces[i]); in encodeCEs()
170 return encodeExpansion(ces, 0, cesLength); in encodeCEs()
331 int getCEs(CharSequence s, long ces[], int cesLength) { in getCEs() argument
332 return getCEs(s, 0, ces, cesLength); in getCEs()
[all …]
DCollationBuilder.java111 ces[0] = getSpecialResetPosition(str); in addReset()
113 assert((ces[0] & Collation.CASE_AND_QUATERNARY_MASK) == 0); in addReset()
117 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset()
228 strength = ceStrength(ces[cesLength - 1]); in addReset()
230 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset()
480 long ce = ces[cesLength - 1]; in addRelation()
498 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation()
506 cesLength = dataBuilder.getCEs(nfdExtension, ces, cesLength); in addRelation()
518 ce32 = addIfDifferent(prefix, str, ces, cesLength, ce32); in addRelation()
520 addWithClosure(nfdPrefix, nfdString, ces, cesLength, ce32); in addRelation()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DContractionsAndExpansions.java39 private long[] ces = new long[Collation.MAX_EXPANSION_LENGTH]; field in ContractionsAndExpansions
46 void handleExpansion(long ces[], int start, int length); in handleExpansion() argument
150 ces[0] = Collation.latinCE0FromCE32(ce32); in handleCE32()
151 ces[1] = Collation.latinCE1FromCE32(ce32); in handleCE32()
152 sink.handleExpansion(ces, 0, 2); in handleCE32()
165 ces[i] = Collation.ceFromCE32(data.ce32s[idx + i]); in handleCE32()
167 sink.handleExpansion(ces, 0, length); in handleCE32()
179 sink.handleExpansion(data.ces, idx, length); in handleCE32()
DCollationDataBuilder.java120 void add(CharSequence prefix, CharSequence s, long ces[], int cesLength) { in add() argument
121 int ce32 = encodeCEs(ces, cesLength); in add()
131 int encodeCEs(long ces[], int cesLength) { in encodeCEs() argument
143 return encodeOneCE(ces[0]); in encodeCEs()
146 long ce0 = ces[0]; in encodeCEs()
147 long ce1 = ces[1]; in encodeCEs()
167 int ce32 = encodeOneCEAsCE32(ces[i]); in encodeCEs()
171 return encodeExpansion(ces, 0, cesLength); in encodeCEs()
332 int getCEs(CharSequence s, long ces[], int cesLength) { in getCEs() argument
333 return getCEs(s, 0, ces, cesLength); in getCEs()
[all …]
DCollationBuilder.java115 ces[0] = getSpecialResetPosition(str); in addReset()
117 assert((ces[0] & Collation.CASE_AND_QUATERNARY_MASK) == 0); in addReset()
121 cesLength = dataBuilder.getCEs(nfdString, ces, 0); in addReset()
232 strength = ceStrength(ces[cesLength - 1]); in addReset()
234 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset()
484 long ce = ces[cesLength - 1]; in addRelation()
502 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation()
510 cesLength = dataBuilder.getCEs(nfdExtension, ces, cesLength); in addRelation()
522 ce32 = addIfDifferent(prefix, str, ces, cesLength, ce32); in addRelation()
524 addWithClosure(nfdPrefix, nfdString, ces, cesLength, ce32); in addRelation()
[all …]
DCollationData.java112 long dataCE = ces[Collation.indexFromCE32(ce32)]; in getCEFromOffsetCE32()
159 return d.ces[Collation.indexFromCE32(ce32)]; in getSingleCE()
495 long[] ces; field in CollationData
/external/icu/icu4c/source/i18n/
Dcollationdatabuilder.h98 const int64_t ces[], int32_t cesLength,
107 virtual uint32_t encodeCEs(const int64_t ces[], int32_t cesLength, UErrorCode &errorCode);
165 int32_t getCEs(const UnicodeString &s, int64_t ces[], int32_t cesLength);
167 int64_t ces[], int32_t cesLength);
195 uint32_t encodeExpansion(const int64_t ces[], int32_t length, UErrorCode &errorCode);
221 int32_t getCEs(const UnicodeString &s, int32_t start, int64_t ces[], int32_t cesLength);
Dcollationdatabuilder.cpp132 int32_t fetchCEs(const UnicodeString &str, int32_t start, int64_t ces[], int32_t cesLength);
172 int64_t ces[], int32_t cesLength) { in fetchCEs() argument
175 builderData.ces = builder.ce64s.getBuffer(); in fetchCEs()
201 ces[cesLength] = ce; in fetchCEs()
399 int64_t dataCE = fromBase ? base->ces[i] : ce64s.elementAti(i); in getCE32FromOffsetCE32()
464 return fromBase ? base->ces[i] : ce64s.elementAti(i); in getSingleCE()
530 const int64_t ces[], int32_t cesLength, in add() argument
532 uint32_t ce32 = encodeCEs(ces, cesLength, errorCode); in add()
656 CollationDataBuilder::encodeCEs(const int64_t ces[], int32_t cesLength, in encodeCEs() argument
672 return encodeOneCE(ces[0], errorCode); in encodeCEs()
[all …]
Dcollationsets.cpp157 int64_t dataCE = baseData->ces[Collation::indexFromCE32(baseCE32)]; in compare()
188 const int64_t *ces = data->ces + Collation::indexFromCE32(ce32); in compare() local
191 const int64_t *baseCEs = baseData->ces + Collation::indexFromCE32(baseCE32); in compare()
199 if(ces[i] != baseCEs[i]) { in compare()
457 ces[0] = Collation::latinCE0FromCE32(ce32); in handleCE32()
458 ces[1] = Collation::latinCE1FromCE32(ce32); in handleCE32()
459 sink->handleExpansion(ces, 2); in handleCE32()
472 ces[i] = Collation::ceFromCE32(*ce32s++); in handleCE32()
474 sink->handleExpansion(ces, length); in handleCE32()
485 sink->handleExpansion(data->ces + Collation::indexFromCE32(ce32), length); in handleCE32()
Dcollationbuilder.cpp299 ces[0] = getSpecialResetPosition(str, parserErrorReason, errorCode); in addReset()
302 U_ASSERT((ces[0] & Collation::CASE_AND_QUATERNARY_MASK) == 0); in addReset()
310 cesLength = dataBuilder->getCEs(nfdString, ces, 0); in addReset()
429 strength = ceStrength(ces[cesLength - 1]); in addReset()
435 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, strength); in addReset()
701 int64_t ce = ces[cesLength - 1]; in addRelation()
725 ces[cesLength - 1] = tempCEFromIndexAndStrength(index, tempStrength); in addRelation()
738 cesLength = dataBuilder->getCEs(nfdExtension, ces, cesLength); in addRelation()
752 ce32 = addIfDifferent(prefix, str, ces, cesLength, ce32, errorCode); in addRelation()
754 addWithClosure(nfdPrefix, nfdString, ces, cesLength, ce32, errorCode); in addRelation()
[all …]
Dcollationdata.h57 ce32s(NULL), ces(NULL), contexts(NULL), base(NULL), in CollationData()
116 int64_t dataCE = ces[Collation::indexFromCE32(ce32)]; in getCEFromOffsetCE32()
183 const int64_t *ces; member
Dusearch.cpp316 if (pattern->ces != cetable && pattern->ces) { in initializePatternCETable()
317 uprv_free(pattern->ces); in initializePatternCETable()
345 pattern->ces = cetable; in initializePatternCETable()
558 setShiftTable(pattern->shift, pattern->backShift, pattern->ces, in initialize()
641 if (U_FAILURE(status) || ce != strsrch->pattern.ces[count]) { in isBreakUnit()
876 uint32_t firstce = strsrch->pattern.ces[0]; in checkExtraMatchAccents()
929 int32_t firstce = strsrch->pattern.ces[0]; in hasAccentsBeforeMatch()
1011 int32_t firstce = strsrch->pattern.ces[0]; in hasAccentsAfterMatch()
1206 int32_t *patternce = strsrch->pattern.ces; in checkNextExactContractionMatch()
1410 int32_t *patternce = strsrch->pattern.ces; in checkCollationMatch()
[all …]
Dcollationsets.h93 virtual void handleExpansion(const int64_t ces[], int32_t length) = 0;
137 int64_t ces[Collation::MAX_EXPANSION_LENGTH]; variable
Dalphaindex.cpp398 const UnicodeString &s, UVector64 &ces, UErrorCode &errorCode) { in hasMultiplePrimaryWeights() argument
399 ces.removeAllElements(); in hasMultiplePrimaryWeights()
400 coll.internalGetCEs(s, ces, errorCode); in hasMultiplePrimaryWeights()
403 for (int32_t i = 0; i < ces.size(); ++i) { in hasMultiplePrimaryWeights()
404 int64_t ce = ces.elementAti(i); in hasMultiplePrimaryWeights()
427 UVector64 ces(errorCode); in createBucketList() local
511 ces, errorCode) && in createBucketList()
524 ces, errorCode)) { in createBucketList()
Dcoleitr.cpp402 virtual void handleExpansion(const int64_t ces[], int32_t length) { in handleExpansion() argument
409 count += ceNeedsTwoParts(ces[i]) ? 2 : 1; in handleExpansion()
412 int64_t ce = ces[length - 1]; in handleExpansion()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCollationElementIterator.java580 public void handleExpansion(long ces[], int start, int length) { in handleExpansion() argument
587 count += ceNeedsTwoParts(ces[start + i]) ? 2 : 1; in handleExpansion()
590 long ce = ces[start + length - 1]; in handleExpansion()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/text/
DCollationElementIterator.java597 public void handleExpansion(long ces[], int start, int length) { in handleExpansion() argument
604 count += ceNeedsTwoParts(ces[start + i]) ? 2 : 1; in handleExpansion()
607 long ce = ces[start + length - 1]; in handleExpansion()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationTest.java255 long[] ces; in TestMinMax() local
257 ces = rbc.internalGetCEs(s); in TestMinMax()
258 if (ces.length != 2) { in TestMinMax()
259 errln("expected 2 CEs for <FFFE, FFFF>, got " + ces.length); in TestMinMax()
263 long ce = ces[0]; in TestMinMax()
269 ce = ces[1]; in TestMinMax()
956 long[] ces; in TestTailoredElements() local
996 ces = rbc.internalGetCEs(s); in TestTailoredElements()
997 for (int i = 0; i < ces.length; ++i) { in TestTailoredElements()
998 long ce = ces[i]; in TestTailoredElements()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationTest.java258 long[] ces; in TestMinMax() local
260 ces = rbc.internalGetCEs(s); in TestMinMax()
261 if (ces.length != 2) { in TestMinMax()
262 errln("expected 2 CEs for <FFFE, FFFF>, got " + ces.length); in TestMinMax()
266 long ce = ces[0]; in TestMinMax()
272 ce = ces[1]; in TestMinMax()
959 long[] ces; in TestTailoredElements() local
999 ces = rbc.internalGetCEs(s); in TestTailoredElements()
1000 for (int i = 0; i < ces.length; ++i) { in TestTailoredElements()
1001 long ce = ces[i]; in TestTailoredElements()

123