/external/junit/src/org/junit/runners/ |
Suite.java | 63 * @param builder builds runners for classes in the suite 66 public Suite(Class<?> klass, RunnerBuilder builder) throws InitializationError { 67 this(builder, klass, getAnnotatedClasses(klass)); 74 * @param builder builds runners for classes in the suite 78 public Suite(RunnerBuilder builder, Class<?>[] classes) throws InitializationError { 79 this(null, builder.runners(null, classes)); 83 * Call this when the default builder is good enough. Left in for compatibility with JUnit 4.4. 95 * @param builder builds runners for classes in the suite 100 protected Suite(RunnerBuilder builder, Class<?> klass, Class<?>[] suiteClasses) throws InitializationError { 101 this(klass, builder.runners(klass, suiteClasses)) [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/ |
codegen.ml | 11 let builder = builder context var 25 | '+' -> build_add lhs_val rhs_val "addtmp" builder 26 | '-' -> build_sub lhs_val rhs_val "subtmp" builder 27 | '*' -> build_mul lhs_val rhs_val "multmp" builder 30 let i = build_fcmp Fcmp.Ult lhs_val rhs_val "cmptmp" builder in 31 build_uitofp i double_type "booltmp" builder 47 build_call callee args "calltmp" builder 86 position_at_end bb builder; 92 let _ = build_ret ret_val builder i [all...] |
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/ |
codegen.ml | 11 let builder = builder context var 25 | '+' -> build_fadd lhs_val rhs_val "addtmp" builder 26 | '-' -> build_fsub lhs_val rhs_val "subtmp" builder 27 | '*' -> build_fmul lhs_val rhs_val "multmp" builder 30 let i = build_fcmp Fcmp.Ult lhs_val rhs_val "cmptmp" builder in 31 build_uitofp i double_type "booltmp" builder 47 build_call callee args "calltmp" builder 86 position_at_end bb builder; 92 let _ = build_ret ret_val builder i [all...] |
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
lp_bld_gather.c | 59 offset = LLVMBuildExtractElement(gallivm->builder, offsets, index, ""); 62 ptr = LLVMBuildGEP(gallivm->builder, base_ptr, &offset, 1, ""); 91 ptr = LLVMBuildBitCast(gallivm->builder, ptr, src_ptr_type, ""); 92 res = LLVMBuildLoad(gallivm->builder, ptr, ""); 96 res = LLVMBuildTrunc(gallivm->builder, res, dst_elem_type, ""); 98 res = LLVMBuildZExt(gallivm->builder, res, dst_elem_type, ""); 144 res = LLVMBuildInsertElement(gallivm->builder, res, elem, index, ""); 157 LLVMBuilderRef builder = gallivm->builder; local 163 vec = LLVMBuildInsertElement(builder, vec, values[i], index, "") [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuDialogHelper.java | 55 // Get the builder for the dialog 56 final AlertDialog.Builder builder = new AlertDialog.Builder(menu.getContext()); local 58 mPresenter = new ListMenuPresenter(builder.getContext(), 63 builder.setAdapter(mPresenter.getAdapter(), this); 69 builder.setCustomTitle(headerView); 72 builder.setIcon(menu.getHeaderIcon()).setTitle(menu.getHeaderTitle()); 76 builder.setOnKeyListener(this); 79 mDialog = builder.create() [all...] |
/frameworks/ex/variablespeed/src/com/android/ex/variablespeed/ |
EngineParameters.java | 93 * We use the builder pattern to construct an {@link EngineParameters} 100 public static class Builder { 118 public Builder maxPlayBufferCount(int maxPlayBufferCount) { 123 public Builder windowDuration(int windowDuration) { 128 public Builder windowOverlapDuration(int windowOverlapDuration) { 133 public Builder initialRate(float initialRate) { 138 public Builder decodeBufferInitialSize(int decodeBufferInitialSize) { 143 public Builder decodeBufferMaxSize(int decodeBufferMaxSize) { 148 public Builder startPositionMillis(int startPositionMillis) { 153 public Builder audioStreamType(int audioStreamType) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
DataRowHandlerForOrganization.java | 128 public void appendSearchableData(IndexBuilder builder) { 129 builder.appendNameFromColumn(Organization.TITLE); 130 builder.appendNameFromColumn(Organization.COMPANY); 131 builder.appendContentFromColumn(Organization.TITLE); 132 builder.appendContentFromColumn(Organization.COMPANY, IndexBuilder.SEPARATOR_COMMA); 133 builder.appendContentFromColumn(Organization.PHONETIC_NAME, 135 builder.appendContentFromColumn(Organization.SYMBOL, IndexBuilder.SEPARATOR_PARENTHESES); 136 builder.appendContentFromColumn(Organization.DEPARTMENT, IndexBuilder.SEPARATOR_SLASH); 137 builder.appendContentFromColumn(Organization.OFFICE_LOCATION, IndexBuilder.SEPARATOR_SLASH); 138 builder.appendContentFromColumn(Organization.JOB_DESCRIPTION, IndexBuilder.SEPARATOR_SLASH) [all...] |
/external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/ |
TextFormatTest.java | 124 /** Print TestAllTypes as Builder and compare with golden file. */ 299 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 300 TextFormat.merge(allFieldsSetText, builder); 301 TestUtil.assertAllFieldsSet(builder.build()); 305 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 306 TextFormat.merge(new StringReader(allFieldsSetText), builder); 307 TestUtil.assertAllFieldsSet(builder.build()); 311 TestAllExtensions.Builder builder = TestAllExtensions.newBuilder() local 343 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 349 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 362 TestMessageSet.Builder builder = TestMessageSet.newBuilder(); local 377 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 383 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 390 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 401 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 655 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 683 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 697 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 718 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local 739 TestAllTypes.Builder builder = TestAllTypes.newBuilder(); local [all...] |
/cts/libs/vogar-expect/src/vogar/commands/ |
Command.java | 68 private Command(Builder builder) { 69 this.args = new ArrayList<String>(builder.args); 70 this.env = builder.env; 71 this.workingDirectory = builder.workingDirectory; 72 this.permitNonZeroExitStatus = builder.permitNonZeroExitStatus; 73 this.tee = builder.tee; 74 if (builder.maxLength != -1) { 76 if (string.length() > builder.maxLength) { 77 throw new IllegalStateException("Maximum command length " + builder.maxLengt [all...] |
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
IdentifiersFactory.cpp | 57 StringBuilder builder; local 58 builder.appendNumber(s_processId); 59 builder.append('.'); 60 builder.append(id); 61 return builder.toString();
|
/external/chromium_org/third_party/freetype/src/psaux/ |
t1decode.c | 196 FT_Outline* base = decoder->builder.base; 201 T1_Face face = (T1_Face)decoder->builder.face; 211 if ( decoder->builder.metrics_only ) 218 adx += decoder->builder.left_bearing.x; 257 if ( decoder->builder.no_recurse ) 259 FT_GlyphSlot glyph = (FT_GlyphSlot)decoder->builder.glyph; 294 /* First load `bchar' in builder */ 297 FT_GlyphLoader_Prepare( decoder->builder.loader ); /* prepare loader */ 309 left_bearing = decoder->builder.left_bearing; 310 advance = decoder->builder.advance 369 T1_Builder builder = &decoder->builder; local [all...] |
/external/freetype/src/psaux/ |
t1decode.c | 196 FT_Outline* base = decoder->builder.base; 201 T1_Face face = (T1_Face)decoder->builder.face; 211 if ( decoder->builder.metrics_only ) 218 adx += decoder->builder.left_bearing.x; 257 if ( decoder->builder.no_recurse ) 259 FT_GlyphSlot glyph = (FT_GlyphSlot)decoder->builder.glyph; 294 /* First load `bchar' in builder */ 297 FT_GlyphLoader_Prepare( decoder->builder.loader ); /* prepare loader */ 309 left_bearing = decoder->builder.left_bearing; 310 advance = decoder->builder.advance 369 T1_Builder builder = &decoder->builder; local [all...] |
/external/guava/guava/src/com/google/common/collect/ |
ExplicitOrdering.java | 53 ImmutableMap.Builder<T, Integer> builder = ImmutableMap.builder(); local 56 builder.put(value, rank++); 58 return builder.build();
|
RegularImmutableBiMap.java | 35 ImmutableMap.Builder<V, K> builder = ImmutableMap.builder(); local 37 builder.put(entry.getValue(), entry.getKey()); 39 ImmutableMap<V, K> backwardMap = builder.build();
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardParserImpl_V40.java | 62 final StringBuilder builder = new StringBuilder(); local 69 builder.append("\n"); 71 builder.append(next_ch); 74 builder.append(ch); 77 return builder.toString();
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
MessageTestUtils.java | 34 * Typical usage of these helper functions and builder objects are as follows. 101 * Builder class for Multipart. 103 * This builder object accepts any number of BodyParts and then can produce 105 * builder object and helper method. 112 * Create builder object with MIME type and dummy boundary string. 121 * Create builder object with MIME type and boundary string. 134 * @return builder object itself 168 * Builder class for Message 170 * This builder object accepts Body and then can produce Message object. 171 * Usually combined with other builder object and helper method [all...] |
/packages/apps/Settings/src/com/android/settings/print/ |
SettingsUtils.java | 62 StringBuilder builder = new StringBuilder(); local 66 if (builder.length() > 0) { 67 builder.append(ENABLED_PRINT_SERVICES_SEPARATOR); 69 builder.append(service.flattenToString()); 73 builder.toString());
|
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
BaseInputView.java | 63 * @param builder the builder of dialog 65 public void showDialog(AlertDialog.Builder builder) { 70 mOptionsDialog = builder.create();
|
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
Visualization4RS.java | 98 ProgramVertexFixedFunction.Builder pvb = new ProgramVertexFixedFunction.Builder(mRS); 136 Sampler.Builder samplerBuilder = new Sampler.Builder(mRS); 144 ProgramFragmentFixedFunction.Builder builder = new ProgramFragmentFixedFunction.Builder(mRS); local 145 builder.setTexture(ProgramFragmentFixedFunction.Builder.EnvMode.REPLACE, 146 ProgramFragmentFixedFunction.Builder.Format.RGBA, 0) 154 ProgramStore.Builder builder = new ProgramStore.Builder(mRS); local [all...] |
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 63 * GlyphTable::Builder class 65 GlyphTable::Builder::Builder(Header* header, ReadableFontData* data) 66 : SubTableContainerTable::Builder(header, data) { 69 GlyphTable::Builder::~Builder() { 72 void GlyphTable::Builder::SetLoca(const IntegerList& loca) { 78 void GlyphTable::Builder::GenerateLocaList(IntegerList* locas) { 96 CALLER_ATTACH GlyphTable::Builder* 97 GlyphTable::Builder::CreateBuilder(Header* header, WritableFontData* data) 98 Ptr<GlyphTable::Builder> builder; local 170 GlyphBuilderPtr builder; local 308 GlyphBuilderPtr builder; local [all...] |
/external/sfntly/cpp/src/sfntly/table/truetype/ |
glyph_table.cc | 63 * GlyphTable::Builder class 65 GlyphTable::Builder::Builder(Header* header, ReadableFontData* data) 66 : SubTableContainerTable::Builder(header, data) { 69 GlyphTable::Builder::~Builder() { 72 void GlyphTable::Builder::SetLoca(const IntegerList& loca) { 78 void GlyphTable::Builder::GenerateLocaList(IntegerList* locas) { 96 CALLER_ATTACH GlyphTable::Builder* 97 GlyphTable::Builder::CreateBuilder(Header* header, WritableFontData* data) 98 Ptr<GlyphTable::Builder> builder; local 170 GlyphBuilderPtr builder; local 308 GlyphBuilderPtr builder; local [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 41 private final static Class<ContentProviderOperation.Builder> CLASS_BUILDER = 42 ContentProviderOperation.Builder.class; 300 ContentProviderOperation.Builder builder = ContentProviderOperation.newInsert( local 303 builderSetExpectedCount(builder, 42); 304 builderSetSelection(builder, "selection"); 305 builderSetSelectionArgs(builder, new String[]{"a", "b"}); 306 builderSetSelectionArgsBackReferences(builder, selArgsBackRef); 307 builderSetValues(builder, values); 308 builderSetValuesBackReferences(builder, valuesBackRef) 332 ContentProviderOperation.Builder builder = ContentProviderOperation.newUpdate( local 356 ContentProviderOperation.Builder builder = ContentProviderOperation.newDelete( local [all...] |
/external/chromium_org/build/android/buildbot/ |
bb_run_bot.py | 136 B('main-builder-dbg', H(std_build_steps + std_host_tests)), 137 B('main-builder-rel', H(std_build_steps)), 138 B('main-clang-builder', 144 B('asan-builder-tests', H(compile_step, extra_gyp='asan=1'), 146 B('blink-try-builder', H(compile_step)), 149 B('fyi-x86-builder-dbg', 151 B('fyi-builder-dbg', 154 B('x86-builder-dbg', 156 B('fyi-builder-rel', H(std_build_steps, experimental)), 160 B('fyi-component-builder-tests-dbg' [all...] |
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrTextureDomain.cpp | 42 void GrTextureDomain::GLDomain::sampleTexture(GrGLShaderBuilder* builder, 52 builder->fsCodeAppendf("\t%s = ", outColor); 53 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, 55 builder->fsCodeAppend(";\n"); 65 fDomainUni = builder->addUniform(GrGLShaderBuilder::kFragment_Visibility, 74 builder->fsCodeAppendf("\t%s = ", outColor); 75 builder->fsAppendTextureLookupAndModulate(inModulateColor, sampler, clampedCoords.c_str()); 76 builder->fsCodeAppend(";\n"); 80 GrGLShaderBuilder::FSBlock block(builder); 83 if (kImagination_GrGLVendor == builder->ctxInfo().vendor()) [all...] |
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
adm_writer.py | 89 def _WriteSupported(self, builder): 90 builder.AddLine('#if version >= 4', 1) 91 builder.AddLine('SUPPORTED !!SUPPORTED_WINXPSP2') 92 builder.AddLine('#endif', -1) 94 def _WritePart(self, policy, key_name, builder): 100 builder: Builder to append lines to. 106 builder.AddLine() 108 builder.AddLine('PART !!%s %s' % (policy_part_name, adm_type), 1) 112 builder.AddLine('KEYNAME "%s\\%s"' % (key_name, policy['name']) [all...] |