/external/flatbuffers/tests/MyGame/Example/ |
TestSimpleTableWithEnum.go | 41 func TestSimpleTableWithEnumStart(builder *flatbuffers.Builder) { 42 builder.StartObject(1) 44 func TestSimpleTableWithEnumAddColor(builder *flatbuffers.Builder, color int8) { 45 builder.PrependInt8Slot(0, color, 2) 47 func TestSimpleTableWithEnumEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 48 return builder.EndObject()
|
/external/flatbuffers/tests/namespace_test/NamespaceA/NamespaceB/ |
TableInNestedNS.go | 41 func TableInNestedNSStart(builder *flatbuffers.Builder) { 42 builder.StartObject(1) 44 func TableInNestedNSAddFoo(builder *flatbuffers.Builder, foo int32) { 45 builder.PrependInt32Slot(0, foo, 0) 47 func TableInNestedNSEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 48 return builder.EndObject()
|
/external/flatbuffers/tests/namespace_test/NamespaceA/ |
SecondTableInA.go | 42 func SecondTableInAStart(builder *flatbuffers.Builder) { 43 builder.StartObject(1) 45 func SecondTableInAAddReferToC(builder *flatbuffers.Builder, referToC flatbuffers.UOffsetT) { 46 builder.PrependUOffsetTSlot(0, flatbuffers.UOffsetT(referToC), 0) 48 func SecondTableInAEnd(builder *flatbuffers.Builder) flatbuffers.UOffsetT { 49 return builder.EndObject()
|
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableMultimapTest.java | 20 import com.google.common.collect.ImmutableMultimap.Builder; 40 ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>() 47 Builder<String, Integer> builder = new Builder<String, Integer>(); local 49 builder.put(Maps.immutableEntry("one", (Integer) null)); 54 builder.put(Maps.immutableEntry((String) null, 1)); 65 ImmutableMultimap.Builder<String, Integer> builder = local 66 new Builder<String, Integer>() [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableMultimapTest.java | 20 import com.google.common.collect.ImmutableMultimap.Builder; 40 ImmutableMultimap<String, Integer> multimap = new Builder<String, Integer>() 47 Builder<String, Integer> builder = new Builder<String, Integer>(); local 49 builder.put(Maps.immutableEntry("one", (Integer) null)); 54 builder.put(Maps.immutableEntry((String) null, 1)); 65 ImmutableMultimap.Builder<String, Integer> builder = local 66 new Builder<String, Integer>() [all...] |
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleBuilderTest.java | 19 import android.icu.util.ULocale.Builder; 108 Builder bld_st = new Builder(); 114 Builder bld = bld_st; 201 Builder bld = new Builder(); 206 errln("FAIL: Locale loc1 " + loc1 + " was returned by the builder. Expected " + loc); 212 errln("FAIL: Locale loc2 " + loc2 + " was returned by the builder. Expected " + loc);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleBuilderTest.java | 18 import com.ibm.icu.util.ULocale.Builder; 107 Builder bld_st = new Builder(); 113 Builder bld = bld_st; 200 Builder bld = new Builder(); 205 errln("FAIL: Locale loc1 " + loc1 + " was returned by the builder. Expected " + loc); 211 errln("FAIL: Locale loc2 " + loc2 + " was returned by the builder. Expected " + loc);
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/ |
SeekBarDialogTask.java | 21 import android.app.AlertDialog.Builder; 95 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); local 97 builder.setTitle(mTitle); 100 builder.setMessage(mMessage); 102 builder.setView(mSeekBar); 103 configureButtons(builder, getActivity()); 104 addOnCancelListener(builder, getActivity()); 105 mDialog = builder.show() [all...] |
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
MediaNotificationProcessorTest.java | 57 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( local 62 Notification notification = builder.build(); 63 mProcessor.processNotification(notification, builder); 69 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( local 73 Notification notification = builder.build(); 74 mProcessor.processNotification(notification, builder); 80 Notification.Builder builder = new Notification.Builder(getContext()).setSmallIcon( local [all...] |
/frameworks/base/wifi/java/android/net/wifi/aware/ |
ConfigRequest.java | 26 * {@link ConfigRequest.Builder}. Configuration is requested using 213 * Builder used to build {@link ConfigRequest} objects. 215 public static final class Builder { 227 * @return The builder to facilitate chaining 228 * {@code builder.setXXX(..).setXXX(..)}. 230 public Builder setSupport5gBand(boolean support5gBand) { 241 * @return The builder to facilitate chaining 242 * {@code builder.setXXX(..).setXXX(..)}. 244 public Builder setMasterPreference(int masterPreference) { 261 * the {@link ConfigRequest.Builder#setClusterHigh(int)}. The permitte [all...] |
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
MediaRouteSelector.java | 32 * This object is immutable once created using a {@link Builder} instance. 37 * MediaRouteSelector selectorBuilder = new MediaRouteSelector.Builder() 210 * Builder for {@link MediaRouteSelector media route selectors}. 212 public static final class Builder { 216 * Creates an empty media route selector builder. 218 public Builder() { 222 * Creates a media route selector descriptor builder whose initial contents are 225 public Builder(@NonNull MediaRouteSelector selector) { 237 * Adds a {@link MediaControlIntent media control category} to the builder. 241 * @return The builder instance for chaining [all...] |
/packages/services/Car/tests/carservice_test/src/android/media/tests/ |
AudioPolicyTest.java | 66 AudioPolicy audioPolicy = new AudioPolicy.Builder(getContext()) 88 AudioAttributes.Builder audioAttributesBuilder = new AudioAttributes.Builder(); 91 AudioFormat audioFormat = new AudioFormat.Builder() 96 AudioMixingRule audioMixingRule = new AudioMixingRule.Builder() 99 return new AudioMix.Builder(audioMixingRule)
|
/frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/ |
UT_alloc_copyPadded.java | 91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 156 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 190 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); 225 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)) [all...] |
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
UT_alloc_copyPadded.java | 91 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 123 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 156 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I8_3(mRS)); 190 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)); 225 Type.Builder typeBuilder = new Type.Builder(mRS, Element.I16_3(mRS)) [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter1/ |
toy.cpp | 688 static IRBuilder<> Builder(TheContext); 734 return Builder.CreateLoad(V, Name.c_str()); 746 return Builder.CreateCall(F, OperandV, "unop"); 769 Builder.CreateStore(Val, Variable); 780 return Builder.CreateFAdd(L, R, "addtmp"); 782 return Builder.CreateFSub(L, R, "subtmp"); 784 return Builder.CreateFMul(L, R, "multmp"); 786 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 799 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter2/ |
toy.cpp | 688 static IRBuilder<> Builder(TheContext); 734 return Builder.CreateLoad(V, Name.c_str()); 746 return Builder.CreateCall(F, OperandV, "unop"); 769 Builder.CreateStore(Val, Variable); 780 return Builder.CreateFAdd(L, R, "addtmp"); 782 return Builder.CreateFSub(L, R, "subtmp"); 784 return Builder.CreateFMul(L, R, "multmp"); 786 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 799 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter3/ |
toy.cpp | 688 static IRBuilder<> Builder(TheContext); 734 return Builder.CreateLoad(V, Name.c_str()); 746 return Builder.CreateCall(F, OperandV, "unop"); 769 Builder.CreateStore(Val, Variable); 780 return Builder.CreateFAdd(L, R, "addtmp"); 782 return Builder.CreateFSub(L, R, "subtmp"); 784 return Builder.CreateFMul(L, R, "multmp"); 786 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 788 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 799 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter4/ |
toy.cpp | 676 static IRBuilder<> Builder(TheContext); 723 return Builder.CreateLoad(V, Name.c_str()); 735 return Builder.CreateCall(F, OperandV, "unop"); 758 Builder.CreateStore(Val, Variable); 769 return Builder.CreateFAdd(L, R, "addtmp"); 771 return Builder.CreateFSub(L, R, "subtmp"); 773 return Builder.CreateFMul(L, R, "multmp"); 775 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 777 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 788 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/llvm/examples/Kaleidoscope/BuildingAJIT/Chapter5/ |
toy.cpp | 698 static IRBuilder<> Builder(TheContext); 745 return Builder.CreateLoad(V, Name.c_str()); 757 return Builder.CreateCall(F, OperandV, "unop"); 780 Builder.CreateStore(Val, Variable); 791 return Builder.CreateFAdd(L, R, "addtmp"); 793 return Builder.CreateFSub(L, R, "subtmp"); 795 return Builder.CreateFMul(L, R, "multmp"); 797 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 799 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 810 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/llvm/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 688 static IRBuilder<> Builder(TheContext); 735 return Builder.CreateLoad(V, Name.c_str()); 747 return Builder.CreateCall(F, OperandV, "unop"); 770 Builder.CreateStore(Val, Variable); 781 return Builder.CreateFAdd(L, R, "addtmp"); 783 return Builder.CreateFSub(L, R, "subtmp"); 785 return Builder.CreateFMul(L, R, "multmp"); 787 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 789 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 800 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/llvm/examples/Kaleidoscope/Chapter8/ |
toy.cpp | 685 static IRBuilder<> Builder(TheContext); 730 return Builder.CreateLoad(V, Name.c_str()); 742 return Builder.CreateCall(F, OperandV, "unop"); 765 Builder.CreateStore(Val, Variable); 776 return Builder.CreateFAdd(L, R, "addtmp"); 778 return Builder.CreateFSub(L, R, "subtmp"); 780 return Builder.CreateFMul(L, R, "multmp"); 782 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 784 return Builder.CreateUIToFP(L, Type::getDoubleTy(TheContext), "booltmp"); 795 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/swiftshader/third_party/LLVM/examples/Kaleidoscope/Chapter7/ |
toy.cpp | 607 static IRBuilder<> Builder(getGlobalContext()); 633 return Builder.CreateLoad(V, Name.c_str()); 644 return Builder.CreateCall(F, OperandV, "unop"); 662 Builder.CreateStore(Val, Variable); 671 case '+': return Builder.CreateFAdd(L, R, "addtmp"); 672 case '-': return Builder.CreateFSub(L, R, "subtmp"); 673 case '*': return Builder.CreateFMul(L, R, "multmp"); 675 L = Builder.CreateFCmpULT(L, R, "cmptmp"); 677 return Builder.CreateUIToFP(L, Type::getDoubleTy(getGlobalContext()), 688 return Builder.CreateCall(F, Ops, "binop") [all...] |
/external/clang/lib/CodeGen/ |
CGExpr.cpp | 55 return Builder.CreateBitCast(value, destType); 514 static llvm::Value *emitHash16Bytes(CGBuilderTy &Builder, llvm::Value *Low, 516 llvm::Value *KMul = Builder.getInt64(0x9ddfea08eb382d69ULL); 517 llvm::Value *K47 = Builder.getInt64(47); 518 llvm::Value *A0 = Builder.CreateMul(Builder.CreateXor(Low, High), KMul); 519 llvm::Value *A1 = Builder.CreateXor(Builder.CreateLShr(A0, K47), A0); 520 llvm::Value *B0 = Builder.CreateMul(Builder.CreateXor(High, A1), KMul) [all...] |
/cts/hostsidetests/shortcuts/deviceside/backup/publisher1/src/android/content/pm/cts/shortcut/backup/publisher1/ |
ShortcutManagerPreBackupTest.java | 37 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 48 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") 54 final ShortcutInfo s3 = new ShortcutInfo.Builder(getContext(), "s3")
|
/cts/hostsidetests/shortcuts/deviceside/backup/publisher2/src/android/content/pm/cts/shortcut/backup/publisher2/ |
ShortcutManagerPreBackupTest.java | 37 final ShortcutInfo s1 = new ShortcutInfo.Builder(getContext(), "s1") 48 final ShortcutInfo s2 = new ShortcutInfo.Builder(getContext(), "s2") 54 final ShortcutInfo s3 = new ShortcutInfo.Builder(getContext(), "s3")
|