Home
last modified time | relevance | path

Searched refs:create (Results 1 – 25 of 1119) sorted by relevance

12345678910>>...45

/frameworks/compile/mclinker/include/mcld/Script/
DOperator.h114 static Operator& create();
124 Operator& Operator::create<Operator::SIZEOF_HEADERS>();
126 Operator& Operator::create<Operator::MAXPAGESIZE>();
128 Operator& Operator::create<Operator::COMMONPAGESIZE>();
132 Operator& Operator::create<Operator::UNARY_PLUS>();
134 Operator& Operator::create<Operator::UNARY_MINUS>();
136 Operator& Operator::create<Operator::LOGICAL_NOT>();
138 Operator& Operator::create<Operator::BITWISE_NOT>();
141 Operator& Operator::create<Operator::ABSOLUTE>();
143 Operator& Operator::create<Operator::ADDR>();
[all …]
/frameworks/compile/mclinker/lib/Script/
DOperator.cpp45 m_pIntOperand = IntOperand::create(0); in Operator()
57 Operator& Operator::create<Operator::SIZEOF_HEADERS>() { in create() function in mcld::Operator
63 Operator& Operator::create<Operator::MAXPAGESIZE>() { in create() function in mcld::Operator
69 Operator& Operator::create<Operator::COMMONPAGESIZE>() { in create() function in mcld::Operator
76 Operator& Operator::create<Operator::UNARY_PLUS>() { in create() function in mcld::Operator
82 Operator& Operator::create<Operator::UNARY_MINUS>() { in create() function in mcld::Operator
88 Operator& Operator::create<Operator::LOGICAL_NOT>() { in create() function in mcld::Operator
94 Operator& Operator::create<Operator::BITWISE_NOT>() { in create() function in mcld::Operator
100 Operator& Operator::create<Operator::ABSOLUTE>() { in create() function in mcld::Operator
106 Operator& Operator::create<Operator::ADDR>() { in create() function in mcld::Operator
[all …]
DScriptParser.yy294 { $$ = FileToken::create(*$1, m_ScriptFile.asNeeded()); }
296 { $$ = NameSpec::create(*$1, m_ScriptFile.asNeeded()); }
354 /* create exp for vma */
468 { $$ = StrToken::create(*$1); }
501 WildcardPattern::create(*$1, WildcardPattern::SORT_NONE);
514 { $$ = WildcardPattern::create(*$1, WildcardPattern::SORT_NONE); }
516 { $$ = WildcardPattern::create(*$3, WildcardPattern::SORT_BY_NAME); }
538 WildcardPattern::create(*$2, WildcardPattern::SORT_NONE));
543 WildcardPattern::create(*$1, WildcardPattern::SORT_NONE));
563 { $$ = WildcardPattern::create(*$1, WildcardPattern::SORT_NONE); }
[all …]
DRpnExpr.cpp54 RpnExpr* RpnExpr::create() { in create() function in mcld::RpnExpr
81 RpnExpr* expr = RpnExpr::create(); in buildHelperExpr()
82 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr()
83 expr->push_back(&Operator::create<Operator::ADDR>()); in buildHelperExpr()
84 expr->push_back(SectDescOperand::create(*pIter)); in buildHelperExpr()
85 expr->push_back(&Operator::create<Operator::SIZEOF>()); in buildHelperExpr()
86 expr->push_back(&Operator::create<Operator::ADD>()); in buildHelperExpr()
92 RpnExpr* expr = RpnExpr::create(); in buildHelperExpr()
93 expr->push_back(FragOperand::create(pFrag)); in buildHelperExpr()
/frameworks/base/tools/aapt2/
DResourceUtils_test.cpp60 bool create = false; in TEST() local
62 EXPECT_TRUE(ResourceUtils::ParseReference("@color/foo", &actual, &create, in TEST()
65 EXPECT_FALSE(create); in TEST()
72 bool create = false; in TEST() local
75 &create, &private_ref)); in TEST()
77 EXPECT_FALSE(create); in TEST()
84 bool create = false; in TEST() local
87 &actual, &create, &private_ref)); in TEST()
89 EXPECT_FALSE(create); in TEST()
96 bool create = false; in TEST() local
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
DImageFormat.java36 public static MutableFrameFormat create(int width, in create() method in ImageFormat
51 public static MutableFrameFormat create(int width, in create() method in ImageFormat
55 return create(width, in create()
62 public static MutableFrameFormat create(int colorspace, int target) { in create() method in ImageFormat
63 return create(FrameFormat.SIZE_UNSPECIFIED, in create()
70 public static MutableFrameFormat create(int colorspace) { in create() method in ImageFormat
71 return create(FrameFormat.SIZE_UNSPECIFIED, in create()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/scanner/
DWificondScannerTest.java66 ScanResults.create(0, 2400), in backgroundScanSuccessSingleBucket()
69 ScanResults.create(1, 2450), in backgroundScanSuccessSingleBucket()
117 ScanResults.create(0, 2400, 2450, 2400, 2400), in backgroundScanSuccessWithFullScanResults()
120 ScanResults.create(1, 2450, 2400, 2450, 2400), in backgroundScanSuccessWithFullScanResults()
143 ScanResults.create(0, 2400, 2450, 2400, 5175), in backgroundScanSuccessWithMixedFullResultsAndNot()
146 ScanResults.create(1, 2450, 2400, 2450, 2400), in backgroundScanSuccessWithMixedFullResultsAndNot()
149 ScanResults.create(2, 2450, 2400, 2450, 5150), in backgroundScanSuccessWithMixedFullResultsAndNot()
168 ScanResults.create(0, 2400, 2400, 2400), in backgroundScanNoBatch()
171 ScanResults.create(1, 2400, 2400, 2450), in backgroundScanNoBatch()
174 ScanResults.create(2, 2400, 2450, 2400), in backgroundScanNoBatch()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DRenderNodePerfTest.java38 final RenderNode node = RenderNode.create("benchmark", null); in testMeasureRenderNodeJniOverhead()
50 RenderNode node = RenderNode.create(null, null); in testCreateRenderNodeNoName()
59 RenderNode node = RenderNode.create("LinearLayout", null); in testCreateRenderNode()
67 RenderNode node = RenderNode.create("LinearLayout", null); in testIsValid()
76 RenderNode node = RenderNode.create("LinearLayout", null); in testStartEnd()
89 nodes[i] = RenderNode.create("LinearLayout", null); in testStartEndDeepHierarchy()
105 RenderNode node = RenderNode.create("LinearLayout", null); in testHasIdentityMatrix()
114 RenderNode node = RenderNode.create("LinearLayout", null); in testSetOutline()
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
DUT_foreach_multi.java51 Ain0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
55 Ain1 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
59 Ain2 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
65 Ain3 = Allocation.createTyped(RS, type16Builder.create()); in initializeGlobals()
71 Out0 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
74 Out1 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
77 Out2 = Allocation.createTyped(RS, type32Builder.create()); in initializeGlobals()
90 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/support/compat/tests/java/android/support/v4/os/
DLocaleListCompatTest.java49 LocaleListCompat ll = LocaleListCompat.create(); in testEmptyLocaleList()
57 ll = LocaleListCompat.create(new Locale[0]); in testEmptyLocaleList()
68 final LocaleListCompat ll = LocaleListCompat.create(Locale.US); in testOneMemberLocaleList()
80 final LocaleListCompat ll = LocaleListCompat.create(la); in testTwoMemberLocaleList()
92 LocaleListCompat.create((Locale) null); in testNullArgument()
98 LocaleListCompat.create((Locale[]) null); in testNullArgument()
109 LocaleListCompat.create(la); in testNullArguments()
120 LocaleListCompat.create(la); in testRepeatedArguments()
130 final LocaleListCompat empty = LocaleListCompat.create(); in testIndexOf()
133 final LocaleListCompat oneMember = LocaleListCompat.create(Locale.US); in testIndexOf()
[all …]
/frameworks/base/core/tests/coretests/src/android/graphics/
DTypefaceTest.java31 Typeface.create(Typeface.SANS_SERIF, 0),
32 Typeface.create(Typeface.SANS_SERIF, 1),
33 Typeface.create(Typeface.SERIF, 0),
34 Typeface.create(Typeface.SERIF, 1),
35 Typeface.create(Typeface.SERIF, 2),
36 Typeface.create(Typeface.SERIF, 3),
37 Typeface.create(Typeface.MONOSPACE, 0)
/frameworks/base/data/fonts/
DAndroid.mk24 define create-font-symlink
38 $(eval $(call create-font-symlink,DroidSans.ttf,Roboto-Regular.ttf))
39 $(eval $(call create-font-symlink,DroidSans-Bold.ttf,Roboto-Bold.ttf))
40 $(eval $(call create-font-symlink,DroidSerif-Regular.ttf,NotoSerif-Regular.ttf))
41 $(eval $(call create-font-symlink,DroidSerif-Bold.ttf,NotoSerif-Bold.ttf))
42 $(eval $(call create-font-symlink,DroidSerif-Italic.ttf,NotoSerif-Italic.ttf))
43 $(eval $(call create-font-symlink,DroidSerif-BoldItalic.ttf,NotoSerif-BoldItalic.ttf))
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DDirectStatementRetriever.java71 public static Result create(List<Statement> statements, Long expireMillis) { in create() method in DirectStatementRetriever.Result
146 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl()
154 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl()
160 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl()
172 return Result.create(statements, webContent.getExpireTimeMillis()); in retrieveStatementFromUrl()
174 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveStatementFromUrl()
194 AndroidAppAsset actualSource = AndroidAppAsset.create(asset.getPackageName(), certFps); in retrieveFromAndroid()
207 return Result.create(statements, DO_NOT_CACHE_RESULT); in retrieveFromAndroid()
210 return Result.create(Collections.<Statement>emptyList(), DO_NOT_CACHE_RESULT); in retrieveFromAndroid()
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DParserFactory.java52 public static XmlPullParser create(@NonNull File f) in create() method in ParserFactory
54 return create(f, false); in create()
57 public static XmlPullParser create(@NonNull File f, boolean isLayout) in create() method in ParserFactory
60 return create(stream, f.getName(), f.length(), isLayout); in create()
63 public static XmlPullParser create(@NonNull InputStream stream, @Nullable String name) in create() method in ParserFactory
65 return create(stream, name, -1, false); in create()
69 private static XmlPullParser create(@NonNull InputStream stream, @Nullable String name, in create() method in ParserFactory
/frameworks/base/media/java/android/media/
DUtils.java101 return Arrays.binarySearch(ranges, Range.create(value, value), in binarySearchDistinctRanges()
144 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor);
155 return Range.create(divUp(range.getLower(), factor), range.getUpper() / factor);
171 return Range.create(
201 return Range.create((int)v, (int)Math.ceil(v));
205 return Range.create((long)v, (long)Math.ceil(v));
241 return Range.create(
246 return Range.create(value, value);
262 return Range.create(
267 return Range.create(value, value);
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DFrame.java107 return FrameValue.create(mBackingStore); in asFrameValue()
111 return FrameValues.create(mBackingStore); in asFrameValues()
115 return FrameBuffer1D.create(mBackingStore); in asFrameBuffer1D()
119 return FrameBuffer2D.create(mBackingStore); in asFrameBuffer2D()
123 return FrameImage2D.create(mBackingStore); in asFrameImage2D()
136 public static Frame create(FrameType type, int[] dimensions) { in create() method in Frame
/frameworks/base/libs/hwui/tests/unit/
DLinearAllocatorTests.cpp30 TEST(LinearAllocator, create) { in TEST() argument
38 auto pair = la.create<SimplePair>(); in TEST()
50 la.create<TestUtils::SignalingDtor>()->setSignal(destroyed + i); in TEST()
51 la.create<SimplePair>(); in TEST()
55 la.create<TestUtils::SignalingDtor>(destroyed + 5 + i); in TEST()
77 auto sigdtor = la.create<TestUtils::SignalingDtor>(); in TEST()
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
DAlignmentTest.java50 View create(String name, int size); in create() method
54 public View create(String name, int size) {
68 public View create(String name, int size) {
77 public View create(String name, int size) {
87 public static ViewGroup create(Context context1) { in create() method in AlignmentTest
99 container.addView(factory.create(name, 20), layoutParams); in create()
124 setContentView(create(getBaseContext())); in onCreate()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
59 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/
DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
59 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/support/core-utils/java/android/support/v4/graphics/drawable/
DRoundedBitmapDrawableFactory.java66 public static RoundedBitmapDrawable create(Resources res, Bitmap bitmap) { in create() method in RoundedBitmapDrawableFactory
76 public static RoundedBitmapDrawable create(Resources res, in create() method in RoundedBitmapDrawableFactory
78 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeFile(filepath)); in create()
89 public static RoundedBitmapDrawable create(Resources res, in create() method in RoundedBitmapDrawableFactory
91 final RoundedBitmapDrawable drawable = create(res, BitmapFactory.decodeStream(is)); in create()
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
59 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
DUT_alloc.java40 Allocation A = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
46 Allocation AFaces = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
49 Allocation ALOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
52 Allocation AFacesLOD = Allocation.createTyped(RS, typeBuilder.create()); in initializeGlobals()
59 RenderScript pRS = RenderScript.create(mCtx); in run()
/frameworks/rs/tests/java_api/RsBLAS_Benchmark/src/com/example/android/rs/blasbenchmark/
DBNNMTest.java53 mBLAS = ScriptIntrinsicBLAS.create(mRS); in createTest()
223 Type a_type = builder.setX(k).setY(m).create(); in setTestSmall()
224 Type b_type = builder.setX(k).setY(n).create(); in setTestSmall()
225 Type c_type = builder.setX(n).setY(m).create(); in setTestSmall()
293 Type a_type = builder.setX(k).setY(m).create(); in setTestMedium()
294 Type b_type = builder.setX(k).setY(n).create(); in setTestMedium()
295 Type c_type = builder.setX(n).setY(m).create(); in setTestMedium()
342 Type a_type = builder.setX(k).setY(m).create(); in setTestLarge()
343 Type b_type = builder.setX(k).setY(n).create(); in setTestLarge()
344 Type c_type = builder.setX(n).setY(m).create(); in setTestLarge()
DSGEMMTest.java51 mBLAS = ScriptIntrinsicBLAS.create(mRS); in createTest()
146 Type a_type = builder.setX(k).setY(m).create(); in setTestSmall()
147 Type b_type = builder.setX(n).setY(k).create(); in setTestSmall()
148 Type c_type = builder.setX(n).setY(m).create(); in setTestSmall()
201 Type a_type = builder.setX(k).setY(m).create(); in setTestMedium()
202 Type b_type = builder.setX(n).setY(k).create(); in setTestMedium()
203 Type c_type = builder.setX(n).setY(m).create(); in setTestMedium()
249 Type a_type = builder.setX(k).setY(m).create(); in setTestLarge()
250 Type b_type = builder.setX(n).setY(k).create(); in setTestLarge()
251 Type c_type = builder.setX(n).setY(m).create(); in setTestLarge()

12345678910>>...45