/external/chromium_org/v8/src/ |
property-details-inl.h | 2 // Use of this source code is governed by a BSD-style license that can be 18 if (type->Is(Type::None())) return Representation::None(); 19 if (type->Is(Type::SignedSmall())) return Representation::Smi(); 20 if (type->Is(Type::Signed32())) return Representation::Integer32(); 21 if (type->Is(Type::Number())) return Representation::Double();
|
char-predicates.h | 2 // Use of this source code is governed by a BSD-style license that can be 26 static inline bool Is(uc32 c) { 29 default: return unibrow::Letter::Is(c); 36 static inline bool Is(uc32 c) { 37 return IdentifierStart::Is(c) 38 || unibrow::Number::Is(c) 39 || c == 0x200C // U+200C is Zero-Width Non-Joiner. 40 || c == 0x200D // U+200D is Zero-Width Joiner. 41 || unibrow::CombiningMark::Is(c) 42 || unibrow::ConnectorPunctuation::Is(c) [all...] |
hydrogen-types.cc | 2 // Use of this source code is governed by a BSD-style license that can be 17 if (T::Any()->Is(type)) return HType::Any(); 18 if (type->Is(T::None())) return HType::None(); 19 if (type->Is(T::SignedSmall())) return HType::Smi(); 20 if (type->Is(T::Number())) return HType::TaggedNumber(); 21 if (type->Is(T::Null())) return HType::Null(); 22 if (type->Is(T::String())) return HType::String(); 23 if (type->Is(T::Boolean())) return HType::Boolean(); 24 if (type->Is(T::Undefined())) return HType::Undefined(); 25 if (type->Is(T::Array())) return HType::JSArray() [all...] |
unicode.h | 2 // Use of this source code is governed by a BSD-style license that can be 100 // of UTF-8 data. The special case where the unit is a surrogate 101 // trail produces 1 byte net, because the encoding of the pair is 105 // One UTF-16 surrogate is endoded (illegally) as 3 UTF-8 bytes. 146 // A single surrogate is coded as a 3 byte UTF-8 sequence, but two together 198 static bool Is(uchar c); 201 static bool Is(uchar c); 204 static bool Is(uchar c); 207 static bool Is(uchar c); 210 static bool Is(uchar c) [all...] |
types.cc | 2 // Use of this source code is governed by a BSD-style license that can be 14 // NOTE: If code is marked as being a "shortcut", this means that removing 79 DCHECK(this->Is(Number())); 97 DCHECK(this->Is(Number())); 235 // When compiling stub templates, the meta map is used as a place holder 236 // for the actual map with which the template is later instantiated. 237 // We treat it as a kind of type variable whose upper bound is Any. 357 DCHECK(Is(bits, kNumber)); 361 if (Is(SEMANTIC(mins[i].bits), bits)) { 373 DCHECK(Is(bits, kNumber)) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkRecordOpts.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 48 typedef Pattern3<Is<Save>, 49 Star<Or<Is<NoOp>, IsDraw> >, 50 Is<Restore> > 63 typedef Pattern3<Is<Save>, 64 Star<Not<Or4<Is<Save>, 65 Is<SaveLayer>, 66 Is<Restore>, 68 Is<Restore> > 90 typedef Pattern3<Is<SaveLayer>, IsDraw, Is<Restore> > Pattern [all...] |
SkRecordPattern.h | 13 class Is { 15 Is() : fPtr(NULL) {} 63 // Abstracts away whether the paint is always part of the command or optional. 92 // Star is a special matcher that greedily matches Matcher 0 or more times. Stores nothing. 102 // This is the main entry point to pattern matching, and so provides a couple of extra API bits: 118 // If there is no such span, return false. If there is, return true and set [*begin, *end). 131 // T is checked statically at compile time; no casting is involved. It's just an API wart. 148 // If head is a Star, walk i until it doesn't match [all...] |
/external/chromium_org/v8/test/cctest/compiler/ |
test-js-constant-cache.cc | 2 // Use of this source code is governed by a BSD-style license that can be 68 CHECK(t->Is(Type::Number())); 69 CHECK(t->Is(Type::Integral32())); 70 CHECK(t->Is(Type::Signed32())); 71 CHECK(t->Is(Type::Unsigned32())); 72 CHECK(t->Is(Type::SignedSmall())); 73 CHECK(t->Is(Type::UnsignedSmall())); 89 CHECK(t->Is(Type::Number())); 90 CHECK(t->Is(Type::MinusZero())); 91 CHECK(!t->Is(Type::Integral32())) [all...] |
/art/compiler/utils/arm64/ |
managed_register_arm64_test.cc | 11 * distributed under the License is distributed on an "AS IS" BASIS, 614 EXPECT_TRUE(vixl::x0.Is(Arm64Assembler::reg_x(X0))); 615 EXPECT_TRUE(vixl::x1.Is(Arm64Assembler::reg_x(X1))); 616 EXPECT_TRUE(vixl::x2.Is(Arm64Assembler::reg_x(X2))); 617 EXPECT_TRUE(vixl::x3.Is(Arm64Assembler::reg_x(X3))); 618 EXPECT_TRUE(vixl::x4.Is(Arm64Assembler::reg_x(X4))); 619 EXPECT_TRUE(vixl::x5.Is(Arm64Assembler::reg_x(X5))); 620 EXPECT_TRUE(vixl::x6.Is(Arm64Assembler::reg_x(X6))); 621 EXPECT_TRUE(vixl::x7.Is(Arm64Assembler::reg_x(X7))) [all...] |
/external/hamcrest/src/org/hamcrest/core/ |
Is.java | 15 * vs assertThat(cheese, is(equalTo(smelly))) 17 public class Is<T> extends BaseMatcher<T> { 21 public Is(Matcher<T> matcher) { 30 description.appendText("is ").appendDescriptionOf(matcher); 38 * vs assertThat(cheese, is(equalTo(smelly))) 41 public static <T> Matcher<T> is(Matcher<T> matcher) { method in class:Is 42 return new Is<T>(matcher); 46 * This is a shortcut to the frequently used is(equalTo(x)). 48 * eg. assertThat(cheese, is(equalTo(smelly)) 52 public static <T> Matcher<T> is(T value) { method in class:Is 63 public static Matcher<Object> is(Class<?> type) { method in class:Is [all...] |
/external/chromium_org/v8/src/compiler/ |
machine-operator-reducer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 51 if (m.right().Is(0)) return Replace(m.right().node()); // x & 0 => 0 52 if (m.right().Is(-1)) return Replace(m.left().node()); // x & -1 => x 61 if (m.right().Is(0)) return Replace(m.left().node()); // x | 0 => x 62 if (m.right().Is(-1)) return Replace(m.right().node()); // x | -1 => -1 74 if (mrightright.left().Is(32) && 84 mright.right().Is(32 - mleft.right().Value())) { 99 if (mleftright.left().Is(32) && 109 mleft.right().Is(32 - mright.right().Value())) { 121 if (m.right().Is(0)) return Replace(m.left().node()); // x ^ 0 => [all...] |
simplified-operator-reducer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 22 if (m.Is(Unique<HeapObject>::CreateImmovable(factory()->false_value()))) { 25 if (m.Is(Unique<HeapObject>::CreateImmovable(factory()->true_value()))) { 33 if (m.Is(0)) return Replace(jsgraph()->FalseConstant()); 34 if (m.Is(1)) return Replace(jsgraph()->TrueConstant()); 40 if (m.Is(Unique<HeapObject>::CreateImmovable(factory()->false_value()))) { 43 if (m.Is(Unique<HeapObject>::CreateImmovable(factory()->true_value()))) {
|
js-typed-lowering.cc | 2 // Use of this source code is governed by a BSD-style license that can be 112 bool OneInputIs(Type* t) { return left_type_->Is(t) || right_type_->Is(t); } 115 return left_type_->Is(t) && right_type_->Is(t); 201 // Otherwise, {node} has multiple uses. Leave it as is and let the 210 if (input_type->Is(type)) return node; // already in the value range. 237 // TODO(turbofan): Lowering of StringAdd is disabled for now because: 240 // c) Our current StringAddStub is actually non-pure and requires context. 257 // If at least one input is a primitive, then insert appropriate conversion [all...] |
typer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 131 // TODO(rossberg): change once IsTyped is available. 133 if (OperandType(node, i).upper->Is(Type::None())) { 180 DCHECK(previous.lower->Is(bounds.lower)); 181 DCHECK(previous.upper->Is(bounds.upper)); 246 // TODO(titzer): only call Type::Of() if the type is not already known. 252 // TODO(titzer): only call Type::Of() if the type is not already known. 259 // TODO(titzer): only call Type::Of() if the type is not already known. 265 // TODO(titzer): only call Type::Of() if the type is not already known. 271 // TODO(titzer): only call Type::Of() if the type is not already known [all...] |
js-builtin-reducer-unittest.cc | 2 // Use of this source code is governed by a BSD-style license that can be 128 if (t0->Is(Type::Integral32()) && t1->Is(Type::Integral32())) { 164 if (t0->Is(Type::Integral32()) && t1->Is(Type::Integral32())) {
|
js-builtin-reducer.cc | 2 // Use of this source code is governed by a BSD-style license that can be 33 // Determines whether the node is a JSCallFunction operation that targets a 57 NodeProperties::GetBounds(GetJSCallInput(0)).upper->Is(t1); 63 NodeProperties::GetBounds(GetJSCallInput(0)).upper->Is(t1) && 64 NodeProperties::GetBounds(GetJSCallInput(1)).upper->Is(t2); 70 if (!NodeProperties::GetBounds(GetJSCallInput(i)).upper->Is(t)) {
|
representation-change.h | 2 // Use of this source code is governed by a BSD-style license that can be 49 // no representation change is necessary. 313 if (type->Is(Type::None())) 315 if (type->Is(Type::Signed32())) return kTypeInt32; 316 if (type->Is(Type::Unsigned32())) return kTypeUint32; 317 if (type->Is(Type::Number())) return kTypeNumber; 318 if (type->Is(Type::Boolean())) return kTypeBool; 330 bool type_error_; // Set when a type error is detected.
|
/external/chromium_org/third_party/skia/tests/ |
RecordPatternTest.cpp | 9 typedef Pattern3<Is<Save>, 10 Is<ClipRect>, 11 Is<Restore> > 74 Pattern3<Is<Save>, Star<Is<ClipRect> >, Is<Restore> > pattern; 96 Pattern3<Is<Save>, IsDraw, Is<Restore> > pattern; 131 Pattern3<Is<Save>, 132 Star<Not<Or3<Is<Save> [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info-template.cpp | 39 // CHECK: [[TCARG8]] = {{.*}}metadata !"Is", null, metadata [[TCARG8_VALS:![0-9]*]], {{.*}} ; [ DW_TAG_GNU_template_parameter_pack ] 73 // CHECK: [[TCNARG8]] = {{.*}}metadata !"Is", null, metadata [[EMPTY]], {{.*}} ; [ DW_TAG_GNU_template_parameter_pack ] 89 template<typename T, T, int *x, int foo::*a, void (foo::*b)(), void (*f)(), template<typename> class tmpl, int ...Is>
|
/external/llvm/include/llvm/MC/ |
MachineLocation.h | 5 // This file is distributed under the University of Illinois Open Source 9 // The MachineLocation class is used to represent a simple location in a machine 27 bool IsRegister; // True if location is a register. 32 // The target register number for an abstract frame pointer. The value is 51 /// \return true iff this is a register-indirect location. 56 void setIsRegister(bool Is) { IsRegister = Is; }
|
/external/clang/tools/clang-format/ |
clang-format.py | 1 # This file is a minimal clang-format vim-integration. To install: 2 # - Change 'binary' if clang-format is not on the path (see below). 14 # VISUAL mode. The line or region is extended to the next bigger syntactic 26 # Change this to the full path if clang-format is not on the path. 46 print 'Couldn\'t determine cursor position. Is your file empty?' 78 if op[0] is not 'equal':
|
/external/chromium_org/v8/test/cctest/ |
test-types.cc | 2 // Use of this source code is governed by a BSD-style license that can be 373 CHECK(type1->Is(type2)); 374 CHECK(!type2->Is(type1)); 381 CHECK(!type1->Is(type2)); 382 CHECK(!type2->Is(type1)); 394 CHECK(!type1->Is(type2)); 395 CHECK(!type2->Is(type1)); 417 // Union(T1, T2) is bitset for bitsets T1,T2 428 // Intersect(T1, T2) is bitset for bitsets T1,T2 439 // Union(T1, T2) is bitset if T2 is bitset and T1->Is(T2 [all...] |
/external/chromium_org/v8/src/ic/ |
ic-inl.h | 2 // Use of this source code is governed by a BSD-style license that can be 28 // At least one break point is active perform additional test to ensure that 32 // If the call site is a call to debug break then return the address in 40 // Return the address in the original code. This is the place where 61 // At least one break point is active perform additional test to ensure that 66 // If the call site is a call to debug break then we want to return the 89 // is safe for use during GC where the map might be marked. 163 if (type->Is(TypeClass::Boolean())) { 165 } else if (type->Is(TypeClass::Number())) { 167 } else if (type->Is(TypeClass::String())) [all...] |
/external/llvm/unittests/ADT/ |
PointerUnionTest.cpp | 5 // This file is distributed under the University of Illinois Open Source 57 TEST_F(PointerUnionTest, Is) { 58 EXPECT_FALSE(a.is<int *>()); 59 EXPECT_TRUE(a.is<float *>()); 60 EXPECT_TRUE(b.is<int *>()); 61 EXPECT_FALSE(b.is<float *>()); 62 EXPECT_TRUE(n.is<int *>()); 63 EXPECT_FALSE(n.is<float *>());
|
/external/chromium_org/third_party/leveldatabase/src/util/ |
testharness.h | 2 // Use of this source code is governed by a BSD-style license that can be 19 // environment variable "LEVELDB_TESTS" is not set, runs all tests. 40 // An instance of Tester is allocated to hold temporary state during 61 Tester& Is(bool b, const char* msg) { 105 #define ASSERT_TRUE(c) ::leveldb::test::Tester(__FILE__, __LINE__).Is((c), #c)
|