Home
last modified time | relevance | path

Searched refs:breaks (Results 1 – 25 of 173) sorted by relevance

1234567

/external/chromium_org/ui/gfx/
Dbreak_list_unittest.cc30 BreakList<bool> breaks(false); in TEST_F() local
32 breaks.SetMax(max); in TEST_F()
35 breaks.ApplyValue(true, Range::InvalidRange()); in TEST_F()
36 EXPECT_TRUE(breaks.EqualsValueForTesting(false)); in TEST_F()
38 breaks.ApplyValue(true, Range(i, i)); in TEST_F()
39 EXPECT_TRUE(breaks.EqualsValueForTesting(false)); in TEST_F()
48 breaks.ApplyValue(true, Range(2, 3)); in TEST_F()
49 EXPECT_TRUE(breaks.EqualsForTesting(expected)); in TEST_F()
53 breaks.SetValue(true); in TEST_F()
54 EXPECT_TRUE(breaks.EqualsValueForTesting(true)); in TEST_F()
[all …]
Dbreak_list.h37 const std::vector<Break>& breaks() const { return breaks_; } in breaks() function
59 bool EqualsForTesting(const std::vector<Break>& breaks) const;
151 bool BreakList<T>::EqualsForTesting(const std::vector<Break>& breaks) const { in EqualsForTesting() argument
152 if (breaks_.size() != breaks.size()) in EqualsForTesting()
154 for (size_t i = 0; i < breaks.size(); ++i) in EqualsForTesting()
155 if (breaks_[i] != breaks[i]) in EqualsForTesting()
Drender_text_pango.cc346 BreakList<bool>::const_iterator bold = styles()[BOLD].breaks().begin(); in SetupPangoAttributes()
347 BreakList<bool>::const_iterator italic = styles()[ITALIC].breaks().begin(); in SetupPangoAttributes()
348 while (bold != styles()[BOLD].breaks().end() && in SetupPangoAttributes()
349 italic != styles()[ITALIC].breaks().end()) { in SetupPangoAttributes()
369 DCHECK(bold == styles()[BOLD].breaks().end()); in SetupPangoAttributes()
370 DCHECK(italic == styles()[ITALIC].breaks().end()); in SetupPangoAttributes()
/external/chromium_org/v8/test/mjsunit/
Ddebug-stepin-builtin-callback.js39 if (breaks == 0) {
41 breaks = 1;
42 } else if (breaks <= 3) {
43 breaks++;
74 var breaks = 0; variable
78 assertEquals(4, breaks);
80 breaks = 0;
84 assertEquals(4, breaks);
86 breaks = 0;
89 assertEquals(4, breaks);
[all …]
Ddebug-liveedit-breakpoints.js81 var breaks = Debug.scriptBreakPoints(); variable
84 assertTrue(breaks.length > 3 + 1);
88 for (var i = 0; i < breaks.length; i++) {
89 if (breaks[i].script_id() == script.id) {
90 break_position_map[breaks[i].line()] = true;
102 var breaks = Debug.scriptBreakPoints();
105 for (var i = 0; i < breaks.length; i++) {
106 breaks_ids.push(breaks[i].number());
/external/qemu/distrib/jpeg-6b/
Dansi2knr.c535 char **breaks; local
547 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
548 if ( breaks == 0 )
554 btop = breaks + num_breaks * 2 - 2;
555 bp = breaks;
566 free((char *)breaks);
634 if ( bp == breaks + 1 ) /* sole argument */
635 writeblanks(breaks[0], p);
650 if ( bp == breaks+2 )
651 { p = skipspace(breaks[0], 1);
[all …]
/external/jpeg/
Dansi2knr.c535 char **breaks; local
547 breaks = (char **)malloc(sizeof(char *) * num_breaks * 2);
548 if ( breaks == 0 )
554 btop = breaks + num_breaks * 2 - 2;
555 bp = breaks;
566 free((char *)breaks);
634 if ( bp == breaks + 1 ) /* sole argument */
635 writeblanks(breaks[0], p);
650 if ( bp == breaks+2 )
651 { p = skipspace(breaks[0], 1);
[all …]
/external/v8/test/mjsunit/
Ddebug-liveedit-breakpoints.js81 var breaks = Debug.scriptBreakPoints(); variable
84 assertTrue(breaks.length > 3 + 1);
88 for (var i = 0; i < breaks.length; i++) {
89 if (breaks[i].script_id() == script.id) {
90 break_position_map[breaks[i].line()] = true;
102 var breaks = Debug.scriptBreakPoints();
105 for (var i = 0; i < breaks.length; i++) {
106 breaks_ids.push(breaks[i].number());
/external/chromium_org/third_party/icu/source/tools/genctd/
Dgenctd.cpp298 UnicodeSet breaks; in main() local
299 breaks.add(0x000A); // Line Feed in main()
300 breaks.add(0x000D); // Carriage Return in main()
301 breaks.add(0x2028); // Line Separator in main()
302 breaks.add(0x2029); // Paragraph Separator in main()
306 while (uc && !breaks.contains(uc)) { in main()
310 while (uc && breaks.contains(uc)) { in main()
314 while (uc && (breaks.contains(uc) || u_isspace(uc))); in main()
375 while (uc && !breaks.contains(uc)) { in main()
379 while (uc && breaks.contains(uc)) { in main()
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-1639.js31 var breaks = 0; variable
49 assertEquals('BREAK ' + breaks, line.substr(-7));
50 breaks++;
51 if (breaks < 4) {
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DBufferedLineReaderTest.cpp179 String MakeTestData(const char** lines, const LineBreakType* breaks, int count) in MakeTestData() argument
184 builder.append(LineBreakString(breaks[i])); in MakeTestData()
202 const LineBreakType breaks[] = { Lf, Lf, Lf, Lf, Lf, Lf, Lf }; in TEST() local
204 COMPILE_ASSERT(numTestLines == WTF_ARRAY_LENGTH(breaks), DifferentLengths_lines_and_breaks); in TEST()
205 String data = MakeTestData(lines, breaks, numTestLines); in TEST()
235 const LineBreakType breaks[] = { Cr, Lf, CrLf, Cr, Lf, CrLf, Lf }; in TEST() local
237 COMPILE_ASSERT(numTestLines == WTF_ARRAY_LENGTH(breaks), DifferentLengths_lines_and_breaks); in TEST()
238 String data = MakeTestData(lines, breaks, numTestLines); in TEST()
/external/v8/test/mjsunit/regress/
Dregress-1639.js31 var breaks = 0; variable
48 assertEquals('BREAK ' + breaks, line.substr(-7));
49 breaks++;
/external/harfbuzz/tests/linebreaking/
Dmain.cpp88 uchar breaks[32]; in lineBreaking() member
153 QVERIFY(b->breaks[i] != 0xff); in lineBreaking()
154 if ( (attrs[i].lineBreakType != HB_NoBreak) != (bool)b->breaks[i] ) { in lineBreaking()
156 QCOMPARE( (attrs[i].lineBreakType != HB_NoBreak), (bool)b->breaks[i] ); in lineBreaking()
160 QCOMPARE(b->breaks[i], (uchar)0xff); in lineBreaking()
/external/markdown/MarkdownTest/Tests_2007/
DLinks, reference style.text65 breaks] across lines.
68 breaks] across lines, but with a line-ending space.
71 [link breaks]: /url/
/external/valgrind/main/gdbserver_tests/
Dmcclean_after_fork.stdinB.gdb7 # also put breaks in code that only the child will execute.
8 # These breaks should not be encountered.
/external/chromium_org/v8/tools/blink_tests/
DTestExpectations7 [ Linux Release x86 ] fast/text/international/thai-line-breaks.html [ Pass Failure Slow ]
13 [ Linux Release x86_64 ] fast/text/international/thai-line-breaks.html [ Pass Failure Slow ]
19 [ Linux Debug ] fast/text/international/thai-line-breaks.html [ Pass Failure Slow ]
/external/chromium_org/third_party/icu/patches/
Dbreakiterator.patch89 + * Create BreakIterator for word-breaks using the given locale.
90 + * Returns an instance of a BreakIterator implementing word breaks.
138 * Create BreakIterator for word-breaks using the given locale.
139 * Returns an instance of a BreakIterator implementing word breaks.
Dsegmentation.patch171 + * @return The number of breaks found
395 - * <p>Find any breaks within a run in the supplied text.</p>
402 - * @param reverse Whether the caller is looking for breaks in a reverse
405 - * @param foundBreaks An allocated C array of the breaks found, if any
406 - * @return The number of breaks found.
409 + * <p>Find any breaks within a run in the supplied text.</p>
416 + * @param reverse Whether the caller is looking for breaks in a reverse
419 + * @param foundBreaks An allocated C array of the breaks found, if any
420 + * @return The number of breaks found.
460 + * Viterbi decoding to determine CJK-specific breaks.</p>
[all …]
/external/eigen/unsupported/
DCMakeLists.txt4 add_subdirectory(test) # can't do EXCLUDE_FROM_ALL here, breaks CTest
/external/chromium_org/third_party/icu/source/common/
Drbbi.cpp1594 UStack breaks(status); in checkDictionary() local
1670 … foundBreakCount += lbe->findBreaks(fText, rangeStart, rangeEnd, FALSE, fBreakType, breaks); in checkDictionary()
1682 if (startPos < breaks.elementAti(0)) { in checkDictionary()
1685 if (endPos > breaks.peeki()) { in checkDictionary()
1692 if (startPos < breaks.elementAti(0)) { in checkDictionary()
1696 fCachedBreakPositions[out++] = breaks.elementAti(i); in checkDictionary()
/external/icu4c/common/
Drbbi.cpp1665 UStack breaks(status); in checkDictionary() local
1741 … foundBreakCount += lbe->findBreaks(fText, rangeStart, rangeEnd, FALSE, fBreakType, breaks); in checkDictionary()
1753 if (startPos < breaks.elementAti(0)) { in checkDictionary()
1756 if (endPos > breaks.peeki()) { in checkDictionary()
1763 if (startPos < breaks.elementAti(0)) { in checkDictionary()
1767 fCachedBreakPositions[out++] = breaks.elementAti(i); in checkDictionary()
/external/chromium_org/tools/gyp/test/rules-variables/src/
Dvariables.gyp10 # gypbots that breaks dependency checking and causes this rule to want to
/external/chromium_org/third_party/icu/source/test/cintltst/
Dcbiapts.c540 … char breaks[] = "** ** * ** *"; /* * the expected break positions */ in TestBreakIteratorRules() local
556 for (i=0; i<sizeof(breaks); i++) { in TestBreakIteratorRules()
557 if (pos == i && breaks[i] != '*') { in TestBreakIteratorRules()
561 if (pos != i && breaks[i] == '*') { in TestBreakIteratorRules()
/external/chromium_org/third_party/icu/source/test/intltest/
Drbbitst.cpp658 UnicodeSet *breaks = NULL; in TestTrieDict() local
688 breaks = new UnicodeSet; in TestTrieDict()
689 breaks->add(0x000A); // Line Feed in TestTrieDict()
690 breaks->add(0x000D); // Carriage Return in TestTrieDict()
691 breaks->add(0x2028); // Line Separator in TestTrieDict()
692 breaks->add(0x2029); // Paragraph Separator in TestTrieDict()
703 while (uc && !breaks->contains(uc)) { in TestTrieDict()
707 else while (uc && !breaks->contains(uc)) { in TestTrieDict()
721 while (uc && breaks->contains(uc)) { in TestTrieDict()
851 delete breaks; in TestTrieDict()
[all …]
/external/eigen/blas/
DCMakeLists.txt51 add_subdirectory(testing) # can't do EXCLUDE_FROM_ALL here, breaks CTest

1234567