HomeSort by relevance Sort by last modified time
    Searched refs:breaks (Results 1 - 25 of 71) sorted by null

1 2 3

  /external/chromium_org/ui/gfx/
break_list_unittest.cc 30 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.SetValue(true)
    [all...]
break_list.h 25 // 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) const
    [all...]
render_text_pango.cc 357 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());
render_text_win.cc 103 // |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) {
361 // Breaks the run at given |run_index| into Line structs.
397 // Breaks a run into segments that fit in the last line in |lines_| and adds
869 it != colors().breaks().end() &&
    [all...]
  /external/chromium_org/v8/test/mjsunit/es6/
debug-stepin-collections-foreach.js 14 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 = 1
    [all...]
  /external/chromium_org/v8/test/mjsunit/
debug-stepin-builtin-callback.js 39 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...]
debug-liveedit-breakpoints.js 81 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());
debug-break-inline.js 30 // This test tests that deoptimization due to debug breaks works for
debug-step-stub-callfunction.js 32 // Simple debug event handler which counts the number of breaks hit and steps.
debug-step.js 74 // for loop (line 2) will only make i 0 as a real break point breaks even when
debug-stepin-constructor.js 32 // Simple debug event handler which counts the number of breaks hit and steps.
debug-stepout-recursive-function.js 35 // Simple debug event handler which counts the number of breaks hit and steps.
  /external/jpeg/
ansi2knr.c 535 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...]
  /cts/tests/tests/text/src/android/text/cts/
StaticLayoutLineBreakingTest.java 109 int[] breaks = new int[staticLayout.getLineCount() - 1]; local
110 for (int line = 0; line < breaks.length; line++) {
111 breaks[line] = staticLayout.getLineEnd(line);
113 return breaks;
130 private static void layout(CharSequence source, int[] breaks) {
131 layout(source, breaks, WIDTH);
134 private static void layout(CharSequence source, int[] breaks, int width) {
139 int lineCount = breaks.length + 1;
149 assertEquals("Line start for line " + line, breaks[line - 1], lineStart);
155 assertEquals("Line end for line " + line, breaks[line], lineEnd)
345 int[] breaks = getBreaks(text); local
370 int[] breaks = getBreaks(text); local
427 int[] breaks = getBreaks(text, 15); local
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
BufferedLineReaderTest.cpp 179 String MakeTestData(const char** lines, const LineBreakType* breaks, int count)
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/chromium_org/v8/test/mjsunit/regress/
regress-1639.js 31 var breaks = 0;
49 assertEquals('BREAK ' + breaks, line.substr(-7));
50 breaks++;
51 if (breaks < 4) {
regress-323845.js 28 // Regression test that breaks escape analysis because objects escape over
  /external/icu/icu4c/source/common/
rbbi.cpp     [all...]
  /device/asus/fugu/
AndroidKernel.mk 26 #remove time_macros from ccache options, it breaks signing process
  /external/chromium_org/third_party/icu/source/common/
rbbi.cpp     [all...]
  /external/chromium_org/chrome/browser/resources/extensions/
extension_code.js 81 // Make the line numbers. This should be the number of line breaks + 1
  /external/chromium_org/v8/src/
array-iterator.js 123 // No 'values' since it breaks webcompat: http://crbug.com/409858
  /external/icu/icu4c/source/i18n/
filteredbrk.cpp 237 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/
cbiapts.c 544 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] == '*') {
    [all...]
  /external/icu/icu4c/source/test/cintltst/
cbiapts.c 544 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] == '*') {
    [all...]

Completed in 538 milliseconds

1 2 3