/external/libbrillo/brillo/http/ |
H A D | http_form_data_unittest.cc | 125 std::set<std::string> boundaries; local 129 boundaries.insert(boundary); 141 EXPECT_GE(boundaries.size(), expected_min_unique);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 448 private void doBoundaryTest(BreakIterator bi, String text, int[] boundaries) { argument 455 if (i == boundaries[p]) {
|
H A D | BreakIteratorTest.java | 164 private void _testFollowing(BreakIterator bi, String text, int[] boundaries) { argument 168 if (i == boundaries[p]) 173 if (b != boundaries[p]) 174 errln("Wrong result from following() for " + i + ": expected " + boundaries[p] 179 private void _testPreceding(BreakIterator bi, String text, int[] boundaries) { argument 185 if (b != boundaries[p]) 186 errln("Wrong result from preceding() for " + i + ": expected " + boundaries[p] 189 if (i == boundaries[p + 1]) 194 private void _testIsBoundary(BreakIterator bi, String text, int[] boundaries) { argument 202 if (i == boundaries[ [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
H A D | RBBIAPITest.java | 445 private void doBoundaryTest(BreakIterator bi, String text, int[] boundaries) { argument 452 if (i == boundaries[p]) {
|
H A D | BreakIteratorTest.java | 161 private void _testFollowing(BreakIterator bi, String text, int[] boundaries) { argument 165 if (i == boundaries[p]) 170 if (b != boundaries[p]) 171 errln("Wrong result from following() for " + i + ": expected " + boundaries[p] 176 private void _testPreceding(BreakIterator bi, String text, int[] boundaries) { argument 182 if (b != boundaries[p]) 183 errln("Wrong result from preceding() for " + i + ": expected " + boundaries[p] 186 if (i == boundaries[p + 1]) 191 private void _testIsBoundary(BreakIterator bi, String text, int[] boundaries) { argument 199 if (i == boundaries[ [all...] |
/external/tensorflow/tensorflow/contrib/boosted_trees/resources/ |
H A D | quantile_stream_resource.h | 55 const std::vector<float>& boundaries(int64 stamp) { function in class:tensorflow::boosted_trees::QuantileStreamResource 60 void set_boundaries(int64 stamp, const std::vector<float>& boundaries) { argument 63 boundaries_ = boundaries; 93 // Stores the boundaries from the previous iteration. Empty during the first 97 // Whether boundaries are created. Initially boundaries are empty until 106 // Generate quantiles instead of approximate boundaries.
|
/external/icu/icu4c/source/i18n/ |
H A D | brktrans.cpp | 77 LocalPointer<UVector32> boundaries; local 82 boundaries.moveFrom(nonConstThis->cachedBoundaries); 88 if (boundaries.isNull()) { 89 boundaries.adoptInstead(new UVector32(status)); 92 if (bi.isNull() || boundaries.isNull() || U_FAILURE(status)) { 96 boundaries->removeAllElements(); 101 // To make things much easier, we will stack the boundaries, and then insert at the end. 119 boundaries->addElement(boundary, status); 126 if (boundaries->size() != 0) { // if we found something, adjust 127 delta = boundaries [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
H A D | bucketize_op_gpu.cu.cc | 40 const float* boundaries = GetCudaDeviceArrayOnDevice(&boundaries_array); local 50 shared_mem_boundaries[i] = boundaries[i]; 55 boundaries = shared_mem_boundaries; 66 if (!(value < static_cast<T>(boundaries[l]))) {
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
H A D | BreakTransliterator.java | 26 private int[] boundaries = new int[50]; field in class:BreakTransliterator 91 // To make things much easier, we will stack the boundaries, and then insert at the end. 108 if (boundaryCount >= boundaries.length) { // realloc if necessary 109 int[] temp = new int[boundaries.length * 2]; 110 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); 111 boundaries = temp; 114 boundaries[boundaryCount++] = boundary; 123 lastBoundary = boundaries[boundaryCount-1]; 128 boundary = boundaries[ [all...] |
/external/icu/icu4j/main/classes/translit/src/com/ibm/icu/text/ |
H A D | BreakTransliterator.java | 25 private int[] boundaries = new int[50]; field in class:BreakTransliterator 90 // To make things much easier, we will stack the boundaries, and then insert at the end. 107 if (boundaryCount >= boundaries.length) { // realloc if necessary 108 int[] temp = new int[boundaries.length * 2]; 109 System.arraycopy(boundaries, 0, temp, 0, boundaries.length); 110 boundaries = temp; 113 boundaries[boundaryCount++] = boundary; 122 lastBoundary = boundaries[boundaryCount-1]; 127 boundary = boundaries[ [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | utf8tst.c | 588 * Use a (mostly) well-formed UTF-8 string and test at code point boundaries. 760 * Use a (mostly) well-formed UTF-8 string and test at code point boundaries. 773 static const int8_t boundaries[]={ 0, 1, 5, 6, 7, 10, 12, 16, 17 }; local 782 if(offset != boundaries[i]){ 783 log_err("ERROR: UTF8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); 789 if(offset != boundaries[i]){ 790 log_err("ERROR: U8_FWD_1_UNSAFE offset expected:%d, Got:%d\n", boundaries[i], offset); 808 for(i=0; i<UPRV_LENGTHOF(boundaries); ++i) { 811 if(offset != boundaries[i]) { 812 log_err("ERROR: UTF8_FWD_N_UNSAFE offset expected:%d, Got:%d\n", boundaries[ [all...] |
H A D | cbiapts.c | 885 * The right set of boundaries should still be found. 906 /* Line boundaries will occur before each letter in the original string */ 942 int32_t boundaries[10] = {0}; local 956 boundaries[brkIdx] = brk; 957 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) { 961 if (brkIdx <= 2 || brkIdx >= UPRV_LENGTHOF(boundaries)) { 967 if (brk != boundaries[brkIdx]) { 971 if (++brkIdx >= UPRV_LENGTHOF(boundaries) - 1) {
|
/external/v8/src/compiler/ |
H A D | types.cc | 374 const Boundary* boundaries = Boundaries(); local 376 DCHECK(BitsetType::Is(boundaries[i].internal, boundaries[i].external)); 377 if (bits & boundaries[i].internal) bits |= boundaries[i].external;
|
/external/icu/icu4c/source/test/intltest/ |
H A D | rbbiapts.cpp | 1121 * The right set of boundaries should still be found. 1138 /* Line boundaries will occur before each letter in the original string */ 1444 void RBBIAPITest::doBoundaryTest(BreakIterator& bi, UnicodeString& text, int32_t *boundaries){ argument 1452 if (i == boundaries[p]) {
|
/external/python/cpython3/Lib/test/ |
H A D | test_traceback.py | 454 boundaries = re.compile( variable 497 blocks = boundaries.split(self.get_report(outer_raise)) 511 blocks = boundaries.split(self.get_report(outer_raise)) 546 blocks = boundaries.split(self.get_report(outer_raise)) 564 blocks = boundaries.split(self.get_report(outer_raise))
|
/external/tensorflow/tensorflow/contrib/boosted_trees/kernels/ |
H A D | quantile_ops.cc | 175 std::vector<float> boundaries = stream.GenerateBoundaries(num_boundaries); local 178 auto end_it = std::unique(boundaries.begin(), boundaries.end()); 179 boundaries.resize(std::distance(boundaries.begin(), end_it)); 180 return boundaries; 186 // Do not de-dup boundaries. Exactly num_quantiles+1 boundary values 188 std::vector<float> boundaries = stream.GenerateQuantiles(num_quantiles); local 189 CHECK_EQ(boundaries.size(), num_quantiles + 1); 190 return boundaries; 194 CopyBoundaries(OpKernelContext* const context, const std::vector<float>& boundaries, const int64 index, OpOutputList* output_list) argument 480 const std::vector<float>& boundaries = variable 930 auto boundaries = boundaries_tensor.flat<float>(); variable [all...] |
/external/v8/src/ast/ |
H A D | ast-types.cc | 368 const Boundary* boundaries = Boundaries(); local 370 DCHECK(AstBitsetType::Is(boundaries[i].internal, boundaries[i].external)); 371 if (bits & AST_SEMANTIC(boundaries[i].internal)) 372 bits |= AST_SEMANTIC(boundaries[i].external);
|