Searched refs:breaks (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium_org/v8/test/mjsunit/
H A 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...]
H A 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(); variable
105 for (var i = 0; i < breaks.length; i++) {
106 breaks_ids.push(breaks[i].number());
/external/chromium_org/ui/gfx/
H A Dbreak_list_unittest.cc30 BreakList<bool> breaks(false);
32 breaks.SetMax(max);
35 breaks.ApplyValue(true, Range::InvalidRange());
36 EXPECT_TRUE(breaks.EqualsValueForTesting(false));
38 breaks.ApplyValue(true, Range(i, i));
39 EXPECT_TRUE(breaks.EqualsValueForTesting(false));
42 // Apply a value to a valid range, check breaks; repeating should be no-op.
48 breaks.ApplyValue(true, Range(2, 3));
49 EXPECT_TRUE(breaks.EqualsForTesting(expected));
53 breaks
[all...]
H A Dbreak_list.h25 // The value of other breaks apply to the range [break.first, (break+1).first).
37 const std::vector<Break>& breaks() const { return breaks_; } function in class:gfx::BreakList
39 // Clear the breaks and set a break at position 0 with the supplied |value|.
42 // Adjust the breaks to apply |value| over the supplied |range|.
45 // Set the max position and trim any breaks at or beyond that position.
59 bool EqualsForTesting(const std::vector<Break>& breaks) const;
63 // Check for ordered breaks [0, |max_|) with no adjacent equivalent values.
93 // Erase any breaks in |range|, then add start and end breaks as needed.
151 bool BreakList<T>::EqualsForTesting(const std::vector<Break>& breaks) cons
[all...]
H A Drender_text_pango.cc357 BreakList<bool>::const_iterator bold = styles()[BOLD].breaks().begin();
358 BreakList<bool>::const_iterator italic = styles()[ITALIC].breaks().begin();
359 while (bold != styles()[BOLD].breaks().end() &&
360 italic != styles()[ITALIC].breaks().end()) {
382 DCHECK(bold == styles()[BOLD].breaks().end());
383 DCHECK(italic == styles()[ITALIC].breaks().end());
H A Drender_text_win.cc103 // |available_width| using word break info from |breaks|. If |empty_line| is
114 const BreakList<size_t>& breaks,
121 BreakList<size_t>::const_iterator word = breaks.GetBreak(start_char);
136 if (next_word != breaks.breaks().end() && i >= next_word->first) {
869 it != colors().breaks().end() &&
112 BreakRunAtWidth(const wchar_t* text, const internal::TextRun& run, const BreakList<size_t>& breaks, size_t start_char, int available_width, bool empty_line, int* width, size_t* next_char) argument
H A Drender_text.cc345 color_ = colors_.breaks().begin();
347 style_.push_back(styles_[i].breaks().begin());
421 break_list.SetValue(break_list.breaks().begin()->second);
535 // Use the nearest word boundary in the proper |direction| for word breaks.
671 return (styles_[style].breaks().size() == 1) &&
672 styles_[style].breaks().front().second;
969 // Save the underline and color breaks to undo the temporary styles later.
987 // Restore the underline and color breaks to undo the temporary styles.
1123 text_rect, left_part, right_part, colors_.breaks().front().second);
H A Drender_text_harfbuzz.cc925 it != colors().breaks().end() && it->first < run.range.end();
/external/chromium_org/v8/test/mjsunit/es6/
H A Ddebug-stepin-collections-foreach.js14 if (breaks == 0) {
16 breaks = 1;
17 } else if (breaks <= 3) {
18 breaks++;
54 var breaks = 0; variable
58 assertEquals(4, breaks);
60 breaks = 0;
64 assertEquals(4, breaks);
76 if (breaks == 0) {
78 breaks
[all...]
/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-1639.js31 var breaks = 0;
49 assertEquals('BREAK ' + breaks, line.substr(-7));
50 breaks++;
51 if (breaks < 4) {
/external/jpeg/
H A 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[
[all...]
/external/qemu/distrib/jpeg-6b/
H A 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[
[all...]
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
H A DBufferedLineReaderTest.cpp179 String MakeTestData(const char** lines, const LineBreakType* breaks, int count) argument
184 builder.append(LineBreakString(breaks[i]));
202 const LineBreakType breaks[] = { Lf, Lf, Lf, Lf, Lf, Lf, Lf }; local
204 COMPILE_ASSERT(numTestLines == WTF_ARRAY_LENGTH(breaks), DifferentLengths_lines_and_breaks);
205 String data = MakeTestData(lines, breaks, numTestLines);
235 const LineBreakType breaks[] = { Cr, Lf, CrLf, Cr, Lf, CrLf, Lf }; local
237 COMPILE_ASSERT(numTestLines == WTF_ARRAY_LENGTH(breaks), DifferentLengths_lines_and_breaks);
238 String data = MakeTestData(lines, breaks, numTestLines);
/external/icu/icu4c/source/common/
H A Drbbi.cpp1584 // It wont give the right breaks, but it's better than a crash.
1619 UStack breaks(status);
1670 // any breaks within the span.
1692 // Ask the language object if there are any breaks. It will leave the text
1695 foundBreakCount += lbe->findBreaks(fText, rangeStart, rangeEnd, FALSE, fBreakType, breaks);
1703 // If we found breaks, build a new break cache. The first and last entries must
1706 U_ASSERT(foundBreakCount == breaks.size());
1708 if (startPos < breaks.elementAti(0)) {
1711 if (endPos > breaks.peeki()) {
1718 if (startPos < breaks
[all...]
/external/chromium_org/third_party/icu/source/common/
H A Drbbi.cpp1584 // It wont give the right breaks, but it's better than a crash.
1619 UStack breaks(status);
1670 // any breaks within the span.
1692 // Ask the language object if there are any breaks. It will leave the text
1695 foundBreakCount += lbe->findBreaks(fText, rangeStart, rangeEnd, FALSE, fBreakType, breaks);
1703 // If we found breaks, build a new break cache. The first and last entries must
1707 if (startPos < breaks.elementAti(0)) {
1710 if (endPos > breaks.peeki()) {
1717 if (startPos < breaks.elementAti(0)) {
1721 fCachedBreakPositions[out++] = breaks
[all...]
/external/icu/icu4c/source/i18n/
H A Dfilteredbrk.cpp237 LocalUResourceBundlePointer breaks(ures_getByKeyWithFallback(exceptions.getAlias(), "SentenceBreak", NULL, &status));
243 strs.adoptInstead(ures_getNextResource(breaks.getAlias(), strs.orphan(), &subStatus));
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Dcbiapts.c544 char breaks[] = "** ** * ** *"; /* * the expected break positions */ local
560 for (i=0; i<sizeof(breaks); i++) {
561 if (pos == i && breaks[i] != '*') {
565 if (pos != i && breaks[i] == '*') {
/external/icu/icu4c/source/test/cintltst/
H A Dcbiapts.c544 char breaks[] = "** ** * ** *"; /* * the expected break positions */ local
560 for (i=0; i<sizeof(breaks); i++) {
561 if (pos == i && breaks[i] != '*') {
565 if (pos != i && breaks[i] == '*') {
/external/chromium_org/third_party/polymer/components-chromium/core-component-page/
H A Dcore-component-page-extracted.js1233 inline.breaks = merge({}, inline.gfm, {
1255 if (this.options.breaks) {
1256 this.rules = inline.breaks;
1950 breaks: false,
3200 // code to display with spaces instead of line breaks.
/external/antlr/antlr-3.4/runtime/ActionScript/project/src/org/antlr/runtime/
H A DDFA.as149 // not reached -- added due to bug in Flex compiler reachability analysis of while loop with no breaks
/external/compiler-rt/make/platform/
H A Dclang_darwin.mk135 # Forcibly strip off any -arch, as that totally breaks our universal support.
/external/chromium_org/third_party/x86inc/
H A Dx86inc.asm107 ; Some distros prefer shared objects to be PIC, but nothing breaks if
/external/bison/build-aux/
H A Dtexinfo.tex720 % TeX does not even consider page breaks if a penalty added to the
723 % page breaks. On the other hand, we don't want to actually break the
2521 % An additional complication: the above will allow breaks after, e.g.,
2603 % Allow line breaks around only a few characters (only).
3938 % Keeps underfull box messages off when table breaks over pages.
3940 % Maybe so, but it also creates really weird page breaks when the
3941 % table breaks over pages. Wouldn't \vfil be better? Wait until the
4776 % Take care of unwanted page breaks/skips around a whatsit:
4793 % Avoid page breaks due to these extra skips, too.
4940 % We like breaks befor
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dx86inc.asm88 ; Some distros prefer shared objects to be PIC, but nothing breaks if
/external/chromium_org/third_party/libyuv/source/
H A Dx86inc.asm88 ; Some distros prefer shared objects to be PIC, but nothing breaks if

Completed in 1393 milliseconds

123