| /cts/tests/tests/widget/src/android/widget/cts/ |
| RadioGroup_LayoutParamsTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 94 ViewGroup.MarginLayoutParams source = new ViewGroup.MarginLayoutParams(10, 20); local 95 source.leftMargin = 1; 96 source.topMargin = 2; 97 source.rightMargin = 3; 98 source.bottomMargin = 4; 100 mLayoutParams = new RadioGroup.LayoutParams(source);
|
| /development/ndk/platforms/android-21/include/linux/ |
| fsl_hypervisor.h | 11 *** source file (e.g. under external/kernel-headers/original/) then 49 __u32 source; member in struct:fsl_hv_ioctl_memcpy
|
| /external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
| BigFractionFormat.java | 186 * @param source the string to parse 192 public BigFraction parse(final String source) throws ParseException { 194 final BigFraction result = parse(source, parsePosition); 198 LocalizedFormats.UNPARSEABLE_FRACTION_NUMBER, source); local 206 * @param source the string to parse 211 public BigFraction parse(final String source, final ParsePosition pos) { 215 parseAndIgnoreWhitespace(source, pos); 218 final BigInteger num = parseNextBigInteger(source, pos); 229 final char c = parseNextCharacter(source, pos); 248 parseAndIgnoreWhitespace(source, pos) [all...] |
| FractionFormat.java | 197 * @param source the string to parse 203 public Fraction parse(final String source) throws ParseException { 205 final Fraction result = parse(source, parsePosition); 209 LocalizedFormats.UNPARSEABLE_FRACTION_NUMBER, source); local 217 * @param source the string to parse 222 public Fraction parse(final String source, final ParsePosition pos) { 226 parseAndIgnoreWhitespace(source, pos); 229 final Number num = getNumeratorFormat().parse(source, pos); 240 final char c = parseNextCharacter(source, pos); 259 parseAndIgnoreWhitespace(source, pos) [all...] |
| /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
| Kurtosis.java | 209 * Copies source to dest. 210 * <p>Neither source nor dest can be null.</p> 212 * @param source Kurtosis to copy 214 * @throws NullPointerException if either source or dest is null 216 public static void copy(Kurtosis source, Kurtosis dest) { 217 dest.setData(source.getDataRef()); 218 dest.moment = source.moment.copy(); 219 dest.incMoment = source.incMoment;
|
| SemiVariance.java | 154 * Copies source to dest. 155 * <p>Neither source nor dest can be null.</p> 157 * @param source SemiVariance to copy 159 * @throws NullPointerException if either source or dest is null 161 public static void copy(final SemiVariance source, SemiVariance dest) { 162 dest.setData(source.getDataRef()); 163 dest.biasCorrected = source.biasCorrected; 164 dest.varianceDirection = source.varianceDirection;
|
| Skewness.java | 201 * Copies source to dest. 202 * <p>Neither source nor dest can be null.</p> 204 * @param source Skewness to copy 206 * @throws NullPointerException if either source or dest is null 208 public static void copy(Skewness source, Skewness dest) { 209 dest.setData(source.getDataRef()); 210 dest.moment = new ThirdMoment(source.moment.copy()); 211 dest.incMoment = source.incMoment;
|
| Variance.java | 593 * Copies source to dest. 594 * <p>Neither source nor dest can be null.</p> 596 * @param source Variance to copy 598 * @throws NullPointerException if either source or dest is null 600 public static void copy(Variance source, Variance dest) { 601 if (source == null || 605 dest.setData(source.getDataRef()); 606 dest.moment = source.moment.copy(); 607 dest.isBiasCorrected = source.isBiasCorrected; 608 dest.incMoment = source.incMoment [all...] |
| /external/apache-xml/src/main/java/org/apache/xml/utils/ |
| StylesheetPIHandler.java | 26 import javax.xml.transform.Source; 112 * @return Source object that references the last stylesheet reference 115 public Source getAssociatedStylesheet() 122 Source source = (Source) m_stylesheets.elementAt(sz-1); local 123 return source; 154 Source source = null; local 215 source = m_uriResolver.resolve(href, m_baseID) [all...] |
| /external/deqp/modules/gles31/functional/ |
| es31fNegativeAdvancedBlendEquationTests.cpp | 5 * Copyright 2016 The Android Open Source Project 136 std::ostringstream source; local 138 source << glu::getGLSLVersionDeclaration(version) << "\n" 144 return source.str(); 151 std::ostringstream source; local 153 source << glu::getGLSLVersionDeclaration(version) << "\n" 162 return source.str();
|
| es31fNegativeShaderStorageTests.cpp | 5 * Copyright 2016 The Android Open Source Project 115 std::ostringstream source; local 117 source << glu::getGLSLVersionDeclaration(version) << "\n" 127 source << "layout (local_size_x = 1) in;\n"; 131 source << "layout(points) in;\n" 136 source << "layout(vertices = 10) out;\n"; 140 source << "layout(triangles) in;\n"; 148 source << "\n" 154 return source.str(); 161 std::ostringstream source; local 224 std::string source = genBlockSource(ctx, maxSSBlocks+1, glShaderTypes[ndx]); local [all...] |
| /external/google-breakpad/src/common/ |
| convert_UTF.c | 41 Conversions between UTF32, UTF-16, and UTF-8. Source code file. 47 source sequences, enhanced error detection, added casts 85 const UTF32* source = *sourceStart; local 87 while (source < sourceEnd) { 92 ch = *source++; 97 --source; /* return to the illegal value itself */ 115 --source; /* Back up source pointer! */ 123 *sourceStart = source; 133 const UTF16* source = *sourceStart local 236 const UTF16* source = *sourceStart; local 357 const UTF8* source = *sourceStart; local 429 const UTF32* source = *sourceStart; local 481 const UTF8* source = *sourceStart; local [all...] |
| /external/guava/guava-tests/test/com/google/common/io/ |
| FileBackedOutputStreamTest.java | 81 ByteSource source = out.asByteSource(); local 88 assertTrue(ByteSource.wrap(data).slice(0, chunk1).contentEquals(source)); 102 // Check that source returns the right data 103 assertTrue(Arrays.equals(data, source.read())); 130 ByteSource source = out.asByteSource(); local 133 assertTrue(Arrays.equals(data, source.read())); 144 assertTrue(Arrays.equals(data, source.read())); 151 ByteSource source = out.asByteSource(); local 154 assertTrue(Arrays.equals(data, source.read())); 157 assertTrue(Arrays.equals(new byte[0], source.read())) [all...] |
| /external/guice/core/src/com/google/inject/internal/ |
| AbstractBindingProcessor.java | 66 InjectorImpl injector, Key<T> key, Object source) { 67 return new UntargettedBindingImpl<T>(injector, key, source); 129 private <T> void validateKey(Object source, Key<T> key) { 131 key.getTypeLiteral().getRawType(), source, errors); local 139 final Object source; field in class:AbstractBindingProcessor.Processor 145 source = binding.getSource(); 152 validateKey(source, key); 160 binding.getInjector().initializeBinding(binding, errors.withSource(source));
|
| Initializer.java | 53 /** Maps instances that need injection to a source that registered them */ 62 * @param source the source location that this injection was requested 65 Object source, Set<InjectionPoint> injectionPoints) { 66 checkNotNull(source); 79 injector, instance, binding == null ? null : binding.getKey(), provisionCallback, source); 124 private final Object source; field in class:Initializer.InjectableReference 129 ProvisionListenerStackCallback<T> provisionCallback, Object source) { 134 this.source = checkNotNull(source, "source") [all...] |
| InjectionRequestProcessor.java | 86 final Object source; field in class:InjectionRequestProcessor.StaticInjection 92 this.source = request.getSource(); 97 Errors errorsForMember = errors.withSource(source);
|
| PrivateElementsImpl.java | 51 private final Object source; field in class:PrivateElementsImpl 63 public PrivateElementsImpl(Object source) { 64 this.source = checkNotNull(source, "source"); 68 return source; 115 PrivateBinder privateBinder = binder.withSource(source).newPrivateBinder(); 129 Object source = exposedKeysToSources.get(key); local 130 checkArgument(source != null, "%s not exposed by %s.", key, this); 131 return source; [all...] |
| WeakKeySet.java | 69 * There may be multiple child injectors blacklisting a certain key so only remove the source 77 set.remove(keyAndSource.source); 90 public void add(Key<?> key, State state, Object source) { 96 if (source instanceof Class || source == SourceProvider.UNKNOWN_SOURCE) { 97 source = null; 104 Object convertedSource = Errors.convert(source); 130 final Object source; field in class:WeakKeySet.KeyAndSource 132 KeyAndSource(Key<?> key, Object source) { 134 this.source = source [all...] |
| /external/icu/icu4c/source/common/ |
| ucnvlat1.c | 36 const uint8_t *source; local 44 source=(const uint8_t *)pArgs->source; 55 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); 71 target[0]=source[0]; 72 target[1]=source[1]; 73 target[2]=source[2]; 74 target[3]=source[3]; 75 target[4]=source[4]; 76 target[5]=source[5] 122 const uint8_t *source=(const uint8_t *)pArgs->source; local 138 const UChar *source, *sourceLimit; local 326 const uint8_t *source, *sourceLimit; local 472 const uint8_t *source, *sourceLimit; local 581 const uint8_t *source; local 609 const uint8_t *source, *sourceLimit; local [all...] |
| /external/icu/icu4c/source/samples/coll/ |
| coll.cpp | 18 "usage: coll [options*] -source source_string -target target_string\n" 29 "-source string Source string for comparison\n" 31 "Example coll -rules \\u0026b\\u003ca -source a -target b\n" 74 {"-source", OptSpec::STRING, &opt_source}, 145 UChar source[100]; local 147 u_unescape(opt_source, source, 100); 149 UCollationResult result = ucol_strcoll(collator, source, -1, target, -1); 257 fprintf(stdout, "Comparing source=%s and target=%s\n", opt_source, 261 fprintf(stdout, "source is equals to target\n"); [all...] |
| /external/icu/icu4c/source/samples/strsrch/ |
| strsrch.cpp | 17 "usage: strsrch [options*] -source source_string -pattern pattern_string\n" 28 "-source string Source string\n" 29 "-pattern string Pattern string to look for in source\n" 32 "Example strsrch -rules \\u0026b\\u003ca -source a\\u0020b\\u0020bc -pattern b\n" 67 UChar source[100]; variable 82 {"-source", OptSpec::STRING, &opt_source}, 236 u_unescape(opt_source, source, 100); 239 search = usearch_openFromCollator(pattern, -1, source, -1, collator, NULL, 263 fprintf(stdout, "Pattern not found in source\n") [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| canittst.cpp | 315 UnicodeString source = can.getSource(); local 316 logln("CanonicalIterator::getSource returned "+source); 317 if(start != source) { 318 errln("CanonicalIterator.getSource() didn't return the starting string. Expected "+start+", got "+source);
|
| /external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
| ConverterPerformanceTest.java | 43 CharBuffer source = CharBuffer.wrap(unicodeBuffer, 0, unicodeBuffer.length); local 47 ByteBuffer target = encoder.encode(source);
|
| /external/jacoco/org.jacoco.ant.test/src/org/jacoco/ant/ |
| AntResourcesLocatorTest.java | 67 final Reader source = locator.getSourceFile("org/jacoco/example", local 69 assertContent("AAA", source); 78 final Reader source = locator.getSourceFile("org/jacoco/example", local 80 assertContent("AAA", source); 89 final Reader source = locator.getSourceFile("org/jacoco/example", local 91 assertContent("FFF", source); 103 final Reader source = locator.getSourceFile("org/jacoco/example", local 105 assertContent("AAA", source); 116 Reader source = locator.getSourceFile("org/jacoco/example", local 118 assertContent("AAA", source); [all...] |
| /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
| ValidationTestBase.java | 56 protected Source source; field in class:ValidationTestBase 71 source = Source.getSourceFor(target); 103 final int nr = source.getLineNumber(tag); 106 Integer.valueOf(nr), source.getLine(nr)); 113 final int nr = source.getLineNumber(tag); 116 Integer.valueOf(nr), source.getLine(nr));
|