Home
last modified time | relevance | path

Searched refs:Function (Results 1 – 25 of 188) sorted by relevance

12345678

/frameworks/base/services/core/java/android/content/pm/
DPackageSettingsSnapshotProvider.java26 import java.util.function.Function;
38 @NonNull Consumer<Function<String, PackageSetting>> block); in withPackageSettingsSnapshot()
45 @NonNull FunctionalUtils.ThrowingFunction<Function<String, PackageSetting>, Output> in withPackageSettingsSnapshotReturning()
53 @NonNull FunctionalUtils.ThrowingCheckedConsumer<Function<String, PackageSetting>, in withPackageSettingsSnapshotThrowing()
63 Function<String, PackageSetting>, ExceptionOne, ExceptionTwo> block) in withPackageSettingsSnapshotThrowing2()
73 Function<String, PackageSetting>, Output, ExceptionType> block) in withPackageSettingsSnapshotReturningThrowing()
/frameworks/compile/libbcc/lib/
DRSX86CallConvPass.cpp44 bool IsRSFunctionOfInterest(llvm::Function &F) { in IsRSFunctionOfInterest()
60 bool IsDerefNeeded(llvm::Function *F, llvm::Argument &Arg) { in IsDerefNeeded()
94 bool FillArgsToDeref(llvm::Function *F, std::vector<unsigned> &ArgNums) { in FillArgsToDeref()
110 llvm::Function *RedefineFn(llvm::Function *OrigFn, in RedefineFn()
119 llvm::Function *NewFn = llvm::Function::Create(NewTy, in RedefineFn()
144 llvm::Function *NewFn, in ReplaceCallInsn()
181 std::vector<llvm::Function *> FunctionsToHandle; in runOnModule()
196 llvm::Function *NewFn = RedefineFn(OrigFn, ArgsToDeref); in runOnModule()
DRSKernelExpand.cpp96 typedef std::unordered_set<llvm::Function *> FunctionSet;
144 uint32_t getRootSignature(llvm::Function *Function) { in getRootSignature() argument
150 for (llvm::Function::arg_iterator B = Function->arg_begin(), in getRootSignature()
151 E = Function->arg_end(); in getRootSignature()
341 llvm::Function *createEmptyExpandedForEachKernel(llvm::StringRef OldName) { in createEmptyExpandedForEachKernel()
342 llvm::Function *ExpandedFunction = in createEmptyExpandedForEachKernel()
343 llvm::Function::Create(ExpandedForEachType, in createEmptyExpandedForEachKernel()
347 llvm::Function::arg_iterator AI = ExpandedFunction->arg_begin(); in createEmptyExpandedForEachKernel()
366 llvm::Function *createEmptyExpandedReduceAccumulator(llvm::StringRef OldName, in createEmptyExpandedReduceAccumulator()
374 llvm::Function *FnExpandedAccumulator = in createEmptyExpandedReduceAccumulator()
[all …]
DRSScriptGroupFusion.cpp30 using llvm::Function;
39 const Function* getInvokeFunction(const Source& source, const int slot, in getInvokeFunction()
44 Function* func = newModule->getFunction(functionName); in getInvokeFunction()
51 const Function*
73 const Function* function = mergedModule->getFunction(functionName); in getFunction()
144 const Function* firstF = getFunction(M, sources.front(), slots.front(), nullptr); in getFusedFuncType()
165 const Function* lastF = getFunction(M, sources.back(), slots.back(), nullptr); in getFusedFuncType()
192 Function* fusedKernel = in fuseKernels()
193 (Function*)(mergedModule->getOrInsertFunction(fusedName, fusedType)); in fuseKernels()
200 Function::arg_iterator argIter = fusedKernel->arg_begin(); in fuseKernels()
[all …]
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
DDomainVerificationTestUtils.kt25 import java.util.function.Function
34 (arguments[0] as Consumer<Function<String, PackageSetting?>>).accept { block(it) } in mockPackageSettings()
37 (arguments[0] as FunctionalUtils.ThrowingFunction<Function<String, PackageSetting?>, *>) in mockPackageSettings()
42 Function<String, PackageSetting?>, *>) in mockPackageSettings()
47 Function<String, PackageSetting?>, *, *>) in mockPackageSettings()
52 Function<String, PackageSetting?>, *, *>) in mockPackageSettings()
/frameworks/native/cmds/lshal/
DTimeout.h82 template<class R, class P, class Function, class I, class... Args>
83 typename std::result_of<Function(I *, Args...)>::type
84 timeoutIPC(std::chrono::duration<R, P> wait, const sp<I> &interfaceObject, Function &&func, in timeoutIPC()
87 typename std::result_of<Function(I *, Args...)>::type ret{Status::ok()}; in timeoutIPC()
88 auto boundFunc = std::bind(std::forward<Function>(func), in timeoutIPC()
99 template<class Function, class I, class... Args>
100 typename std::result_of<Function(I *, Args...)>::type
101 timeoutIPC(const sp<I> &interfaceObject, Function &&func, Args &&... args) { in timeoutIPC()
/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java31 import java.util.function.Function;
42 private static final Function<TextLink, TextLinkSpan> DEFAULT_SPAN_FACTORY =
47 private final Function<TextLink, TextLinkSpan> mSpanFactory;
52 Function<TextLink, TextLinkSpan> spanFactory) { in TextLinksParams()
158 private Function<TextLink, TextLinkSpan> mSpanFactory = DEFAULT_SPAN_FACTORY;
177 public Builder setSpanFactory(@Nullable Function<TextLink, TextLinkSpan> spanFactory) { in setSpanFactory()
/frameworks/compile/libbcc/tests/libbcc/
Dtest_reduce_general_metadata.ll48 ; Function Attrs: nounwind
56 ; Function Attrs: nounwind
62 ; Function Attrs: nounwind
70 ; Function Attrs: nounwind
79 ; Function Attrs: nounwind
88 ; Function Attrs: nounwind
95 ; Function Attrs: nounwind
98 ; Function Attrs: nounwind
127 ; Function Attrs: nounwind
142 ; Function Attrs: nounwind
[all …]
Dtest_reduce_general_cleanup.ll51 ; Function Attrs: nounwind
59 ; Function Attrs: nounwind
68 ; Function Attrs: nounwind
77 ; Function Attrs: nounwind
93 ; Function Attrs: nounwind
122 ; Function Attrs: nounwind
137 ; Function Attrs: nounwind
151 ; Function Attrs: nounwind
157 ; Function Attrs: nounwind
170 ; Function Attrs: nounwind
[all …]
/frameworks/rs/script_api/
DSpecification.h31 class Function; variable
220 class Function : public Definition {
232 Function(const std::string& name);
233 ~Function();
338 Function* mFunction; // Not owned
403 void createPermutations(Function* function, Scanner* scanner);
406 FunctionSpecification(Function* function) : mFunction(function), mInternal(false), in FunctionSpecification()
410 Function* getFunction() const { return mFunction; } in getFunction()
483 FunctionPermutation(Function* function, FunctionSpecification* specification,
529 std::map<std::string, Function*> mDocumentedFunctions;
[all …]
DSpecification.cpp321 Function::Function(const string& name) : Definition(name) { in Function() function in Function
325 Function::~Function() { in ~Function()
331 bool Function::someParametersAreDocumented() const { in someParametersAreDocumented()
340 void Function::addParameter(ParameterEntry* entry, Scanner* scanner) { in addParameter()
355 void Function::addReturn(ParameterEntry* entry, Scanner* scanner) { in addReturn()
499 void FunctionSpecification::createPermutations(Function* function, Scanner* scanner) { in createPermutations()
622 Function* function = systemSpecification.findOrCreateFunction(name, &created); in scanFunctionSpecification()
707 FunctionPermutation::FunctionPermutation(Function* func, FunctionSpecification* spec, in FunctionPermutation()
798 Function* function = spec->getFunction(); in addFunctionSpecification()
799 mDocumentedFunctions.insert(pair<string, Function*>(function->getName(), function)); in addFunctionSpecification()
[all …]
/frameworks/base/services/core/java/com/android/server/timezonedetector/
DOrdinalGenerator.java23 import java.util.function.Function;
36 private final @NonNull Function<T, T> mCanonicalizationFunction;
38 OrdinalGenerator(@NonNull Function<T, T> canonicalizationFunction) { in OrdinalGenerator()
DTimeZoneCanonicalizer.java21 import java.util.function.Function;
27 final class TimeZoneCanonicalizer implements Function<String, String> {
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/inputmethod/
DComparableUtils.java24 import java.util.function.Function;
44 final ToIntBiFunction<T, T> compareTo, final Function<T, String> name) { in assertAscendingOrdering()
62 final ToIntBiFunction<T, T> compareTo, final Function<T, String> name) {
87 final ToIntBiFunction<T, T> compareTo, final Function<T, String> name) {
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DJarUtil.java25 import java.util.function.Function;
43 @NotNull Map<String, byte[]> all, @NotNull Function<byte[], byte[]> transform) in createJar()
72 createJar(outStream, all, Function.identity()); in createJar()
/frameworks/compile/slang/StripUnkAttr/
Dstrip_unknown_attributes.h18 class Function; variable
34 bool stripUnknownAttributes(llvm::Function &F);
Dstrip_unknown_attributes.cpp23 bool stripUnknownAttributes(llvm::Function &F) { in stripUnknownAttributes()
25 for (llvm::Function::arg_iterator I = F.arg_begin(), E = F.arg_end(); in stripUnknownAttributes()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DPooledFunction.java19 import java.util.function.Function;
27 public interface PooledFunction<A, R> extends PooledLambda, Function<A, R> {
/frameworks/base/mime/java/android/content/type/
DDefaultMimeMapFactory.java28 import java.util.function.Function;
60 public static MimeMap create(Function<String, InputStream> resourceSupplier) { in create()
77 Function<String, InputStream> resourceSupplier, String resourceName) { in parseTypes()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyUpgraderDataProvider.java25 import java.util.function.Function;
62 Function<ComponentName, DeviceAdminInfo> getAdminInfoSupplier(int userId); in getAdminInfoSupplier()
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/
DOrdinalGeneratorTest.java28 import java.util.function.Function;
35 OrdinalGenerator<String> ordinalGenerator = new OrdinalGenerator<>(Function.identity()); in testOrdinal_withIdentityFunction()
50 OrdinalGenerator<String> ordinalGenerator = new OrdinalGenerator<>(Function.identity()); in testOrdinals_withIdentityFunction()
/frameworks/base/services/core/java/com/android/server/pm/verify/domain/
DDomainVerificationSettings.java42 import java.util.function.Function;
82 @NonNull Function<String, String> pkgSignatureFunction) { in writeSettings()
88 @UserIdInt int userId, @NonNull Function<String, String> pkgSignatureFunction) in writeSettings()
104 @NonNull Function<String, PackageSetting> pkgSettingFunction) in readSettings()
142 @NonNull Function<String, PackageSetting> pkgSettingFunction) in restoreSettings()
220 @NonNull Function<String, PackageSetting> pkgSettingFunction) { in mergePkgState()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DChooserWrapperActivity.java44 import java.util.function.Function;
267 public Function<PackageManager, PackageManager> createPackageManager;
268 public Function<TargetInfo, Boolean> onSafelyStartCallback;
269 public Function<ChooserListAdapter, Void> onQueryDirectShareTargets;
270 public Function<ChooserListAdapter, Void> onQueryTargetServices;
/frameworks/base/core/java/com/android/internal/infra/
DAndroidFuture.java43 import java.util.function.Function;
315 @NonNull Function<? super T, ? extends CompletionStage<U>> fn) { in thenCompose()
321 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in thenComposeAsync()
330 private volatile Function<? super T, ? extends CompletionStage<U>> mFn;
333 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in ThenComposeAsync()
376 public <U> AndroidFuture<U> thenApply(@NonNull Function<? super T, ? extends U> fn) { in thenApply()
381 public <U> AndroidFuture<U> thenApplyAsync(@NonNull Function<? super T, ? extends U> fn, in thenApplyAsync()
390 private final Function<? super T, ? extends U> mFn;
393 @NonNull Function<? super T, ? extends U> fn, in ThenApplyAsync()
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DMetadataExtractor.h26 class Function; variable
129 uint32_t calculateNumInputs(const llvm::Function *Function,

12345678