Home
last modified time | relevance | path

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

/frameworks/rs/tests/java_api/MathErr/src/com/example/android/rs/matherr/
Dmath_err.rs54 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/startop/view_compiler/
Ddex_builder.cc172 DexBuilder::DexBuilder() : dex_file_{std::make_shared<ir::DexFile>()} { in DexBuilder()
183 ir::String* DexBuilder::GetOrAddString(const std::string& string) { in GetOrAddString()
184 ir::String*& entry = strings_[string]; in GetOrAddString()
197 entry = Alloc<ir::String>(); in GetOrAddString()
209 auto* class_def = Alloc<ir::Class>(); in MakeClass()
210 ir::Type* type_def = GetOrAddType(art::DotToDescriptor(name.c_str())); in MakeClass()
219 ir::Type* DexBuilder::GetOrAddType(const std::string& descriptor) { in GetOrAddType()
224 ir::Type* type = Alloc<ir::Type>(); in GetOrAddType()
232 ir::Proto* Prototype::Encode(DexBuilder* dex) const { in Encode()
233 auto* proto = dex->Alloc<ir::Proto>(); in Encode()
[all …]
Ddex_builder.h93 ir::Proto* Encode(DexBuilder* dex) const;
271 ir::MethodDecl* decl;
277 MethodBuilder(DexBuilder* dex, ir::Class* class_def, ir::MethodDecl* decl);
280 ir::EncodedMethod* Encode();
408 ir::Class* class_;
409 ir::MethodDecl* decl_;
447 ClassBuilder(DexBuilder* parent, const std::string& name, ir::Class* class_def);
458 ir::Class* const class_;
476 ir::String* GetOrAddString(const std::string& string);
483 ir::Type* GetOrAddType(const std::string& descriptor);
[all …]
Ddex_layout_compiler.cc168 const ir::Type* view_group_def = method_->dex_file()->GetOrAddType( in StartView()
Ddex_testcase_generator.cc278 const ir::Type* type_def = dex_file.GetOrAddType(string_type.descriptor()); in GenerateSimpleTestCases()
/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 …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java150 private CatService(CommandsInterface ci, UiccCardApplication ca, IccRecords ir, in CatService() argument
152 if (ci == null || ca == null || ir == null || context == null || fh == null in CatService()
179 mIccRecords = ir; in CatService()
210 IccRecords ir = null; in getInstance() local
218 ir = ca.getIccRecords(); in getInstance()
231 if (ci == null || ca == null || ir == null || context == null || fh == null in getInstance()
236 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, uiccProfile, slotId); in getInstance()
237 } else if ((ir != null) && (mIccRecords != ir)) { in getInstance()
242 mIccRecords = ir; in getInstance()
1125 IccRecords ir = null; in update() local
[all …]
/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.bp119 "android.hardware.ir@1.0",
/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/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java586 IccRecords ir = app.getIccRecords(); in registerAllAppEvents() local
587 if (ir != null) { in registerAllAppEvents()
589 ir.registerForRecordsLoaded(mHandler, EVENT_RECORDS_LOADED, null); in registerAllAppEvents()
590 ir.registerForRecordsEvents(mHandler, EVENT_ICC_RECORD_EVENTS, null); in registerAllAppEvents()
600 IccRecords ir = app.getIccRecords(); in unregisterAllAppEvents() local
601 if (ir != null) { in unregisterAllAppEvents()
602 ir.unregisterForRecordsLoaded(mHandler); in unregisterAllAppEvents()
603 ir.unregisterForRecordsEvents(mHandler); in unregisterAllAppEvents()
1071 IccRecords ir = app.getIccRecords(); in areAllRecordsLoaded() local
1072 if (ir == null || !ir.isLoaded()) { in areAllRecordsLoaded()
[all …]
/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/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/tools/apilint/
Dapilint.py1220 ir = rank(f.typ)
1221 if ir is not None and ir < cr:
1225 ir = rank(m.typ)
1226 if ir is not None and ir < cr:
1229 ir = rank(arg)
1230 if ir is not None and ir < cr:
/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.java15352 int ir = 0; in broadcastIntentLocked() local
15394 while (it < NT && ir < NR) { in broadcastIntentLocked()
15399 curr = registeredReceivers.get(ir); in broadcastIntentLocked()
15404 ir++; in broadcastIntentLocked()
15415 while (ir < NR) { in broadcastIntentLocked()
15419 receivers.add(registeredReceivers.get(ir)); in broadcastIntentLocked()
15420 ir++; in broadcastIntentLocked()