/libcore/luni/src/test/java/libcore/java/util/ |
LocaleTest.java | 237 Locale.Builder b = new Locale.Builder(); 243 b = new Locale.Builder(); 269 b = new Locale.Builder(); 274 b = new Locale.Builder(); 281 Locale.Builder b = new Locale.Builder(); 287 b = new Locale.Builder(); 311 b = new Locale.Builder(); 316 b = new Locale.Builder(); [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineSelect.cpp | 62 static Value *generateMinMaxSelectPattern(InstCombiner::BuilderTy *Builder, 67 return Builder->CreateSelect(Builder->CreateICmp(Pred, A, B), A, B); 141 Value *NewSI = Builder->CreateSelect(SI.getCondition(), TI->getOperand(0), 181 Value *NewSI = Builder->CreateSelect(SI.getCondition(), OtherOpT, 229 Value *NewSel = Builder->CreateSelect(SI.getCondition(), OOp, C); 264 Value *NewSel = Builder->CreateSelect(SI.getCondition(), C, OOp); 300 InstCombiner::BuilderTy *Builder) { 331 V = Builder->CreateZExtOrTrunc(V, Y->getType()); 332 V = Builder->CreateShl(V, C2Log - C1Log) [all...] |
/frameworks/base/core/java/android/net/ |
VpnService.java | 81 * {@link Builder#establish}. The former deals with user action and stops 83 * a VPN interface using the parameters supplied to the {@link Builder}. 93 * <li>Supply those parameters to a {@link Builder} and create a VPN 94 * interface by calling {@link Builder#establish}.</li> 114 * @see Builder 241 * be routed over the VPN. @see Builder#allowFamily 249 * @see Builder#addAddress 272 * allowed for the rest of the VPN's session. @see Builder#allowFamily 318 * when the VPN has not yet been established, see {@link Builder#setUnderlyingNetworks}. 403 public class Builder { [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
ScheduledRecording.java | 77 public static Builder builder(Program p) { method in class:ScheduledRecording 78 return new Builder() 84 public static Builder builder(long startTime, long endTime) { method in class:ScheduledRecording 85 return new Builder() 91 public static final class Builder { 102 private Builder() { } 104 public Builder setId(long id) { 109 public Builder setPriority(long priority) [all...] |
/external/llvm/lib/CodeGen/ |
SjLjEHPrepare.cpp | 128 IRBuilder<> Builder(I); 136 Builder.CreateGEP(FunctionContextTy, FuncCtx, Idxs, "call_site"); 141 Builder.CreateStore(CallSiteNoC, CallSite, true /*volatile*/); 183 IRBuilder<> Builder(SelI->getParent(), std::next(SelI->getIterator())); 184 LPadVal = Builder.CreateInsertValue(LPadVal, ExnVal, 0, "lpad.val"); 185 LPadVal = Builder.CreateInsertValue(LPadVal, SelVal, 1, "lpad.val"); 207 IRBuilder<> Builder(LPI->getParent(), 212 Builder.CreateConstGEP2_32(FunctionContextTy, FuncCtx, 0, 2, "__data"); 215 Value *ExceptionAddr = Builder.CreateConstGEP2_32(doubleUnderDataTy, FCData, 217 Value *ExnVal = Builder.CreateLoad(ExceptionAddr, true, "exn_val") [all...] |
/external/llvm/lib/Transforms/Instrumentation/ |
GCOVProfiling.cpp | 613 IRBuilder<> Builder(&*BB->getFirstInsertionPt()); 614 Value *Counter = Builder.CreateConstInBoundsGEP2_64(Counters, 0, 616 Value *Count = Builder.CreateLoad(Counter); 617 Count = Builder.CreateAdd(Count, Builder.getInt64(1)); 618 Builder.CreateStore(Count, Counter); 620 IRBuilder<> Builder(BI); 621 Value *Sel = Builder.CreateSelect(BI->getCondition(), 622 Builder.getInt64(Edge), 623 Builder.getInt64(Edge + 1)) [all...] |
/external/clang/lib/CodeGen/ |
CGExprScalar.cpp | 63 CGBuilderTy &Builder; 69 : CGF(cgf), Builder(CGF.Builder), IgnoreResultAssign(ira), 170 return Builder.CreateFCmpUNE(V, Zero, "tobool"); 177 return Builder.CreateICmpNE(V, Zero, "tobool"); 185 if (ZI->getOperand(0)->getType() == Builder.getInt1Ty()) { 196 return Builder.CreateIsNotNull(V, "tobool"); 226 return Builder.getInt(E->getValue()); 250 return Builder.CreateBitCast(V, ConvertType(E->getType())); 419 return llvm::ConstantInt::get(Builder.getInt32Ty(), E->getValue()) [all...] |
CGException.cpp | 366 Address typedAddr = Builder.CreateBitCast(addr, ty); 396 return Builder.CreateLoad(getExceptionSlot(), "exn"); 400 return Builder.CreateLoad(getEHSelectorSlot(), "sel"); 484 llvm::Value *zero = CGF.Builder.getInt32(0); 486 CGF.Builder.CreateICmpSLT(selector, zero, "ehspec.fails"); 487 CGF.Builder.CreateCondBr(failsFilter, unexpectedBB, 500 CGF.Builder.CreateUnreachable(); 643 CGBuilderTy Builder(*this, DispatchBlock); 748 CGBuilderTy::InsertPoint savedIP = Builder.saveAndClearIP(); 755 llvm::LandingPadInst *LPadInst = Builder.CreateLandingPad [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
KSBuilder_ImplTest.java | 50 * Tests for <code>KeyStore.Builder</code> class 118 KeyStore.Builder.newInstance(null, protPass); 126 KeyStore.Builder ksB; 129 KeyStore.Builder.newInstance(ks, null); 151 KeyStore.Builder.newInstance(ks, pp[i]); 156 ksB = KeyStore.Builder.newInstance(ks, pp[i]); 161 ksB = KeyStore.Builder.newInstance(ks, pp[i]); 241 KeyStore.Builder ksB; 242 KeyStore.Builder ksB1; 250 KeyStore.Builder.newInstance(null, defaultProvider, fl, protPass) [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/config/ |
VmConfig.java | 49 private VmConfig(Builder builder) { 50 this.platform = builder.platform; 51 this.vmHome = builder.vmHome; 52 this.options = builder.optionsBuilder.build(); 119 @VisibleForTesting public static final class Builder { 122 private final ImmutableList.Builder<String> optionsBuilder = ImmutableList.builder(); 125 public Builder(Platform platform, File vmHome) { 130 public Builder addOption(String option) [all...] |
/external/caliper/caliper/src/main/java/com/google/caliper/model/ |
InstrumentSpec.java | 50 private InstrumentSpec(Builder builder) { 51 this.className = builder.className; 52 this.options = Maps.newTreeMap(builder.options); 97 public static final class Builder { 101 public Builder className(String className) { 106 public Builder instrumentClass(Class<?> insturmentClass) { 110 public Builder addOption(String option, String value) { 115 public Builder addAllOptions(Map<String, String> options) {
|
VmSpec.java | 48 private VmSpec(Builder builder) { 49 this.properties = Maps.newTreeMap(builder.properties); 50 this.options = Maps.newTreeMap(builder.options); 100 public static final class Builder { 104 public Builder addOption(String optionName, String value) { 109 public Builder addAllOptions(Map<String, String> options) { 114 public Builder addProperty(String property, String value) { 119 public Builder addAllProperties(Map<String, String> properties) {
|
/frameworks/base/wifi/java/android/net/wifi/nan/ |
ConfigRequest.java | 24 * {@link ConfigRequest.Builder}. Configuration is requested using 149 * Builder used to build {@link ConfigRequest} objects. 151 public static final class Builder { 158 * Default constructor for the Builder. 160 public Builder() { 171 * @return The builder to facilitate chaining 172 * {@code builder.setXXX(..).setXXX(..)}. 174 public Builder setSupport5gBand(boolean support5gBand) { 184 * @return The builder to facilitate chaining 185 * {@code builder.setXXX(..).setXXX(..)} [all...] |
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/ |
RsBrickedBitMask.java | 59 Type.Builder b = new Type.Builder(state.mRs, android.renderscript.Element.U32(state.mRs));
83 Type.Builder b = new Type.Builder(rs, android.renderscript.Element.U32(rs));
91 Type.Builder b = new Type.Builder(rs, android.renderscript.Element.U8(rs));
|
/libcore/ojluni/src/test/java/util/stream/bootlib/java/util/stream/ |
TestFlagExpectedOp.java | 31 static class Builder<T> { 39 Builder(int flags) { 43 Builder<T> known(EnumSet<StreamOpFlag> known) { 48 Builder<T> preserve(EnumSet<StreamOpFlag> preserve) { 53 Builder<T> notKnown(EnumSet<StreamOpFlag> notKnown) { 58 Builder<T> shape(StreamShape shape) {
|
/libcore/ojluni/src/test/java/util/stream/testlib/org/openjdk/testlib/java/util/stream/ |
TestFlagExpectedOp.java | 32 static class Builder<T> { 40 Builder(int flags) { 44 Builder<T> known(EnumSet<StreamOpFlag> known) { 49 Builder<T> preserve(EnumSet<StreamOpFlag> preserve) { 54 Builder<T> notKnown(EnumSet<StreamOpFlag> notKnown) { 59 Builder<T> shape(StreamShape shape) {
|
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/ |
NotificationTestList.java | 93 Notification n = new Notification.Builder(NotificationTestList.this) 100 new AudioAttributes.Builder().setUsage( 115 Notification n = new Notification.Builder(NotificationTestList.this) 123 n = new Notification.Builder(NotificationTestList.this) 131 n = new Notification.Builder(NotificationTestList.this) 139 n = new Notification.Builder(NotificationTestList.this) 153 Notification n = new Notification.Builder(NotificationTestList.this) 161 n = new Notification.Builder(NotificationTestList.this) 169 n = new Notification.Builder(NotificationTestList.this) 182 Notification n = new Notification.Builder(NotificationTestList.this [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
PopupMenuTest.java | 42 private Builder mBuilder; 99 mBuilder = new Builder().inflateWithInflater(true); 107 mBuilder = new Builder().inflateWithInflater(false); 115 mBuilder = new Builder(); 124 mBuilder = new Builder().withGravity(Gravity.TOP); 131 mBuilder = new Builder().withDismissListener(); 152 mBuilder = new Builder().withDismissListener() 180 mBuilder = new Builder().withDismissListener() 230 mBuilder = new Builder().withMenuItemClickListener().withDismissListener(); 252 mBuilder = new Builder().withDismissListener().withMenuItemClickListener( [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccount.java | 227 public static class Builder { 241 * Creates a builder with the specified {@link PhoneAccountHandle} and label. 243 public Builder(PhoneAccountHandle accountHandle, CharSequence label) { 249 * Creates an instance of the {@link PhoneAccount.Builder} from an existing 252 * @param phoneAccount The {@link PhoneAccount} used to initialize the builder. 254 public Builder(PhoneAccount phoneAccount) { 272 * @return The builder. 274 public Builder setAddress(Uri value) { 283 * @return The builder. 285 public Builder setSubscriptionAddress(Uri value) 440 public static Builder builder( method in class:PhoneAccount [all...] |
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
ForEachTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); 78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); 80 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); 92 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); 94 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); 106 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); 108 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); 120 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); 122 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create() [all...] |
KernelTest.java | 59 Type t = new Type.Builder(mRS, Element.I8(mRS)).setX(x).create(); 66 t = new Type.Builder(mRS, Element.U8(mRS)).setX(x).create(); 78 t = new Type.Builder(mRS, Element.I8_2(mRS)).setX(x).create(); 80 t = new Type.Builder(mRS, Element.U8_2(mRS)).setX(x).create(); 92 t = new Type.Builder(mRS, Element.I8_3(mRS)).setX(x).create(); 94 t = new Type.Builder(mRS, Element.U8_3(mRS)).setX(x).create(); 106 t = new Type.Builder(mRS, Element.I8_4(mRS)).setX(x).create(); 108 t = new Type.Builder(mRS, Element.U8_4(mRS)).setX(x).create(); 120 t = new Type.Builder(mRS, Element.I16(mRS)).setX(x).create(); 122 t = new Type.Builder(mRS, Element.U16(mRS)).setX(x).create() [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
ConnectionSpec.java | 55 public static final ConnectionSpec MODERN_TLS = new Builder(true) 62 public static final ConnectionSpec COMPATIBLE_TLS = new Builder(MODERN_TLS) 68 public static final ConnectionSpec CLEARTEXT = new Builder(false).build(); 83 private ConnectionSpec(Builder builder) { 84 this.tls = builder.tls; 85 this.cipherSuites = builder.cipherSuites; 86 this.tlsVersions = builder.tlsVersions; 87 this.supportsTlsExtensions = builder.supportsTlsExtensions; 168 return new Builder(this [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SipProfile.java | 38 * SipProfile.Builder}. You can also retrieve one from a {@link SipSession}, using {@link 79 public static class Builder { 96 * Creates a builder based on the given profile. 98 public Builder(SipProfile profile) { 119 public Builder(String uriString) throws ParseException { 141 public Builder(String username, String serverDomain) 161 * @return this builder object 163 public Builder setAuthUserName(String name) { 172 * @return this builder object 174 public Builder setProfileName(String name) [all...] |
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
Target.java | 23 * can be created via the {@link Builder} class. 25 * <p>To use the target, use the {@link Palette.Builder#addTarget(Target)} API when building a 283 * Builder class for generating custom {@link Target} instances. 285 public final static class Builder { 289 * Create a new {@link Target} builder from scratch. 291 public Builder() { 296 * Create a new builder based on an existing {@link Target}. 298 public Builder(Target target) { 305 public Builder setMinimumSaturation(@FloatRange(from = 0, to = 1) float value) { 313 public Builder setTargetSaturation(@FloatRange(from = 0, to = 1) float value) [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUPromoteAlloca.cpp | 206 IRBuilder<> Builder(Inst); 211 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 212 Value *VecValue = Builder.CreateLoad(BitCast); 213 Value *ExtractElement = Builder.CreateExtractElement(VecValue, Index); 221 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); 222 Value *VecValue = Builder.CreateLoad(BitCast); 223 Value *NewVecValue = Builder.CreateInsertElement(VecValue, 226 Builder.CreateStore(NewVecValue, BitCast); 282 IRBuilder<> Builder(&I); 337 Value *TCntY = Builder.CreateCall(ReadLocalSizeY, {}) [all...] |