/third_party/jerryscript/tests/jerry/ |
H A D | array-prototype-reverse.js | 17 array.reverse(); 24 var obj = { reverse : Array.prototype.reverse }; 28 obj.reverse(); 36 var obj = { reverse : Array.prototype.reverse, length : 3 }; 40 obj.reverse(); 49 var obj = { reverse : Array.prototype.reverse, length : 4 }; 53 obj.reverse(); [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/ |
H A D | check_protocol_compatibility.py | 76 def removed(reverse): 77 if reverse: 82 def required(reverse): 83 if reverse: 88 def compare_schemas(d_1, d_2, reverse): 101 errors.append("%s: domain has been %s" % (name, removed(reverse))) 103 compare_domains(domain_1, domains_by_name_2[name], types_1, types_2, errors, reverse) 107 def compare_domains(domain_1, domain_2, types_map_1, types_map_2, errors, reverse): 114 errors.append("%s.%s: command has been %s" % (domain_1["domain"], name, removed(reverse))) 116 compare_commands(domain_name, command_1, commands_2[name], types_map_1, types_map_2, errors, reverse) [all...] |
/third_party/node/tools/inspector_protocol/ |
H A D | check_protocol_compatibility.py | 76 def removed(reverse): 77 if reverse: 82 def required(reverse): 83 if reverse: 88 def compare_schemas(d_1, d_2, reverse): 101 errors.append("%s: domain has been %s" % (name, removed(reverse))) 103 compare_domains(domain_1, domains_by_name_2[name], types_1, types_2, errors, reverse) 107 def compare_domains(domain_1, domain_2, types_map_1, types_map_2, errors, reverse): 114 errors.append("%s.%s: command has been %s" % (domain_1["domain"], name, removed(reverse))) 116 compare_commands(domain_name, command_1, commands_2[name], types_map_1, types_map_2, errors, reverse) [all...] |
/third_party/toybox/scripts/ |
H A D | mkstatus.py | 31 # Create reverse mappings: reverse["command"] gives list of categories it's in 33 reverse={} variable 36 try: reverse[j].append(i) 37 except: reverse[j]=[i] 38 print "all commands=%s" % len(reverse) 47 if not i in reverse: unknowns.append(i) 61 def categorize(reverse, i, skippy=""): 65 if skippy: types = filter(lambda a: a != skippy, reverse[i]) 66 else: types = reverse[ [all...] |
/third_party/gn/src/gn/ |
H A D | output_conversion_unittest.cc | 257 std::ostringstream reverse; in TEST_F() local 258 ConvertValueToOutput(settings(), result, Value(nullptr, "string"), reverse, in TEST_F() local 261 EXPECT_EQ(reverse.str(), input) in TEST_F() 262 << "actual: " << reverse.str() << "expected:" << input; in TEST_F() 272 std::ostringstream reverse; in TEST_F() local 274 reverse, &err); in TEST_F() local 276 EXPECT_EQ(reverse.str(), input) in TEST_F() 277 << "actual: " << reverse.str() << "expected:" << input; in TEST_F() 287 std::ostringstream reverse; in TEST_F() local 288 ConvertValueToOutput(settings(), result, Value(nullptr, "value"), reverse, in TEST_F() local 302 std::ostringstream reverse; TEST_F() local 303 ConvertValueToOutput(settings(), result, Value(nullptr, "value"), reverse, TEST_F() local 317 std::ostringstream reverse; TEST_F() local 318 ConvertValueToOutput(settings(), result, Value(nullptr, "value"), reverse, TEST_F() local 332 std::ostringstream reverse; TEST_F() local 333 ConvertValueToOutput(settings(), result, Value(nullptr, "scope"), reverse, TEST_F() local 346 std::ostringstream reverse; TEST_F() local 347 ConvertValueToOutput(settings(), result, Value(nullptr, "value"), reverse, TEST_F() local [all...] |
/third_party/vk-gl-cts/modules/gles31/scripts/ |
H A D | gen-implicit-conversions.py | 340 def __init__(self, name, op, in_type, out_type, reverse=False): 351 self.reverse = reverse 365 if self.reverse: 373 if self.reverse: 374 expr.reverse() 406 def __init__(self, name, op, in_type, out_type, reverse=False): 407 super(ComparisonsCase, self).__init__(name, op, in_type, out_type, reverse) 424 if self.reverse: 443 def __init__(self, name, in_type, out_type, reverse [all...] |
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | test-array.cc | 35 a.reverse(); in test_reverse() 47 a.reverse(2, 6); in test_reverse_range() 60 a.reverse(4, 3); in test_reverse_invalid() 61 a.reverse(2, 3); in test_reverse_invalid() 62 a.reverse(5, 5); in test_reverse_invalid() 63 a.reverse(12, 15); in test_reverse_invalid()
|
/third_party/skia/src/core/ |
H A D | SkEdgeClipper.cpp | 32 it to be increasing in Y. If it had to reverse the order of the points, 146 bool reverse = sort_increasing_Y(pts, srcPts, 3); in clipMonoQuad() local 159 reverse = !reverse; in clipMonoQuad() 167 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad() 172 this->appendVLine(clip.fRight, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad() 184 this->appendVLine(clip.fLeft, tmp[0].fY, tmp[2].fY, reverse); in clipMonoQuad() 194 this->appendVLine(clip.fLeft, pts[0].fY, pts[2].fY, reverse); in clipMonoQuad() 207 this->appendQuad(tmp, reverse); in clipMonoQuad() 208 this->appendVLine(clip.fRight, tmp[2].fY, tmp[4].fY, reverse); in clipMonoQuad() 339 bool reverse = sort_increasing_Y(pts, src, 4); clipMonoCubic() local 462 appendVLine(SkScalar x, SkScalar y0, SkScalar y1, bool reverse) appendVLine() argument 474 appendQuad(const SkPoint pts[3], bool reverse) appendQuad() argument 488 appendCubic(const SkPoint pts[4], bool reverse) appendCubic() argument [all...] |
H A D | SkQuadClipper.cpp | 54 bool reverse; in clipQuad() local 61 reverse = true; in clipQuad() 64 reverse = false; in clipQuad() 112 if (reverse) { in clipQuad()
|
H A D | SkEdgeClipper.h | 51 void appendVLine(SkScalar x, SkScalar y0, SkScalar y1, bool reverse); 52 void appendQuad(const SkPoint pts[3], bool reverse); 53 void appendCubic(const SkPoint pts[4], bool reverse);
|
/third_party/skia/src/shaders/gradients/ |
H A D | Sk4fGradientBase.cpp | 31 IntervalIterator(const SkGradientShaderBase& shader, bool reverse) in IntervalIterator() argument 33 , fFirstPos(reverse ? SK_Scalar1 : 0) in IntervalIterator() 34 , fBegin(reverse ? shader.fColorCount - 1 : 0) in IntervalIterator() 35 , fAdvance(reverse ? -1 : 1) { in IntervalIterator() 101 bool premulColors, bool reverse, in addMirrorIntervals() 103 const IntervalIterator iter(shader, reverse); in addMirrorIntervals() 142 SkScalar alpha, bool reverse) { in init() 193 const int first_index = reverse ? count - 1 : 0; in init() 195 const SkScalar first_pos = reverse ? SK_Scalar1 : 0; in init() 205 const SkScalar clamp_pos = reverse in init() 98 addMirrorIntervals(const SkGradientShaderBase& shader, const SkColor4f* colors, const Sk4f& componentScale, bool premulColors, bool reverse, Sk4fGradientIntervalBuffer::BufferType* buffer) addMirrorIntervals() argument 140 init(const SkGradientShaderBase& shader, SkColorSpace* dstCS, SkTileMode tileMode, bool premulColors, SkScalar alpha, bool reverse) init() argument [all...] |
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_graph.h | 78 EdgeIterator(Graph::Edge *first, int dir, bool reverse) in EdgeIterator() argument 79 : d(dir), rev(reverse) in EdgeIterator() 114 inline EdgeIterator outgoing(bool reverse = false) const; 115 inline EdgeIterator incident(bool reverse = false) const; 206 Graph::EdgeIterator Graph::Node::outgoing(bool reverse) const in outgoing() 208 return EdgeIterator(out, 0, reverse); in outgoing() 211 Graph::EdgeIterator Graph::Node::incident(bool reverse) const in incident() 213 return EdgeIterator(in, 1, reverse); in incident()
|
/third_party/python/Lib/test/ |
H A D | test_keywordonlyarg.py | 21 def sortnum(*nums, reverse=False): 22 return sorted(list(nums), reverse=reverse) 24 def sortwords(*words, reverse=False, **kwargs): 25 return sorted(list(words), reverse=reverse) 122 self.assertEqual([3,2,1], sortnum(1,2,3, reverse=True)) 125 self.assertEqual(['c','b','a'], sortwords('a','c','b', reverse=True)) 127 sortwords('a','c','b', reverse=True, ignore='ignore'))
|
/third_party/rust/crates/memchr/src/tests/memchr/ |
H A D | testdata.rs | 151 pub fn one<F: Fn(u8, &[u8]) -> Option<usize>>(&self, reverse: bool, f: F) { in one() 167 self.positions(align, reverse).get(0).cloned(), in one() 180 reverse: bool, in two() 190 self.positions(align, reverse).get(0).cloned(), in two() 205 reverse: bool, in three() 215 self.positions(align, reverse).get(0).cloned(), in three() 229 pub fn iter_one<'a, I, F>(&'a self, reverse: bool, f: F) in iter_one() 235 self.iter(reverse, f(ns[0], self.corpus.as_bytes())); in iter_one() 239 pub fn iter_two<'a, I, F>(&'a self, reverse: bool, f: F) in iter_two() 245 self.iter(reverse, in iter_two() [all...] |
/kernel/linux/linux-5.10/net/x25/ |
H A D | x25_facilities.c | 78 facilities->reverse = p[1] & 0x81; in x25_parse_facilities() 84 facilities->reverse = p[1] & 0x01; in x25_parse_facilities() 90 facilities->reverse = p[1] & 0x80; in x25_parse_facilities() 96 facilities->reverse in x25_parse_facilities() 205 if (facilities->reverse && (facil_mask & X25_MASK_REVERSE)) { in x25_create_facilities() 207 *p++ = facilities->reverse; in x25_create_facilities() 263 * The only real problem is with reverse charging. 282 * They want reverse charging, we won't accept it. in x25_negotiate_facilities() 284 if ((theirs.reverse & 0x01 ) && (ours->reverse in x25_negotiate_facilities() [all...] |
/kernel/linux/linux-6.6/net/x25/ |
H A D | x25_facilities.c | 78 facilities->reverse = p[1] & 0x81; in x25_parse_facilities() 84 facilities->reverse = p[1] & 0x01; in x25_parse_facilities() 90 facilities->reverse = p[1] & 0x80; in x25_parse_facilities() 96 facilities->reverse in x25_parse_facilities() 205 if (facilities->reverse && (facil_mask & X25_MASK_REVERSE)) { in x25_create_facilities() 207 *p++ = facilities->reverse; in x25_create_facilities() 263 * The only real problem is with reverse charging. 282 * They want reverse charging, we won't accept it. in x25_negotiate_facilities() 284 if ((theirs.reverse & 0x01 ) && (ours->reverse in x25_negotiate_facilities() [all...] |
/third_party/rust/crates/regex/regex-syntax/src/ |
H A D | utf8.rs | 171 /// character classes in reverse. 172 pub fn reverse(&mut self) { in reverse() functions 175 Utf8Sequence::Two(ref mut x) => x.reverse(), in reverse() 176 Utf8Sequence::Three(ref mut x) => x.reverse(), in reverse() 177 Utf8Sequence::Four(ref mut x) => x.reverse(), in reverse() 540 fn reverse() { in reverse() functions 544 s.reverse(); in reverse() 548 s.reverse(); in reverse() 552 s.reverse(); in reverse() 564 s.reverse(); in reverse() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | history.py | 33 self.fetch(reverse=False) 38 self.fetch(reverse=True) 41 def fetch(self, reverse): 59 if reverse: 69 pointer += -1 if reverse else 1
|
/kernel/linux/linux-6.6/drivers/usb/typec/mux/ |
H A D | nb7vpq904m.c | 110 bool reverse = (nb7->orientation == TYPEC_ORIENTATION_REVERSE); in nb7vpq904m_set() local 145 if (reverse ^ nb7->swap_data_lanes) { in nb7vpq904m_set() 177 regmap_write(nb7->regmap, AUX_CC_REG, reverse ? 0x1 : 0x0); in nb7vpq904m_set() 217 reverse ^ nb7->swap_data_lanes ? in nb7vpq904m_set() 236 nb7vpq904m_set_channel(nb7, NB7_CHNA, !reverse); in nb7vpq904m_set() 237 nb7vpq904m_set_channel(nb7, NB7_CHNB, !reverse); in nb7vpq904m_set() 238 nb7vpq904m_set_channel(nb7, NB7_CHNC, reverse); in nb7vpq904m_set() 239 nb7vpq904m_set_channel(nb7, NB7_CHND, reverse); in nb7vpq904m_set() 241 nb7vpq904m_set_channel(nb7, NB7_CHNA, reverse); in nb7vpq904m_set() 242 nb7vpq904m_set_channel(nb7, NB7_CHNB, reverse); in nb7vpq904m_set() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | umd-augmentation-1.js | 27 reverse(): Math2d.Point; 37 p = v.reverse(); 49 p = v.reverse();
|
H A D | umd-augmentation-2.js | 27 reverse(): Math2d.Point; 37 p = v.reverse(); 47 p = v.reverse();
|
H A D | umd-augmentation-3.js | 33 reverse(): Math2d.Point; 43 p = v.reverse(); 55 p = v.reverse();
|
H A D | umd-augmentation-4.js | 33 reverse(): Math2d.Point; 43 p = v.reverse(); 53 p = v.reverse();
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/ |
H A D | TestInverse.java | 147 /* reverse visual from RTL to LTR */ in _testInverseBidi() 200 String reverse; in _testWriteReverse() 204 reverse = Bidi.writeReverse(forward, Bidi.KEEP_BASE_COMBINING); in _testWriteReverse() 207 reverse = null; in _testWriteReverse() 211 reverse, forward, null, "KEEP_BASE_COMBINING", null); in _testWriteReverse() 214 reverse = Bidi.writeReverse(forward, Bidi.REMOVE_BIDI_CONTROLS | in _testWriteReverse() 222 reverse, forward, null, in _testWriteReverse()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
H A D | TestInverse.java | 144 /* reverse visual from RTL to LTR */ in _testInverseBidi() 197 String reverse; in _testWriteReverse() 201 reverse = Bidi.writeReverse(forward, Bidi.KEEP_BASE_COMBINING); in _testWriteReverse() 204 reverse = null; in _testWriteReverse() 208 reverse, forward, null, "KEEP_BASE_COMBINING", null); in _testWriteReverse() 211 reverse = Bidi.writeReverse(forward, Bidi.REMOVE_BIDI_CONTROLS | in _testWriteReverse() 219 reverse, forward, null, in _testWriteReverse()
|