/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
JavaExpression.java | 33 * Simple type enumeration to allow us to compare the return types of expressions easily and cast 39 protected JavaExpression cast(JavaExpression expression) { method 41 expression = expression.cast(DATA); 48 protected JavaExpression cast(JavaExpression expression) { method 50 expression = expression.cast(DATA); 57 protected JavaExpression cast(JavaExpression expression) { method 59 expression = expression.cast(DATA); 66 protected JavaExpression cast(JavaExpression expression) { method 76 protected JavaExpression cast(JavaExpression expression) { method 80 throw new JSilverCompilationException("Cannot cast to 'Data' for expression:\n 88 protected JavaExpression cast(JavaExpression expression) { method 100 protected JavaExpression cast(JavaExpression expression) { method 108 protected JavaExpression cast(JavaExpression expression) { method 118 protected JavaExpression cast(final JavaExpression expression) { method [all...] |
ExpressionTranslator.java | 84 return translateUntyped(csExpression).cast(Type.STRING); 91 return translateUntyped(csExpression).cast(Type.BOOLEAN); 98 return translateUntyped(csExpression).cast(Type.INT); 105 return translateUntyped(csExpression).cast(Type.DATA); 112 return translateUntyped(csExpression).cast(Type.VAR_NAME); 119 return translateUntyped(csExpression).cast(Type.VALUE); 197 setResult(cast(Type.INT, node.getExpression())); method 226 JavaExpression left = cast(Type.STRING, node.getLeft()); 227 JavaExpression right = cast(Type.STRING, node.getRight()); 238 JavaExpression left = cast(Type.STRING, node.getLeft()) 367 private JavaExpression cast(Type type, PExpression node) { method in class:ExpressionTranslator [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
X86GOTPLT.cpp | 42 llvm::cast<X86_32GOTEntry> 55 llvm::cast<X86_32GOTEntry>(*it).setValue(plt_addr + 6); 81 llvm::cast<X86_64GOTEntry> 94 llvm::cast<X86_64GOTEntry>(*it).setValue(plt_addr + 6);
|
/external/chromium_org/base/numerics/ |
safe_math.h | 91 return CheckedNumeric<T>::cast(*this).ValueUnsafe(); 163 // These static methods behave like a convenience cast operator targeting 167 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric 175 static CheckedNumeric<T> cast( function in class:base::internal::CheckedNumeric 181 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:base::internal::CheckedNumeric 219 *this = CheckedNumeric<T>::cast(*this) OP CheckedNumeric<Src>::cast(rhs); \ 231 return CheckedNumeric<Promotion>::cast(lhs) \ 232 OP CheckedNumeric<Promotion>::cast(rhs); \ 242 return CheckedNumeric<Promotion>::cast(lhs) [all...] |
/external/chromium_org/v8/src/base/ |
safe_math.h | 95 return CheckedNumeric<T>::cast(*this).ValueUnsafe(); 167 // These static methods behave like a convenience cast operator targeting 171 static CheckedNumeric<T> cast( function in class:v8::base::internal::CheckedNumeric 179 static CheckedNumeric<T> cast( function in class:v8::base::internal::CheckedNumeric 185 static const CheckedNumeric<T>& cast(const CheckedNumeric<T>& u) { return u; } function in class:v8::base::internal::CheckedNumeric 223 *this = CheckedNumeric<T>::cast(*this) OP CheckedNumeric<Src>::cast(rhs); \ 235 return CheckedNumeric<Promotion>::cast(lhs) \ 236 OP CheckedNumeric<Promotion>::cast(rhs); \ 246 return CheckedNumeric<Promotion>::cast(lhs) [all...] |
/external/clang/lib/AST/ |
DeclFriend.cpp | 43 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind())); 52 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD); 65 return First ? cast<FriendDecl>(First) : nullptr;
|
ParentMap.cpp | 35 PseudoObjectExpr *POE = cast<PseudoObjectExpr>(S); 55 BinaryConditionalOperator *BCO = cast<BinaryConditionalOperator>(S); 77 OpaqueValueExpr *OVE = cast<OpaqueValueExpr>(S); 143 } while (S && isa<Expr>(S) && cast<Expr>(S)->IgnoreParenImpCasts() != S); 177 BinaryOperator *BE = cast<BinaryOperator>(P); 183 return DirectChild == cast<ForStmt>(P)->getCond(); 185 return DirectChild == cast<WhileStmt>(P)->getCond(); 187 return DirectChild == cast<DoStmt>(P)->getCond(); 189 return DirectChild == cast<IfStmt>(P)->getCond(); 191 return DirectChild == cast<IndirectGotoStmt>(P)->getTarget() [all...] |
/external/mockito/src/org/mockito/internal/creation/ |
CglibMockMaker.java | 22 InternalMockHandler mockitoHandler = cast(handler); 28 private InternalMockHandler cast(MockHandler handler) { method in class:CglibMockMaker 37 ((Factory) mock).setCallback(0, new MethodInterceptorFilter(cast(newHandler), settings));
|
/external/guava/guava/src/com/google/common/collect/ |
ImmutableClassToInstanceMap.java | 84 mapBuilder.put(type, cast(type, value)); 89 private static <B, T extends B> T cast(Class<T> type, B value) { method in class:ImmutableClassToInstanceMap.Builder 90 return Primitives.wrap(type).cast(value); 121 // Eclipse won't compile if we cast to the parameterized type. 122 ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap) map; local 123 return cast;
|
/external/llvm/lib/Transforms/Utils/ |
ModuleUtils.cpp | 35 ArrayType *ATy = cast<ArrayType>(GVCtor->getType()->getElementType()); 36 EltTy = cast<StructType>(ATy->getElementType()); 41 CurrentCtors.push_back(cast<Constant>(Init->getOperand(i))); 88 const ConstantArray *Init = cast<ConstantArray>(GV->getInitializer()); 91 GlobalValue *G = cast<GlobalValue>(Op->stripPointerCastsNoFollowAliases());
|
LowerSwitch.cpp | 83 const ConstantInt* CI1 = cast<const ConstantInt>(C1.Low); 84 const ConstantInt* CI2 = cast<const ConstantInt>(C2.High); 165 << cast<ConstantInt>(Pivot.Low)->getValue() 166 << " -" << cast<ConstantInt>(Pivot.High)->getValue() << "\n"); 172 ConstantInt *NewLowerBound = cast<ConstantInt>(Pivot.Low); 185 NewUpperBound = cast<ConstantInt>(LastLHS->High); 190 dbgs() << cast<ConstantInt>(LowerBound)->getSExtValue(); 198 dbgs() << cast<ConstantInt>(UpperBound)->getSExtValue() << "\n"; 245 if (cast<ConstantInt>(Leaf.Low)->isMinValue(true /*isSigned*/)) { 249 } else if (cast<ConstantInt>(Leaf.Low)->isZero()) [all...] |
CloneModule.cpp | 61 Function::Create(cast<FunctionType>(I->getType()->getElementType()), 70 auto *PTy = cast<PointerType>(I->getType()); 84 GlobalVariable *GV = cast<GlobalVariable>(VMap[I]); 92 Function *F = cast<Function>(VMap[I]); 109 GlobalAlias *GA = cast<GlobalAlias>(VMap[I]); 111 GA->setAliasee(cast<GlobalObject>(MapValue(C, VMap)));
|
CtorUtils.cpp | 35 cast<StructType>(GCL->getType()->getElementType()->getArrayElementType()); 88 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); 92 ConstantStruct *CS = cast<ConstantStruct>(*i); 112 ConstantArray *CA = cast<ConstantArray>(GV->getInitializer()); 117 ConstantStruct *CS = cast<ConstantStruct>(*i); 126 ConstantInt *CI = cast<ConstantInt>(CS->getOperand(0));
|
/external/chromium_org/media/cast/logging/ |
log_deserializer.cc | 5 #include "media/cast/logging/log_deserializer.h" 14 using media::cast::FrameEventMap; 15 using media::cast::PacketEventMap; 16 using media::cast::RtpTimestamp; 17 using media::cast::proto::AggregatedFrameEvent; 18 using media::cast::proto::AggregatedPacketEvent; 19 using media::cast::proto::BasePacketEvent; 20 using media::cast::proto::LogMetadata; 27 // Keep in sync with media/cast/logging/log_serializer.cc. 70 media::cast::DeserializedLog* log) 222 namespace cast { namespace in namespace:media [all...] |
/external/clang/test/SemaCXX/ |
warn-memsize-comparison.cpp | 22 expected-note {{explicitly cast the argument}} 28 expected-note {{explicitly cast the argument}} 34 expected-note {{explicitly cast the argument}} 40 expected-note {{explicitly cast the argument}} 46 expected-note {{explicitly cast the argument}} 52 expected-note {{explicitly cast the argument}} 58 expected-note {{explicitly cast the argument}} 64 expected-note {{explicitly cast the argument}} 70 expected-note {{explicitly cast the argument}} 76 expected-note {{explicitly cast the argument} [all...] |
/external/chromium_org/third_party/mach_override/libudis86/ |
syn-intel.c | 34 * opr_cast() - Prints an operand cast. 166 int cast = 0; local 174 cast = 1; 185 cast = 1; 191 gen_operand(u, &u->operand[0], cast); 195 int cast = 0; local 200 cast = 1; 202 gen_operand(u, &u->operand[1], cast);
|
/external/chromium_org/v8/src/ |
scopeinfo.h | 118 static ModuleInfo* cast(Object* description) { function in class:v8::internal::ModuleInfo 119 return static_cast<ModuleInfo*>(FixedArray::cast(description)); 126 int host_index() { return Smi::cast(get(HOST_OFFSET))->value(); } 134 String* name(int i) { return String::cast(get(name_offset(i))); } 136 return static_cast<VariableMode>(Smi::cast(get(mode_offset(i)))->value()); 138 int index(int i) { return Smi::cast(get(index_offset(i)))->value(); } 157 return Handle<ModuleInfo>::cast(
|
string-stream.cc | 164 if (String::cast(o)->length() <= String::kMaxShortPrintLength) { 171 HeapObject* ho = HeapObject::cast(o); 182 debug_object_cache->Add(HeapObject::cast(o)); 312 String* str = String::cast(name); 341 len = String::cast(key)->length(); 346 Put(String::cast(key)); 409 Add(" value(): %o\n", JSValue::cast(printee)->value()); 411 PrintUsingMap(JSObject::cast(printee)); 413 JSArray* array = JSArray::cast(printee); 415 unsigned int limit = FixedArray::cast(array->elements())->length() [all...] |
objects-printer.cc | 24 Smi::cast(this)->SmiPrint(out); 26 HeapObject::cast(this)->HeapObjectPrint(out); 53 String::cast(this)->StringPrint(out); 59 Symbol::cast(this)->SymbolPrint(out); 62 Map::cast(this)->MapPrint(out); 65 HeapNumber::cast(this)->HeapNumberPrint(out); 68 FixedDoubleArray::cast(this)->FixedDoubleArrayPrint(out); 71 ConstantPoolArray::cast(this)->ConstantPoolArrayPrint(out); 74 FixedArray::cast(this)->FixedArrayPrint(out); 77 ByteArray::cast(this)->ByteArrayPrint(out) [all...] |
builtins.cc | 79 // Make sure cast to JSFunction succeeds. 241 FixedArrayBase::cast(HeapObject::FromAddress(new_start)); 262 array_proto = JSObject::cast(proto); 277 Handle<JSArray> array = Handle<JSArray>::cast(receiver); 337 JSObject::cast(native_context->array_function()->prototype()); 353 Handle<JSFunction> function = Handle<JSFunction>::cast(js_builtin); 381 Handle<JSArray> array = Handle<JSArray>::cast(receiver); 382 int len = Smi::cast(array->length())->value(); 392 Handle<FixedArray> elms = Handle<FixedArray>::cast(elms_obj); 447 // safely cast to FixedDoubleArray [all...] |
/external/llvm/utils/TableGen/ |
DAGISelMatcherEmitter.cpp | 144 const ScopeMatcher *SM = cast<ScopeMatcher>(N); 209 << cast<RecordMatcher>(N)->getResultNo() << " = " 210 << cast<RecordMatcher>(N)->getWhatFor(); 215 OS << "OPC_RecordChild" << cast<RecordChildMatcher>(N)->getChildNo() 219 << cast<RecordChildMatcher>(N)->getResultNo() << " = " 220 << cast<RecordChildMatcher>(N)->getWhatFor(); 233 OS << "OPC_MoveChild, " << cast<MoveChildMatcher>(N)->getChildNo() << ",\n"; 242 << cast<CheckSameMatcher>(N)->getMatchNumber() << ",\n"; 247 << cast<CheckChildSameMatcher>(N)->getChildNo() << "Same, " 248 << cast<CheckChildSameMatcher>(N)->getMatchNumber() << ",\n" [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ |
swigrun.swg | 117 allows to return the 'cast rank', for example, if you have this 124 food(1) // cast rank '1' (1 -> 1.0) 125 fooi(1) // cast rank '0' 135 /* The CastRankLimit says how many bits are used for the cast rank */ 154 /* Cast-Rank Mode */ 159 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */ 170 #else /* no cast-rank mode */ 189 swig_dycast_func dcast; /* dynamic cast function down a hierarchy */ 190 struct swig_cast_info *cast; /* linked list of types that can cast into this type * [all...] |
/external/llvm/bindings/python/llvm/ |
disassembler.py | 20 from ctypes import cast namespace 101 buf = cast(c_char_p(source), POINTER(c_ubyte)) 102 out_str = cast((c_byte * 255)(), c_char_p) 123 out_str = cast((c_byte * 255)(), c_char_p) 126 buf = cast(source_bytes, POINTER(c_ubyte * len(source))).contents 131 b = cast(addressof(buf) + offset, POINTER(c_ubyte))
|
/frameworks/compile/mclinker/lib/Script/ |
UnaryOp.cpp | 77 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 80 sect = llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); 99 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 102 sect = llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); 176 sect = pModule.getSection(llvm::cast<SectOperand>(m_pOperand)->name()); 179 sect = llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection();
|
/external/chromium_org/chrome/browser/extensions/api/cast_streaming/ |
cast_streaming_apitest.cc | 20 #include "media/cast/cast_config.h" 21 #include "media/cast/cast_environment.h" 22 #include "media/cast/test/utility/audio_utility.h" 23 #include "media/cast/test/utility/default_config.h" 24 #include "media/cast/test/utility/in_process_receiver.h" 25 #include "media/cast/test/utility/standalone_cast_environment.h" 44 // Test running the test extension for Cast Mirroring API. 70 // An in-process Cast receiver that examines the audio/video frames being 73 class TestPatternReceiver : public media::cast::InProcessReceiver { 76 const scoped_refptr<media::cast::CastEnvironment>& cast_environment [all...] |