| /cts/tests/tests/text/src/android/text/cts/ |
| BoringLayoutTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 160 String source = "This is a SpannableString."; local 162 source, 173 source,
|
| /cts/tests/tests/text/src/android/text/format/cts/ |
| DateFormatTest.java | 2 * Copyright (C) 2009 The Android Open Source Project 186 String source = dateFormat.format(date); local 187 Date parseDate = dateFormat.parse(source); 194 source = dateFormat.format(date); 195 assertTrue(source.indexOf("December") >= 0); 198 source = dateFormat.format(date); 199 assertTrue(source.indexOf("Dec") >= 0); 200 assertTrue(source.indexOf("December") < 0); 202 source = dateFormat.format(date); 203 assertTrue(source.indexOf("5") >= 0) [all...] |
| /cts/tests/tests/widget/src/android/widget/cts/ |
| TimePickerTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 346 MyTimePicker source = new MyTimePicker(mActivity); local 350 source.setCurrentHour(expectHour); 351 source.setCurrentMinute(expectMinute); 353 Parcelable p = source.onSaveInstanceState(); [all...] |
| /dalvik/dexgen/src/com/android/dexgen/dex/code/ |
| RopTranslator.java | 2 * Copyright (C) 2007 The Android Open Source Project 440 * two register sources, and have a source equal to the result, 441 * place that source first. 453 * two register sources, and have a source equal to the result, 454 * place that source first. 470 * if the second source is the same register as the result, 592 RegisterSpec source = local 596 RegisterSpecList.make(dest, source));
|
| /dalvik/dx/src/com/android/dx/cf/code/ |
| RopperMachine.java | 2 * Copyright (C) 2007 The Android Open Source Project 122 * {@code null-ok;} the source position for the return block or {@code null} 332 * What we do is first move all the source registers into 602 RegisterSpec source = sources.get(0); local 603 TypeBearer type = source.getTypeBearer(); 604 if (source.getReg() != 0) { 607 source)); [all...] |
| /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
| Playback.java | 2 * Copyright (C) 2014 The Android Open Source Project 164 String source = track.getString(MusicProvider.CUSTOM_METADATA_TRACK_SOURCE); local 172 mMediaPlayer.setDataSource(source);
|
| /development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/ |
| MusicProvider.java | 2 * Copyright (C) 2014 The Android Open Source Project 60 private static final String JSON_SOURCE = "source"; 255 String source = json.getString(JSON_SOURCE); local 264 if (!source.startsWith("http")) { 265 source = basePath + source; 271 // the music source. In a real world app, this could come from the server. 272 String id = String.valueOf(source.hashCode()); 274 // Adding the music source to the MediaMetadata (and consequently using it in the 280 .putString(CUSTOM_METADATA_TRACK_SOURCE, source) [all...] |
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
| _warnings.c | 645 PyObject *source;
local 671 /* Call get_source() to get the source code. */
672 source = PyObject_CallMethodObjArgs(loader, get_source_name,
674 if (!source)
676 else if (source == Py_None) {
681 /* Split the source into lines. */
682 source_list = PyObject_CallMethodObjArgs(source, splitlines_name,
684 Py_DECREF(source);
688 /* Get the source line. */
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
| _warnings.c | 644 PyObject *source;
local 670 /* Call get_source() to get the source code. */
671 source = PyObject_CallMethodObjArgs(loader, get_source_name,
673 if (!source)
675 else if (source == Py_None) {
680 /* Split the source into lines. */
681 source_list = PyObject_CallMethodObjArgs(source, splitlines_name,
683 Py_DECREF(source);
687 /* Get the source line. */
|
| /device/linaro/bootloader/edk2/StdLib/Include/Lua/ |
| lua.h | 404 const char *source; /* (S) */
member in struct:lua_Debug
|
| /external/ImageMagick/MagickCore/ |
| composite.c | 109 % o source_image: the source image. 141 Y = 1 for source preserved 149 Sca = Sc*Sa normalized Source color divided by Source alpha 416 source[MaxPixelChannels]; 420 Sc: source color. 423 (void) GetOneVirtualPixel(source_image,x-x_offset,y-y_offset,source, 449 Sa: normalized source alpha. 479 Sc: source color. 494 Sca: source normalized color multiplied by alpha 414 source[MaxPixelChannels]; local 1324 source[MaxPixelChannels]; local [all...] |
| shear.c | 1164 source, local 1388 source, local [all...] |
| /external/ImageMagick/coders/ |
| pict.c | 1133 source, local [all...] |
| /external/adhd/cras/src/server/ |
| cras_dsp_pipeline.c | 2 * Use of this source code is governed by a BSD-style license that can be 92 /* This is the total buffering delay from source to this instance. It is 409 struct plugin *source = find_enabled_builtin_plugin( local 410 ini, "source", purpose, env); 414 if (!source || !sink) { 416 "no enabled source or sink found %p/%p for %s", 417 source, sink, purpose); 441 &pipeline->instances, source); 446 syslog(LOG_ERR, "source(%p) or sink(%p) missing/disabled?", 447 source, sink) 833 float *source[input_channels]; local [all...] |
| /external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/ |
| rcssmin.c | 183 const rchar *source = *source_; local 188 && source < ctx->sentinel && target < ctx->tsentinel 189 && ((c = *source++) == *pattern++)) 192 *source_ = source; 201 #define MATCH(PAT, source, target, ctx) ( \ 204 source, target, ctx) \ 215 const rchar *source = *source_, *pstart = pattern; local 220 && source < ctx->sentinel && target < ctx->tsentinel 221 && ((c = *source++) == *pattern 227 *source_ = source; 294 const rchar *source = *source_, *hsentinel; local 347 const rchar *source = *source_; local 400 const rchar *source = *source_; local 459 const rchar *source = *source_; local 516 const rchar *source = *source_; local 569 const rchar *source = *source_; local 662 const rchar *source = *source_, *end, *comment; local 750 const rchar *source = *source_; local 777 const rchar *source = *source_; local 802 const rchar *source = *source_, *next, *source_fork; local 842 const rchar *source = *source_; local 869 const rchar *source = *source_, *begin, *end; local [all...] |
| /external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
| TestPaths.java | 114 String source = file.getSourceLocaleID(path, status); local 121 if (source == null) { 122 errln("Locale: " + locale + ",\t Source: " + path);
|
| /external/cldr/tools/java/org/unicode/cldr/icu/ |
| CompareIcuOutput.java | 351 private final UForwardCharacterIterator source; field in class:CompareIcuOutput.MyTokenizer 362 this.source = new UReaderForwardCharacterIterator(reader); 457 return source.nextCodePoint();
|
| ExtractICUData.java | 88 File translitSource = new File("C:\\cvsdata\\icu\\icu\\source\\data\\translit\\"); 89 System.out.println("Source: " + translitSource.getCanonicalPath()); 320 String source = fixTransIDPart(idMatcher.group(1)); local 325 attributesOut[0] = "[@source=\"" + source + "\"]" 339 id = source + target + variant; 350 // String source = fixTransIDPart(pieces[0]); 356 // attributesOut[0] = "[@source=\"" + source + "\"]" 360 // return source + (target == null ? "" : "-") + target + (variant == null ? "" : "/" + variant) [all...] |
| /external/cldr/tools/java/org/unicode/cldr/tool/ |
| GenerateChangeChart.java | 83 String source = oldFile.getSourceLocaleID(path, status); local 84 if (source.equals(XMLSource.CODE_FALLBACK_ID) 85 || source.equals(XMLSource.ROOT_ID) 172 .addColumn("Min Votes", "class='source'", CldrUtility.getDoubleLinkMsg(), "class='source'", true) 177 .addColumn("Locale Name", "class='source'", null, "class='source'", true) 181 .addColumn("Locale ID", "class='source'", null, "class='source'", true) 184 .addColumn("PageHeader", "class='source'", null, "class='source'", true [all...] |
| SearchXml.java | 68 .add("source", ".*", CLDRPaths.MAIN_DIRECTORY, "source directory (use also " + CLDRPaths.AUX_DIRECTORY + ")") 89 String sourceDirectory = myOptions.get("source").getValue(); 91 System.out.println("#" + "Need Source Directory! "); 235 Relation<String, String> source = getXmlFileAsRelation(src, fileName); local 241 checkFiles(recursive ? file.getParent() : null, fileName, coreName, source, other); 316 Relation<String, String> source, 343 Set<String> keys = new LinkedHashSet<String>(source.keySet()); 364 Set<String> values = source.get(path);
|
| ShowStarredCoverage.java | 298 file = cldrFactory.make(fileLocale, isMain); // bug, resolving source doesn't work without directory 379 enum Source { 385 Relation<String, Source> languageTags = Relation.of(new TreeMap(new LengthFirstComparator()), TreeSet.class); 393 addLanguage(entry.getKey(), Source.canon); 396 addLanguage(entry, Source.supp); 399 addLanguage(entry, Source.supp); 402 addLanguage(entry, Source.supp); 408 addLanguage(lang, Source.alias); 415 addFiles(base, "common/main", Source.main); 416 addFiles(base, "exemplars/main", Source.exemplars) 425 Set<Source> source = entry.getValue(); local 481 languageTags.put(ltp.getLanguage(), source); local [all...] |
| /external/cldr/tools/java/org/unicode/cldr/util/ |
| SimpleFactory.java | 312 * Create a factory from a source directory, matchingString 357 * Create a factory from a source directory list, matchingString. 365 * Create a factory from a source directory list 477 return "Unable to determine the source directory for locale " + localeName; 491 * Parameter check: parentDir being null means the source directory could not be found - throw exception here 588 XMLSource source = new SimpleXMLSource(localeName); local 589 CLDRFile result = new CLDRFile(source); 643 * SimpleXMLSource will be used as the source. 648 XMLSource source = new SimpleXMLSource(localeName); local 649 return new CLDRFile(source); [all...] |
| VerifyCompactNumbers.java | 226 double source = i * sample; local 227 allSamples.add(source); 232 for (double source : allSamples) { 233 if (false && source == 22000000 && locale.equals("cs")) { 237 String formattedNumber = nf.format(source); 238 String compactFormattedNumber = cdf == null ? "n/a" : cdf.format(source); 239 String compactLongFormattedNumber = cdfs == null ? "n/a" : cdfs.format(source); 241 // + "\t__" + source 251 .addCell(cdfCurr == null ? "n/a" : cdfCurr.format(source)) 252 // .addCell(cdfU.format(source)) [all...] |
| /external/deqp/external/openglcts/modules/common/ |
| glcKHRDebugTests.cpp | 129 gl->pushDebugGroup(GL_DEBUG_SOURCE_APPLICATION /* source */, 1 /* id */, length /* length */, 293 * - INVALID_ENUM when <source> is invalid; 297 * - INVALID_OPERATION when <count> is not zero and <source> is DONT_CARE; 306 m_gl->debugMessageControl(GL_ARRAY_BUFFER /* source */, GL_DEBUG_TYPE_ERROR /* type */, 309 CHECK_ERROR(GL_INVALID_ENUM, "DebugMessageControl with <source> set to GL_ARRAY_BUFFER"); 311 m_gl->debugMessageControl(GL_DEBUG_SOURCE_API /* source */, GL_ARRAY_BUFFER /* type */, 316 m_gl->debugMessageControl(GL_DEBUG_SOURCE_API /* source */, GL_DEBUG_TYPE_ERROR /* type */, 320 m_gl->debugMessageControl(GL_DEBUG_SOURCE_API /* source */, GL_DEBUG_TYPE_ERROR /* type */, 325 m_gl->debugMessageControl(GL_DONT_CARE /* source */, GL_DEBUG_TYPE_ERROR /* type */, 327 CHECK_ERROR(GL_INVALID_OPERATION, "DebugMessageControl with <source> set to GL_DONT_CARE and non zero <count>") 2151 GLenum source; local 2230 GLenum source; local [all...] |
| /external/deqp/external/openglcts/modules/gl/ |
| gl3cTextureSizePromotion.cpp | 127 /* Prepare source texture to be tested. */ 137 /* Check basic API queries for source texture. */ 385 /* Swpaing destination texture to source texture. */ 490 /* Setup source texture. */ 740 /* Preprocessing fragment shader source code. */ 1428 glw::GLchar const* const source; member in class:gl3cts::TextureSizePromotion::Utilities::Shader::glw [all...] |