Home
last modified time | relevance | path

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

12345678

/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/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 @NonNull private final 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/tests/coretests/src/com/android/internal/app/
DChooserActivityOverrideData.java38 import java.util.function.Function;
56 public Function<PackageManager, PackageManager> createPackageManager;
57 public Function<TargetInfo, Boolean> onSafelyStartCallback;
58 public Function<ChooserListAdapter, Void> onQueryDirectShareTargets;
/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/services/devicepolicy/java/com/android/server/devicepolicy/
DPolicyUpgraderDataProvider.java24 import java.util.function.Function;
50 Function<ComponentName, DeviceAdminInfo> getAdminInfoSupplier(int userId); in getAdminInfoSupplier()
/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/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/core/java/com/android/internal/infra/
DAndroidFuture.java42 import java.util.function.Function;
314 @NonNull Function<? super T, ? extends CompletionStage<U>> fn) { in thenCompose()
320 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in thenComposeAsync()
329 private volatile Function<? super T, ? extends CompletionStage<U>> mFn;
332 @NonNull Function<? super T, ? extends CompletionStage<U>> fn, in ThenComposeAsync()
375 public <U> AndroidFuture<U> thenApply(@NonNull Function<? super T, ? extends U> fn) { in thenApply()
380 public <U> AndroidFuture<U> thenApplyAsync(@NonNull Function<? super T, ? extends U> fn, in thenApplyAsync()
389 private final Function<? super T, ? extends U> mFn;
392 @NonNull Function<? super T, ? extends U> fn, in ThenApplyAsync()
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DTransportConnectionManager.java36 import java.util.function.Function;
51 private final Function<ComponentName, Intent> mIntentFunction;
67 TransportStats transportStats, Function<ComponentName, Intent> intentFunction) { in TransportConnectionManager()
/frameworks/compile/libbcc/bcinfo/include/bcinfo/
DMetadataExtractor.h26 class Function; variable
129 uint32_t calculateNumInputs(const llvm::Function *Function,
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageStateMutator.java32 import java.util.function.Function;
40 private final Function<String, PackageSetting> mActiveStateFunction;
41 private final Function<String, PackageSetting> mDisabledStateFunction;
43 public PackageStateMutator(@NonNull Function<String, PackageSetting> activeStateFunction, in PackageStateMutator()
44 @NonNull Function<String, PackageSetting> disabledStateFunction) { in PackageStateMutator()
/frameworks/compile/slang/BitWriter_2_9/
DValueEnumerator.cpp45 EnumerateAttributes(cast<Function>(I)->getAttributes()); in ValueEnumerator()
81 for (const Function &F : M) { in ValueEnumerator()
456 void ValueEnumerator::incorporateFunction(const Function &F) { in incorporateFunction()
462 for (Function::const_arg_iterator I = F.arg_begin(), E = F.arg_end(); in incorporateFunction()
469 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
492 for (Function::const_iterator BB = F.begin(), E = F.end(); BB != E; ++BB) { in incorporateFunction()
527 static void IncorporateFunctionInfoGlobalBBIDs(const Function *F, in IncorporateFunctionInfoGlobalBBIDs()
530 for (Function::const_iterator BB = F->begin(), E = F->end(); BB != E; ++BB) in IncorporateFunctionInfoGlobalBBIDs()

12345678