Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/frameworks/compile/mclinker/lib/Script/
DOperator.cpp58 static NullaryOp<Operator::SIZEOF_HEADERS> op; in create() local
59 return op; in create()
64 static NullaryOp<Operator::MAXPAGESIZE> op; in create() local
65 return op; in create()
70 static NullaryOp<Operator::COMMONPAGESIZE> op; in create() local
71 return op; in create()
77 static UnaryOp<Operator::UNARY_PLUS> op; in create() local
78 return op; in create()
83 static UnaryOp<Operator::UNARY_MINUS> op; in create() local
84 return op; in create()
[all …]
DRpnEvaluator.cpp39 Operator* op = llvm::cast<Operator>(*it); in eval() local
40 switch (op->arity()) { in eval()
42 operandStack.push(op->eval(m_Module, m_Backend)); in eval()
48 op->appendOperand(opd); in eval()
49 operandStack.push(op->eval(m_Module, m_Backend)); in eval()
57 op->appendOperand(opd1); in eval()
58 op->appendOperand(opd2); in eval()
59 operandStack.push(op->eval(m_Module, m_Backend)); in eval()
69 op->appendOperand(opd1); in eval()
70 op->appendOperand(opd2); in eval()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DAdapterHelper.java95 UpdateOp op = mPendingUpdates.get(i); in preProcess() local
96 switch (op.cmd) { in preProcess()
98 applyAdd(op); in preProcess()
101 applyRemove(op); in preProcess()
104 applyUpdate(op); in preProcess()
107 applyMove(op); in preProcess()
126 private void applyMove(UpdateOp op) { in applyMove() argument
129 postponeAndUpdateViewHolders(op); in applyMove()
132 private void applyRemove(UpdateOp op) { in applyRemove() argument
133 int tmpStart = op.positionStart; in applyRemove()
[all …]
/frameworks/base/core/java/android/util/
DBase64.java75 public int op; field in Base64.Coder
167 if (decoder.op == decoder.output.length) { in decode()
173 byte[] temp = new byte[decoder.op]; in decode()
174 System.arraycopy(decoder.output, 0, temp, 0, decoder.op); in decode()
278 int op = 0; in process() local
303 output[op+2] = (byte) value; in process()
304 output[op+1] = (byte) (value >> 8); in process()
305 output[op] = (byte) (value >> 16); in process()
306 op += 3; in process()
347 output[op++] = (byte) (value >> 4); in process()
[all …]
/frameworks/base/errorprone/tests/res/android/app/
DAppOpsManager.java21 public int noteOp(String op, int uid, String packageName) { in noteOp() argument
25 public int noteOp(int op) { in noteOp() argument
29 public int noteOp(int op, int uid, String packageName) { in noteOp() argument
33 public int noteOp(String op, int uid, String packageName, in noteOp() argument
38 public int noteOp(int op, int uid, String packageName, in noteOp() argument
43 public int noteOpNoThrow(String op, int uid, String packageName) { in noteOpNoThrow() argument
47 public int noteOpNoThrow(int op, int uid, String packageName) { in noteOpNoThrow() argument
51 public int startOp(int op) { in startOp() argument
55 public int startOp(int op, int uid, String packageName) { in startOp() argument
59 public int startOp(int op, int uid, String packageName, boolean startIfModeDefault) { in startOp() argument
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DLifecycleOperationStorage.java143 Operation op = mOperations.valueAt(i); in isBackupOperationInProgress() local
144 if (op.type == OpType.BACKUP && op.state == OpState.PENDING) { in isBackupOperationInProgress()
171 final Operation op = mOperations.valueAt(i); in operationTokensForOpType() local
173 if (op.type == type) { in operationTokensForOpType()
187 final Operation op = mOperations.valueAt(i); in operationTokensForOpState() local
189 if (op.state == state) { in operationTokensForOpState()
214 Operation op = null; in waitUntilOperationComplete() local
217 op = mOperations.get(token); in waitUntilOperationComplete()
218 if (op == null) { in waitUntilOperationComplete()
222 if (op.state == OpState.PENDING) { in waitUntilOperationComplete()
[all …]
/frameworks/base/core/java/android/app/
DBackStackRecord.java58 final BackStackRecord.Op op = bse.mOps.get(opNum); in BackStackState() local
59 mOps[pos++] = op.cmd; in BackStackState()
60 mOps[pos++] = op.fragment != null ? op.fragment.mIndex : -1; in BackStackState()
61 mOps[pos++] = op.enterAnim; in BackStackState()
62 mOps[pos++] = op.exitAnim; in BackStackState()
63 mOps[pos++] = op.popEnterAnim; in BackStackState()
64 mOps[pos++] = op.popExitAnim; in BackStackState()
99 BackStackRecord.Op op = new BackStackRecord.Op(); in instantiate() local
100 op.cmd = mOps[pos++]; in instantiate()
108 op.fragment = f; in instantiate()
[all …]
DAppOpsManager.java264 public void onNoted(@NonNull SyncNotedAppOp op) {
265 reportStackTraceIfNeeded(op);
274 public void onSelfNoted(@NonNull SyncNotedAppOp op) {
275 reportStackTraceIfNeeded(op);
278 private void reportStackTraceIfNeeded(@NonNull SyncNotedAppOp op) {
283 if (leftCircularDistance(strOpToOp(op.getOp()), config.getSampledOpCode(),
291 packageName == null ? "" : packageName, op, stackTrace);
556 public static int resolveFirstUnrestrictedUidState(int op) { in resolveFirstUnrestrictedUidState() argument
567 public static int resolveLastRestrictedUidState(int op) { in resolveLastRestrictedUidState() argument
3140 for (int op : RUNTIME_AND_APPOP_PERMISSIONS_OPS) {
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DAsyncRotationController.java222 final Operation op = mTargetWindowTokens.remove(windowToken); in finishOp() local
223 if (op == null) return; in finishOp()
224 if (op.mDrawTransaction != null) { in finishOp()
226 mDisplayContent.getPendingTransaction().merge(op.mDrawTransaction); in finishOp()
227 op.mDrawTransaction = null; in finishOp()
230 if (op.mAction == Operation.ACTION_FADE) { in finishOp()
235 } else if (op.mAction == Operation.ACTION_SEAMLESS && mRotator != null in finishOp()
236 && op.mLeash != null && op.mLeash.isValid()) { in finishOp()
238 mRotator.setIdentityMatrix(mDisplayContent.getPendingTransaction(), op.mLeash); in finishOp()
266 final Operation op = mTargetWindowTokens.get(token); in completeRotation() local
[all …]
/frameworks/native/libs/permission/
DAppOpsManager.cpp78 int32_t AppOpsManager::checkOp(int32_t op, int32_t uid, const String16& callingPackage) in checkOp() argument
82 ? service->checkOperation(op, uid, callingPackage) in checkOp()
86 int32_t AppOpsManager::checkAudioOpNoThrow(int32_t op, int32_t usage, int32_t uid, in checkAudioOpNoThrow() argument
90 ? service->checkAudioOperation(op, usage, uid, callingPackage) in checkAudioOpNoThrow()
94 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage) { in noteOp() argument
95 return noteOp(op, uid, callingPackage, {}, in noteOp()
99 int32_t AppOpsManager::noteOp(int32_t op, int32_t uid, const String16& callingPackage, in noteOp() argument
103 ? service->noteOperation(op, uid, callingPackage, attributionTag, in noteOp()
104 shouldCollectNotes(op), message, uid == AID_SYSTEM) in noteOp()
110 int32_t AppOpsManager::startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage, in startOpNoThrow() argument
[all …]
/frameworks/av/media/libstagefright/
DOggWriter.cpp139 ogg_packet op; in writeOggHeaderPackets() local
141 op.packet = buf; in writeOggHeaderPackets()
142 op.bytes = size; in writeOggHeaderPackets()
143 op.b_o_s = 1; in writeOggHeaderPackets()
144 op.e_o_s = 0; in writeOggHeaderPackets()
145 op.granulepos = 0; in writeOggHeaderPackets()
146 op.packetno = 0; in writeOggHeaderPackets()
147 ogg_stream_packetin((ogg_stream_state*)mOs, &op); in writeOggHeaderPackets()
172 op.packet = (unsigned char*)comments; in writeOggHeaderPackets()
173 op.bytes = comments_length; in writeOggHeaderPackets()
[all …]
/frameworks/base/graphics/java/android/graphics/
DRegion.java259 return op(r, Op.UNION); in union()
266 public boolean op(@NonNull Rect r, @NonNull Op op) { in op() method in Region
268 op.nativeInt); in op()
275 public boolean op(int left, int top, int right, int bottom, @NonNull Op op) { in op() method in Region
277 op.nativeInt); in op()
284 public boolean op(@NonNull Region region, @NonNull Op op) { in op() method in Region
285 return op(this, region, op); in op()
292 public boolean op(@NonNull Rect rect, @NonNull Region region, @NonNull Op op) { in op() argument
294 op.nativeInt); in op()
301 public boolean op(@NonNull Region region1, @NonNull Region region2, @NonNull Op op) { in op() argument
[all …]
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
DRunResult.java31 RunResult(TestService.TestRunner op) { in RunResult() argument
32 name = op.getName(); in RunResult()
33 fgLongName = op.getForegroundLongName(); in RunResult()
34 bgLongName = op.getBackgroundLongName(); in RunResult()
35 fgTime = op.getForegroundTime(); in RunResult()
36 fgOps = op.getForegroundOps(); in RunResult()
37 bgTime = op.getBackgroundTime(); in RunResult()
38 bgOps = op.getBackgroundOps(); in RunResult()
/frameworks/base/cmds/sm/src/com/android/commands/sm/
DSm.java70 String op = args[0]; in run() local
73 if ("list-disks".equals(op)) { in run()
75 } else if ("list-volumes".equals(op)) { in run()
77 } else if ("has-adoptable".equals(op)) { in run()
79 } else if ("get-primary-storage-uuid".equals(op)) { in run()
81 } else if ("set-force-adoptable".equals(op)) { in run()
83 } else if ("set-sdcardfs".equals(op)) { in run()
85 } else if ("partition".equals(op)) { in run()
87 } else if ("mount".equals(op)) { in run()
89 } else if ("unmount".equals(op)) { in run()
[all …]
/frameworks/base/tools/split-select/
DRule.cpp34 , op(rhs.op) in Rule()
49 switch (op) { in toJson()
72 str.appendFormat("%d", op); in toJson()
84 switch (op) { in toJson()
120 if (op == AND_SUBRULES || op == OR_SUBRULES) { in toJson()
178 if (rule->op != AND_SUBRULES && rule->op != OR_SUBRULES) { in simplify()
188 if (simplifiedRule->op == rule->op) { in simplify()
DTestRules.cpp29 rule.op = Rule::EQUALS; in EqRule()
37 rule.op = Rule::GREATER_THAN; in GtRule()
45 rule.op = Rule::LESS_THAN; in LtRule()
53 rule.op = Rule::CONTAINS_ANY; in ContainsAnyRule()
61 rule.op = Rule::CONTAINS_ANY; in ContainsAnyRule()
70 rule.op = Rule::ALWAYS_TRUE; in AlwaysTrue()
/frameworks/base/libs/hwui/canvas/
DCanvasFrontend.h58 void apply(SkClipOp op, const SkMatrix& matrix, const SkRect& bounds, bool aa,
91 void internalClipRect(const SkRect& rect, SkClipOp op);
92 void internalClipPath(const SkPath& path, SkClipOp op);
209 void draw(CanvasOp<T>&& op) { in draw() argument
215 internalSaveLayer(op.saveLayerRec); in draw()
223 internalClipRect(op.rect, op.op); in draw()
226 internalClipPath(op.path, op.op); in draw()
229 submit(std::move(op)); in draw()
253 void submit(CanvasOp<T>&& op) { in submit() argument
255 mReceiver->push_container(CanvasOpContainer(std::move(op), transform())); in submit()
DCanvasFrontend.cpp51 void CanvasStateHelper::ConservativeClip::apply(SkClipOp op, const SkMatrix& matrix, in apply() argument
55 if (op == SkClipOp::kIntersect) { in apply()
69 void CanvasStateHelper::internalClipRect(const SkRect& rect, SkClipOp op) { in internalClipRect() argument
70 clip().apply(op, transform(), rect, /*aa=*/false, /*fillsBounds=*/true); in internalClipRect()
73 void CanvasStateHelper::internalClipPath(const SkPath& path, SkClipOp op) { in internalClipPath() argument
77 op = (op == SkClipOp::kIntersect ? SkClipOp::kDifference : SkClipOp::kIntersect); in internalClipPath()
79 clip().apply(op, transform(), bounds, /*aa=*/true, /*fillsBounds=*/false); in internalClipPath()
DCanvasOpBuffer.h58 CanvasOp<T>& op() noexcept { return mImpl; } in op() function
59 const CanvasOp<T>& op() const noexcept { return mImpl; } in op() function
74 void push(CanvasOp<T>&& op) { in push() argument
75 push_container(CanvasOpContainer<T>(std::move(op))); in push()
79 void push_container(CanvasOpContainer<T>&& op) { in push_container() argument
86 if (op->renderNode->stagingProperties().isProjectionReceiver()) { in push_container()
90 SUPER::push_container(std::move(op)); in push_container()
/frameworks/base/libs/hwui/
DRecordingCanvas.cpp72 static const D* pod(const T* op, size_t offset = 0) { in pod() argument
73 return SkTAddOffset<const D>(op + 1, offset); in pod()
164 ClipPath(const SkPath& path, SkClipOp op, bool aa) : path(path), op(op), aa(aa) {} in ClipPath()
166 SkClipOp op; member
168 void draw(SkCanvas* c, const SkMatrix&) const { c->clipPath(path, op, aa); } in draw()
172 ClipRect(const SkRect& rect, SkClipOp op, bool aa) : rect(rect), op(op), aa(aa) {} in ClipRect()
174 SkClipOp op; member
176 void draw(SkCanvas* c, const SkMatrix&) const { c->clipRect(rect, op, aa); } in draw()
180 ClipRRect(const SkRRect& rrect, SkClipOp op, bool aa) : rrect(rrect), op(op), aa(aa) {} in ClipRRect()
182 SkClipOp op; member
[all …]
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h156 int32_t checkOp(int32_t op, int32_t uid, const String16& callingPackage);
157 int32_t checkAudioOpNoThrow(int32_t op, int32_t usage, int32_t uid,
161 int32_t noteOp(int32_t op, int32_t uid, const String16& callingPackage);
162 int32_t noteOp(int32_t op, int32_t uid, const String16& callingPackage,
166 int32_t startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage,
168 int32_t startOpNoThrow(int32_t op, int32_t uid, const String16& callingPackage,
172 void finishOp(int32_t op, int32_t uid, const String16& callingPackage);
173 void finishOp(int32_t op, int32_t uid, const String16& callingPackage,
175 void startWatchingMode(int32_t op, const String16& packageName,
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java79 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStartJob() local
81 if (op == null) { in onStartJob()
86 final boolean readyToSync = SyncManager.readyToSync(op.target.userId); in onStartJob()
88 sLogger.log("onStartJob() jobid=", params.getJobId(), " op=", op, in onStartJob()
95 final boolean wantsReschedule = !op.isPeriodic; in onStartJob()
111 Slog.v(TAG, "Got start job message " + op.target); in onStartJob()
113 m.obj = op; in onStartJob()
124 final SyncOperation op = SyncOperation.maybeCreateFromJobExtras(params.getExtras()); in onStopJob() local
125 if (op == null) { in onStopJob()
130 final boolean readyToSync = SyncManager.readyToSync(op.target.userId); in onStopJob()
[all …]
DSyncManager.java302 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in getAllPendingSyncs() local
303 if (op != null) { in getAllPendingSyncs()
304 pendingSyncs.add(op); in getAllPendingSyncs()
508 SyncOperation op = SyncOperation.maybeCreateFromJobExtras(job.getExtras()); in verifyJobScheduler() local
509 if (op != null) { in verifyJobScheduler()
510 if (op.isPeriodic) { in verifyJobScheduler()
516 mSyncStorageEngine.markPending(op.target, true); in verifyJobScheduler()
835 for (SyncOperation op: ops) { in setAuthorityPendingState()
836 if (!op.isPeriodic && op.target.matchesSpec(info)) { in setAuthorityPendingState()
1159 for (SyncOperation op: ops) { in removeSyncsForAuthority()
[all …]
/frameworks/av/media/img_utils/include/img_utils/
DTiffEntry.h32 #define COMPARE_DEF(op) \ argument
33 inline bool operator op (const TiffEntry& entry) const;
109 #define COMPARE(op) \ argument
110 bool TiffEntry::operator op (const TiffEntry& entry) const { \
111 return getComparableValue() op entry.getComparableValue(); \
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
Dmath.rscript224 #define TEST_INT_OP_TYPE(op, type) \
225 rsDebug("Testing " #op " for " #type "1", i++); \
226 res_##type##_1 = src1_##type##_1 op src2_##type##_1; \
227 rsDebug("Testing " #op " for " #type "2", i++); \
228 res_##type##_2 = src1_##type##_2 op src2_##type##_2; \
229 rsDebug("Testing " #op " for " #type "3", i++); \
230 res_##type##_3 = src1_##type##_3 op src2_##type##_3; \
231 rsDebug("Testing " #op " for " #type "4", i++); \
232 res_##type##_4 = src1_##type##_4 op src2_##type##_4;
234 #define TEST_INT_OP(op) \
[all …]

12345678910>>...13