/cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/ |
ProgramFragmentTest.java | 43 Type.Builder typeB = new Type.Builder(mRS, Element.RGB_888(mRS)); 82 ProgramFragment.Builder pfb = new ProgramFragment.Builder(mRS); 90 // Add textures through the base program builder 214 ProgramFragment.Builder pfb = new ProgramFragment.Builder(mRS);
|
ProgramVertexTest.java | 43 Element.Builder eb = new Element.Builder(mRS); 47 eb = new Element.Builder(mRS); 52 eb = new Element.Builder(mRS); 93 ProgramVertex.Builder pvb = new ProgramVertex.Builder(mRS); 102 // Add constants through the base builder class to
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 143 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), 183 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, 231 Value *NewSel = Builder->CreateSelect(SI.getCondition(), OOp, C); 266 Value *NewSel = Builder->CreateSelect(SI.getCondition(), C, OOp); 477 Value *AShr = Builder->CreateAShr(CmpLHS, Ty->getBitWidth()-1); 481 return ReplaceInstUsesWith(SI, Builder->CreateOr(AShr, C1)); 483 Value *And = Builder->CreateAnd(AShr, C2->getValue()-C1->getValue()); 484 return ReplaceInstUsesWith(SI, Builder->CreateAdd(And, C1)); 597 InstCombiner::BuilderTy *Builder) { 624 TrueVal = ConstantInt::get(Builder->getContext() [all...] |
InstCombineAndOrXor.cpp | 98 InstCombiner::BuilderTy *Builder) { 102 return Builder->CreateICmp(NewPred, LHS, RHS); 110 InstCombiner::BuilderTy *Builder) { 125 return Builder->CreateFCmp(Pred, LHS, RHS); 144 Value *And = Builder->CreateAnd(X, AndRHS); 153 Value *Or = Builder->CreateOr(X, Together); 164 Value *And = Builder->CreateAnd(X, Together); 196 Value *NewAnd = Builder->CreateAnd(X, AndRHS); 260 ShVal = Builder->CreateLShr(ShVal, OpRHS, Op->getName()); 289 return Builder->CreateICmp(pred, V, Hi) [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
FillTest.java | 110 ProgramFragment.Builder pfbCustom = new ProgramFragment.Builder(mRS); 117 pfbCustom = new ProgramFragment.Builder(mRS); 122 pfbCustom = new ProgramFragment.Builder(mRS); 147 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS);
|
MeshTest.java | 144 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); 153 ProgramFragmentFixedFunction.Builder texBuilder = new ProgramFragmentFixedFunction.Builder(mRS); 154 texBuilder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, 155 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
EntitySet.java | 26 import android.content.ContentProviderOperation.Builder; 144 final Builder builder = beginKeepTogether(); local 145 builder.withValue(AggregationExceptions.RAW_CONTACT_ID1, rawContactId); 146 builder.withValueBackReference(AggregationExceptions.RAW_CONTACT_ID2, firstBatch); 147 diff.add(builder.build()); 155 final Builder builder = beginKeepTogether(); local 156 builder.withValueBackReference(AggregationExceptions.RAW_CONTACT_ID1, firstInsertRow); 157 builder.withValueBackReference(AggregationExceptions.RAW_CONTACT_ID2, firstBatch) 179 final Builder builder = ContentProviderOperation local 206 Builder builder = local [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
AllocationTest.java | 28 import android.renderscript.Type.Builder; 38 Type.Builder typeBuilder = new Type.Builder(mRS, e); 60 Type.Builder typeBuilder = new Type.Builder(mRS, e); 267 Type.Builder b = new Type.Builder(mRS, Element.U8(mRS)); 275 Type.Builder b = new Type.Builder(mRS, Element.U8(mRS)); 408 Type.Builder typeBuilder [all...] |
/frameworks/base/core/java/android/net/ |
Uri.java | 371 StringBuilder builder = new StringBuilder(64); local 372 builder.append(scheme); 373 builder.append(':'); 378 builder.append(c); 380 builder.append('x'); 384 return builder.toString(); 390 StringBuilder builder = new StringBuilder(64); local 392 builder.append(scheme); 393 builder.append(':'); 396 builder.append(ssp) 1205 StringBuilder builder = new StringBuilder(); local 1274 StringBuilder builder = new StringBuilder(); local 2291 Builder builder = baseUri.buildUpon(); local [all...] |
/external/robolectric/src/main/java/android/net/ |
Uri__FromAndroid.java | 350 * Constructs a new builder, copying the attributes from this Uri. 352 public abstract Builder buildUpon(); 724 public Builder buildUpon() { 726 return new Builder() 733 return new Builder() 755 * @see Builder if you don't want the ssp and fragment to be encoded 904 public Builder buildUpon() { 905 return new Builder() 1153 StringBuilder builder = new StringBuilder(); local 1222 StringBuilder builder = new StringBuilder(); local 2246 Builder builder = baseUri.buildUpon(); local [all...] |
/external/clang/lib/CodeGen/ |
CGDebugInfo.h | 211 void EmitLocation(CGBuilderTy &Builder, SourceLocation Loc, 217 llvm::Function *Fn, CGBuilderTy &Builder); 220 void EmitFunctionEnd(CGBuilderTy &Builder); 224 void EmitLexicalBlockStart(CGBuilderTy &Builder, SourceLocation Loc); 228 void EmitLexicalBlockEnd(CGBuilderTy &Builder, SourceLocation Loc); 233 CGBuilderTy &Builder); 239 CGBuilderTy &Builder, 245 unsigned ArgNo, CGBuilderTy &Builder); 253 CGBuilderTy &Builder); 275 unsigned ArgNo, CGBuilderTy &Builder); [all...] |
CGDecl.cpp | 228 else if (Builder.GetInsertBlock()) { 384 llvm::Value *DidNRVO = CGF.Builder.CreateLoad(NRVOFlag, "nrvo.val"); 385 CGF.Builder.CreateCondBr(DidNRVO, SkipDtorBB, RunDtorBB); 402 llvm::Value *V = CGF.Builder.CreateLoad(Stack); 404 CGF.Builder.CreateCall(F, V); 446 CGF.Builder.CreateBitCast(Addr, CGF.ConvertType(ArgTy)); 567 tempLV.setAddress(Builder.CreateStructGEP(tempLV.getAddress(), 711 bool isVolatile, CGBuilderTy &Builder) { 718 Builder.CreateStore(Init, Loc, isVolatile); 729 emitStoresForInitAfterMemset(Elt, Builder.CreateConstGEP2_32(Loc, 0, i) [all...] |
BackendUtil.cpp | 142 static void addObjCARCAPElimPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { 143 if (Builder.OptLevel > 0) 147 static void addObjCARCExpandPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { 148 if (Builder.OptLevel > 0) 152 static void addObjCARCOptPass(const PassManagerBuilder &Builder, PassManagerBase &PM) { 153 if (Builder.OptLevel > 0) 157 static void addBoundsCheckingPass(const PassManagerBuilder &Builder, 162 static void addAddressSanitizerPasses(const PassManagerBuilder &Builder, 165 static_cast<const PassManagerBuilderWrapper&>(Builder); 180 static void addMemorySanitizerPass(const PassManagerBuilder &Builder, [all...] |
CGObjCGNU.cpp | 600 CGBuilderTy &Builder = CGF.Builder; 602 EnforceType(Builder, Receiver, IdTy), 603 EnforceType(Builder, cmd, SelectorTy) }; 611 CGBuilderTy &Builder = CGF.Builder; 612 llvm::Value *lookupArgs[] = {EnforceType(Builder, ObjCSuper, 659 CGBuilderTy &Builder = CGF.Builder; 664 Builder.CreateStore(Receiver, ReceiverPtr) [all...] |
CGExprAgg.cpp | 43 CGBuilderTy &Builder; 73 : CGF(cgf), Builder(CGF.Builder), Dest(Dest) { 211 llvm::Value *valueAddr = CGF.Builder.CreateStructGEP(Dest.getAddr(), 0); 404 llvm::Value *arrayStart = Builder.CreateStructGEP(alloc, 0, "arraystart"); 415 llvm::Value *arrayEnd = Builder.CreateStructGEP(alloc,numInits, "arrayend"); 419 CGF.EmitStoreThroughLValue(RValue::get(Builder.getInt(size)), endOrLength); 442 Builder.CreateInBoundsGEP(DestPtr, indices, "arrayinit.begin"); 458 cleanupDominator = Builder.CreateStore(begin, endOfInit); 481 element = Builder.CreateInBoundsGEP(element, one, "arrayinit.element") [all...] |
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationShowcaseActivity.java | 213 NotificationCompat.Builder bigTextNotification = new NotificationCompat.Builder(context) 241 NotificationCompat.Builder uploadNotification = new NotificationCompat.Builder(context) 270 mNotifications.add(new NotificationCompat.Builder(this) 282 mNotifications.add(new NotificationCompat.Builder(this) 290 mNotifications.add(new NotificationCompat.Builder(this) 309 new NotificationCompat.Builder(this) 335 new NotificationCompat.Builder(this) 347 mNotifications.add(new NotificationCompat.Builder(this [all...] |
/external/guava/guava/src/com/google/common/collect/ |
MinMaxPriorityQueue.java | 97 return new Builder<Comparable>(Ordering.natural()).create(); 106 return new Builder<E>(Ordering.<E>natural()).create(initialContents); 110 * Creates and returns a new builder, configured to build {@code 114 public static <B> Builder<B> orderedBy(Comparator<B> comparator) { 115 return new Builder<B>(comparator); 119 * Creates and returns a new builder, configured to build {@code 123 public static Builder<Comparable> expectedSize(int expectedSize) { 124 return new Builder<Comparable>(Ordering.natural()) 129 * Creates and returns a new builder, configured to build {@code 135 public static Builder<Comparable> maximumSize(int maximumSize) [all...] |
ImmutableList.java | 531 * Returns a new builder. The generated builder is equivalent to the builder 532 * created by the {@link Builder} constructor. 534 public static <E> Builder<E> builder() { 535 return new Builder<E>(); 539 * A builder for creating immutable list instances, especially {@code public 543 * = new ImmutableList.Builder<Color>() 548 * Builder instances can be reused; it is safe to call {@link #build} multipl [all...] |
ImmutableSet.java | 528 * Returns a new builder. The generated builder is equivalent to the builder 529 * created by the {@link Builder} constructor. 531 public static <E> Builder<E> builder() { 532 return new Builder<E>(); 536 * A builder for creating immutable set instances, especially {@code public 540 * new ImmutableSet.Builder<Color>() 545 * Builder instances can be reused; it is safe to call {@link #build} multipl [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMap.java | 99 // looking for of() with > 5 entries? Use the builder instead. 101 public static <K, V> Builder<K, V> builder() { method in class:ImmutableMap 102 return new Builder<K, V>(); 109 public static class Builder<K, V> { 112 public Builder() {} 114 public Builder<K, V> put(K key, V value) { 119 public Builder<K, V> put(Entry<? extends K, ? extends V> entry) { 132 public Builder<K, V> putAll(Map<? extends K, ? extends V> map) {
|
ImmutableList.java | 284 public static <E> Builder<E> builder() { method in class:ImmutableList 285 return new Builder<E>(); 288 public static final class Builder<E> extends ImmutableCollection.Builder<E> { 291 public Builder() {} 293 @Override public Builder<E> add(E element) { 298 @Override public Builder<E> addAll(Iterable<? extends E> elements) { 303 @Override public Builder<E> add(E... elements) { 309 @Override public Builder<E> addAll(Iterator<? extends E> elements) [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
Mesh.java | 186 * Mesh builder object. It starts empty and requires you to 191 public static class Builder { 209 * Creates builder object 215 public Builder(RenderScript rs, int usage) { 226 * builder 235 * builder 243 * Adds a vertex data type to the builder object 249 public Builder addVertexType(Type t) throws IllegalStateException { 263 * Adds a vertex data type to the builder object 270 public Builder addVertexType(Element e, int size) throws IllegalStateException [all...] |