Home
last modified time | relevance | path

Searched refs:ir (Results 1 – 21 of 21) sorted by relevance

/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/
Dmath_err.rscript54 float ir;
55 SET_FLOAT_WORD(ir, ibits);
57 ir -= 1.5f;
58 float ir2 = ir*ir;
60 (0.666666667f * ir) -
62 (0.098765432f * ir*ir2) -
64 (0.026337449f * ir*ir2*ir2) -
/frameworks/base/tools/lock_agent/
Dagent.cpp90 explicit Transformer(std::shared_ptr<ir::DexFile> dexIr) : dexIr_(dexIr) {} in Transformer()
95 std::unique_ptr<ir::Builder> builder; in transform()
174 builder_ = std::unique_ptr<ir::Builder>(new ir::Builder(dexIr_)); in prepareBuilder()
191 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall()
192 const char* methodName, ir::Type* returnType, in addCall()
193 const std::vector<ir::Type*>& types, const std::list<int>& regs) { in addCall()
206 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall()
207 const char* methodName, ir::Type* returnType, ir::Type* paramType, in addCall()
218 std::shared_ptr<ir::DexFile> dexIr_;
219 std::unique_ptr<ir::Builder> builder_;
[all …]
/frameworks/base/startop/view_compiler/
Ddex_builder.cc189 DexBuilder::DexBuilder() : dex_file_{std::make_shared<ir::DexFile>()} { in DexBuilder()
200 ir::String* DexBuilder::GetOrAddString(const std::string& string) { in GetOrAddString()
201 ir::String*& entry = strings_[string]; in GetOrAddString()
214 entry = Alloc<ir::String>(); in GetOrAddString()
226 auto* class_def = Alloc<ir::Class>(); in MakeClass()
227 ir::Type* type_def = GetOrAddType(DotToDescriptor(name.c_str())); in MakeClass()
236 ir::Type* DexBuilder::GetOrAddType(const std::string& descriptor) { in GetOrAddType()
241 ir::Type* type = Alloc<ir::Type>(); in GetOrAddType()
249 ir::FieldDecl* DexBuilder::GetOrAddField(TypeDescriptor parent, const std::string& name, in GetOrAddField()
256 ir::FieldDecl* field = Alloc<ir::FieldDecl>(); in GetOrAddField()
[all …]
Ddex_builder.h95 ir::Proto* Encode(DexBuilder* dex) const;
327 ir::MethodDecl* decl;
333 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
336 ir::EncodedMethod* Encode();
477 ir::Class* class_;
478 ir::MethodDecl* decl_;
519 ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def);
530 ir::Class* const class_;
548 ir::String* GetOrAddString(const std::string& string);
555 ir::Type* GetOrAddType(const std::string& descriptor);
[all …]
Ddex_testcase_generator.cc278 const ir::Type* type_def = dex_file.GetOrAddType(string_type.descriptor()); in GenerateSimpleTestCases()
292 const ir::FieldDecl* field = in GenerateSimpleTestCases()
305 const ir::FieldDecl* field = in GenerateSimpleTestCases()
319 const ir::FieldDecl* field = in GenerateSimpleTestCases()
332 const ir::FieldDecl* field = in GenerateSimpleTestCases()
Ddex_layout_compiler.cc167 const ir::Type* view_group_def = method_->dex_file()->GetOrAddType(kViewGroup.descriptor()); in StartView()
/frameworks/base/core/jni/android/graphics/
DRegion.cpp93 SkIRect ir; in Region_op0() local
95 ir.set(left, top, right, bottom); in Region_op0()
96 bool result = dst->op(ir, (SkRegion::Op)op); in Region_op0()
103 SkIRect ir; in Region_op1() local
104 GraphicsJNI::jrect_to_irect(env, rectObject, &ir); in Region_op1()
105 bool result = dst->op(ir, *region, (SkRegion::Op)op); in Region_op1()
145 SkIRect ir; in Region_quickRejectIIII() local
146 ir.set(left, top, right, bottom); in Region_quickRejectIIII()
147 bool result = GetSkRegion(env, region)->quickReject(ir); in Region_quickRejectIIII()
DGraphics.cpp219 SkIRect* GraphicsJNI::jrect_to_irect(JNIEnv* env, jobject obj, SkIRect* ir) in jrect_to_irect() argument
223 ir->set(env->GetIntField(obj, gRect_leftFieldID), in jrect_to_irect()
227 return ir; in jrect_to_irect()
230 void GraphicsJNI::irect_to_jrect(const SkIRect& ir, JNIEnv* env, jobject obj) in irect_to_jrect() argument
234 env->SetIntField(obj, gRect_leftFieldID, ir.fLeft); in irect_to_jrect()
235 env->SetIntField(obj, gRect_topFieldID, ir.fTop); in irect_to_jrect()
236 env->SetIntField(obj, gRect_rightFieldID, ir.fRight); in irect_to_jrect()
237 env->SetIntField(obj, gRect_bottomFieldID, ir.fBottom); in irect_to_jrect()
281 void GraphicsJNI::ipoint_to_jpoint(const SkIPoint& ir, JNIEnv* env, jobject obj) in ipoint_to_jpoint() argument
285 env->SetIntField(obj, gPoint_xFieldID, ir.fX); in ipoint_to_jpoint()
[all …]
DPaint.cpp359 SkIRect ir; in doTextBounds() local
373 r.roundOut(&ir); in doTextBounds()
374 GraphicsJNI::irect_to_jrect(ir, env, bounds); in doTextBounds()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java147 private CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, in CatService() argument
149 if (ci == null || ca == null || ir == null || context == null || fh == null in CatService()
176 mIccRecords = ir; in CatService()
207 IccRecords ir = null; in getInstance() local
215 ir = ca.getIccRecords(); in getInstance()
228 if (ci == null || ca == null || ir == null || context == null || fh == null in getInstance()
233 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, uiccProfile, slotId); in getInstance()
234 } else if ((ir != null) && (mIccRecords != ir)) { in getInstance()
239 mIccRecords = ir; in getInstance()
1123 IccRecords ir = null; in update() local
[all …]
/frameworks/base/core/jni/android/graphics/text/
DMeasuredText.cpp129 SkIRect ir; in nGetBounds() local
130 r.roundOut(&ir); in nGetBounds()
131 GraphicsJNI::irect_to_jrect(ir, env, bounds); in nGetBounds()
/frameworks/base/services/core/jni/
Dcom_android_server_ConsumerIrService.cpp29 using ::android::hardware::ir::V1_0::IConsumerIr;
30 using ::android::hardware::ir::V1_0::ConsumerIrFreqRange;
DAndroid.bp122 "android.hardware.ir@1.0",
/frameworks/compile/libbcc/lib/
DRSAddDebugInfoPass.cpp202 llvm::IRBuilder<> ir(&*Func.getEntryBlock().begin()); in attachDebugInfo() local
223 ir.CreateAlloca(arg.getType(), nullptr, arg.getName() + ".var"); in attachDebugInfo()
224 llvm::StoreInst *argStore = ir.CreateStore(&arg, argVar); in attachDebugInfo()
225 llvm::LoadInst *loadedVar = ir.CreateLoad(argVar, arg.getName() + ".l"); in attachDebugInfo()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java644 IccRecords ir = app.getIccRecords(); in registerAllAppEvents() local
645 if (ir != null) { in registerAllAppEvents()
647 ir.registerForRecordsLoaded(mHandler, EVENT_RECORDS_LOADED, null); in registerAllAppEvents()
648 ir.registerForRecordsEvents(mHandler, EVENT_ICC_RECORD_EVENTS, null); in registerAllAppEvents()
658 IccRecords ir = app.getIccRecords(); in unregisterAllAppEvents() local
659 if (ir != null) { in unregisterAllAppEvents()
660 ir.unregisterForRecordsLoaded(mHandler); in unregisterAllAppEvents()
661 ir.unregisterForRecordsEvents(mHandler); in unregisterAllAppEvents()
1154 IccRecords ir = app.getIccRecords(); in areAllRecordsLoaded() local
1155 if (ir == null || !ir.isLoaded()) { in areAllRecordsLoaded()
[all …]
/frameworks/base/media/java/android/media/
DImageReader.java740 final ImageReader ir = weakSelf.get(); in postEventFromNative() local
741 if (ir == null) { in postEventFromNative()
746 synchronized (ir.mListenerLock) { in postEventFromNative()
747 handler = ir.mListenerHandler; in postEventFromNative()
/frameworks/base/core/tests/coretests/src/android/os/
DAidlTest.java322 int[] ir = mRemote.intArray(i0, i1, i2); in testArrays() local
324 assertEquals(1, ir.length); in testArrays()
325 assertEquals(34, ir[0]); in testArrays()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp165 SkIRect ir; in getClipBounds() local
171 r.round(&ir); in getClipBounds()
173 (void)GraphicsJNI::irect_to_jrect(ir, env, bounds); in getClipBounds()
/frameworks/rs/driver/runtime/
Drs_cl.c1350 float ir; in native_log2() local
1351 SET_FLOAT_WORD(ir, ibits); in native_log2()
1352 ir -= 1.5f; in native_log2()
1353 float ir2 = ir*ir; in native_log2()
1355 ((0.666666667f / 0.693147181f) * ir) - in native_log2()
1357 ((0.098765432f / 0.693147181f) * ir*ir2) - in native_log2()
1359 ((0.026337449f / 0.693147181f) * ir*ir2*ir2) - in native_log2()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password137 �+Dg�sE�Q%�6g���E��fcU�;e�f�+��c�k��/���ir]���B�˃NX�cqa��:a�ސ��kl��b�Mc,.�Vh��Q��n�R��7��…
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java15449 int ir = 0; in broadcastIntentLocked() local
15491 while (it < NT && ir < NR) { in broadcastIntentLocked()
15496 curr = registeredReceivers.get(ir); in broadcastIntentLocked()
15501 ir++; in broadcastIntentLocked()
15512 while (ir < NR) { in broadcastIntentLocked()
15516 receivers.add(registeredReceivers.get(ir)); in broadcastIntentLocked()
15517 ir++; in broadcastIntentLocked()