HomeSort by relevance Sort by last modified time
    Searched defs:source (Results 1151 - 1175 of 4117) sorted by null

<<41424344454647484950>>

  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/framed/
Spdy3.java 2 * Copyright (C) 2011 The Android Open Source Project
98 @Override public FrameReader newReader(BufferedSource source, boolean client) {
99 return new Reader(source, client);
108 private final BufferedSource source; field in class:Spdy3.Reader
112 Reader(BufferedSource source, boolean client) {
113 this.source = source;
114 this.headerBlockReader = new NameValueBlockReader(this.source);
129 w1 = source.readInt();
130 w2 = source.readInt()
    [all...]
  /external/protobuf/java/core/src/test/java/com/google/protobuf/
MapTest.java 5 // Redistribution and use in source and binary forms, with or without
9 // * Redistributions of source code must retain the above copyright
81 private void copyMapValues(TestMap source, TestMap.Builder destination) {
83 .putAllInt32ToInt32Field(source.getInt32ToInt32Field())
84 .putAllInt32ToStringField(source.getInt32ToStringField())
85 .putAllInt32ToBytesField(source.getInt32ToBytesField())
86 .putAllInt32ToEnumField(source.getInt32ToEnumField())
87 .putAllInt32ToMessageField(source.getInt32ToMessageField())
88 .putAllStringToInt32Field(source.getStringToInt32Field());
326 TestMap source = sourceBuilder.build() local
338 TestMap source = sourceBuilder.build(); local
    [all...]
  /tools/tradefederation/core/prod-tests/src/com/android/monkey/
MonkeyBase.java 2 * Copyright (C) 2012 The Android Open Source Project
509 InputStreamSource source = new ByteArrayInputStreamSource(log.getBytes()); local
512 mAnrGen.setMonkeyLogInfo(source);
514 listener.testLog(monkeyLogName, LogDataType.MONKEY_LOG, source);
516 source.createInputStream())));
522 source.cancel();
  /art/compiler/utils/arm64/
jni_macro_assembler_arm64.cc 2 * Copyright (C) 2016 The Android Open Source Project
96 WRegister source,
101 ___ Strb(reg_w(source), MEM_OP(reg_x(base), offset));
104 ___ Strh(reg_w(source), MEM_OP(reg_x(base), offset));
107 ___ Str(reg_w(source), MEM_OP(reg_x(base), offset));
114 void Arm64JNIMacroAssembler::StoreToOffset(XRegister source, XRegister base, int32_t offset) {
115 CHECK_NE(source, SP);
116 ___ Str(reg_x(source), MEM_OP(reg_x(base), offset));
119 void Arm64JNIMacroAssembler::StoreSToOffset(SRegister source, XRegister base, int32_t offset) {
120 ___ Str(reg_s(source), MEM_OP(reg_x(base), offset))
188 Arm64ManagedRegister source = m_source.AsArm64(); local
    [all...]
  /cts/common/util/src/com/android/compatibility/common/util/
ReportLog.java 2 * Copyright (C) 2014 The Android Open Source Project
45 private static final String SOURCE_ATTR = "source";
64 Metric(String source, String message, double value, ResultType type, ResultUnit unit) {
65 this(source, message, new double[] { value }, type, unit);
79 Metric(String source, String message, double[] values, ResultType type, ResultUnit unit) {
80 int sourceLength = source.length();
83 mSource = source.substring(sourceLength - MAX_SOURCE_LENGTH);
85 mSource = source;
143 String source = parser.getAttributeValue(null, SOURCE_ATTR); local
161 return new Metric(source, message, values, type, unit)
    [all...]
  /cts/tests/tests/text/src/android/text/format/cts/
DateFormatTest.java 2 * Copyright (C) 2009 The Android Open Source Project
181 String source = dateFormat.format(date); local
182 Date parseDate = dateFormat.parse(source);
189 source = dateFormat.format(date);
190 assertTrue(source.indexOf("December") >= 0);
193 source = dateFormat.format(date);
194 assertTrue(source.indexOf("Dec") >= 0);
195 assertTrue(source.indexOf("December") < 0);
197 source = dateFormat.format(date);
198 assertTrue(source.indexOf("5") >= 0)
    [all...]
  /cts/tests/tests/text/src/android/text/method/cts/
DigitsKeyListenerTest.java 2 * Copyright (C) 2008 The Android Open Source Project
83 String source = "123456"; local
88 assertNull(digitsKeyListener.filter(source, 0, source.length(),
92 source = "a1b2c3d";
93 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(),
97 source = "-a1.b2c3d";
98 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length()
141 String source = "-123456"; local
240 String source = "123.456"; local
320 String source = "-123.456"; local
429 String source = "-\\u06F1\\u06F2\\u06F3\\u066B\\u06F4\\u06F5\\u06F6"; local
    [all...]
  /cts/tools/dex-tools/test/dex/reader/
DexFileReaderTests.java 2 * Copyright (C) 2009 The Android Open Source Project
342 JavaSource source = new JavaSource("E", "public enum E { A,B; public static final E C = null; }"); local
343 DexFile dexFile = javaToDexUtil.getFrom(source);
  /dalvik/dx/src/com/android/dx/ssa/back/
SsaToRop.java 2 * Copyright (C) 2007 The Android Open Source Project
202 RegisterSpec source = sources.get(i); local
206 predBlock.addMoveToEnd(result, source);
  /developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java 2 * Copyright (C) 2014 The Android Open Source Project
60 private static final String JSON_SOURCE = "source";
187 String source = json.getString(JSON_SOURCE); local
196 if (!source.startsWith("https")) {
197 source = basePath + source;
203 // the music source. In a real world app, this could come from the server.
204 String id = String.valueOf(source.hashCode());
206 // Adding the music source to the MediaMetadata (and consequently using it in the
212 .putString(MediaMetadataCompat.METADATA_KEY_MEDIA_URI, source)
    [all...]
  /developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/model/
MusicProvider.java 2 * Copyright (C) 2014 The Android Open Source Project
60 private static final String JSON_SOURCE = "source";
187 String source = json.getString(JSON_SOURCE); local
196 if (!source.startsWith("https")) {
197 source = basePath + source;
203 // the music source. In a real world app, this could come from the server.
204 String id = String.valueOf(source.hashCode());
206 // Adding the music source to the MediaMetadata (and consequently using it in the
212 .putString(MediaMetadataCompat.METADATA_KEY_MEDIA_URI, source)
    [all...]
  /device/google/marlin/camera/usbcamcore/src/
QCameraMjpegDecode.cpp 3 * Redistribution and use in source and binary forms, with or without
6 * * Redistributions of source code must retain the above copyright
232 jpegd_src_t source; local
275 // Set source information
276 source.p_input_req_handler = &decoder_input_req_handler;
277 source.total_length = p_args->inputMjpegBufferSize & 0xffffffff;
279 rc = jpeg_buffer_init(&source.buffers[0]);
282 rc = jpeg_buffer_init(&source.buffers[1]);
286 rc = jpeg_buffer_allocate(source.buffers[0], 0xA000, use_pmem);
288 rc = jpeg_buffer_use_external_buffer(source.buffers[0]
    [all...]
  /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
405 source[MaxPixelChannels];
409 Sc: source color.
418 source,exception);
428 q[i]=source[channel];
435 Sa: normalized source alpha.
479 Sc: source color
403 source[MaxPixelChannels]; local
1312 source[MaxPixelChannels]; local
    [all...]
  /external/deqp/framework/opengl/
gluShaderProgram.hpp 7 * Copyright 2014 The Android Open Source Project
49 std::string source; //!< Shader source. member in struct:glu::ShaderInfo
96 const std::string& getSource (void) const { return getInfo().source; }
263 std::string source; member in struct:glu::ShaderSource
266 ShaderSource (glu::ShaderType shaderType_, const std::string& source_) : shaderType(shaderType_), source(source_) { DE_ASSERT(!source_.empty()); }
313 ProgramSources& operator<< (const ShaderSource& shaderSource) { sources[shaderSource.shaderType].push_back(shaderSource.source); return *this; }
328 //! Helper for constructing vertex-fragment source pair.
  /external/deqp/framework/opengl/simplereference/
sglrShaderProgram.hpp 7 * Copyright 2014 The Android Open Source Project
106 VertexSource (const std::string& str) : source(str) { }
108 std::string source; member in struct:sglr::pdec::VertexSource
113 FragmentSource (const std::string& str) : source(str) { }
115 std::string source; member in struct:sglr::pdec::FragmentSource
120 GeometrySource (const std::string& str) : source(str) { }
122 std::string source; member in struct:sglr::pdec::GeometrySource
254 friend class GLContext; // for source string access
  /external/deqp/modules/gles31/functional/
es31fDebugTests.cpp 5 * Copyright 2014 The Android Open Source Project
128 void expectMessage (GLenum source, GLenum type);
189 void emitMessages (DebugMessageTestContext& ctx, GLenum source)
201 ctx.glDebugMessageInsert(source, type, severity, severity, -1, msg.c_str());
202 ctx.expectMessage(source, type);
209 ctx.beginSection("Messages with source of GL_DEBUG_SOURCE_APPLICATION");
216 ctx.beginSection("Messages with source of GL_DEBUG_SOURCE_THIRD_PARTY");
278 GLenum source; member in struct:deqp::gles31::Functional::__anon17330::MessageID
282 MessageID (void) : source(GL_NONE), type(GL_NONE), id(0) {}
283 MessageID (GLenum source_, GLenum type_, GLuint id_) : source(source_), type(type_), id(id_) {
    [all...]
es31fNegativeSSBOBlockTests.cpp 5 * Copyright 2016 The Android Open Source Project
270 std::ostringstream source; local
296 source << "${NEGATIVE_CONTEXT_VERSION}\n"
303 source << ssboString.str();
305 source << "} ssbo;\n"
317 sourceString = source.str();
325 source << "${NEGATIVE_CONTEXT_VERSION}\n"
331 source << ssboString.str();
333 source << "} ssbo;\n"
345 sourceString = source.str()
    [all...]
es31fTessellationGeometryInteractionTests.cpp 5 * Copyright 2014 The Android Open Source Project
104 std::string source = "${VERSION_DECL}\n" local
113 return specializeShader(source, m_context.getRenderContext().getType());
118 std::string source = "${VERSION_DECL}\n" local
126 return specializeShader(source, m_context.getRenderContext().getType());
    [all...]
  /external/guice/lib/build/
munge.jar 
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CollationElementIterator.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
32 * in the source string.
131 * source string has been reached, and there are no more valid
201 * CollationElementIterator constructor. This takes a source
203 * the source string based on the rules defined by the
204 * collator. If the source string is empty, NULLORDER will be
207 * @param source the source string.
210 CollationElementIterator(String source, RuleBasedCollator collator) {
212 setText(source);
    [all...]
DigitList.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
343 // * @param source Value to be converted; must not be Inf, -Inf, Nan,
348 // public final void set(double source, int maximumFractionDigits)
350 // set(source, maximumFractionDigits, true);
356 * @param source Value to be converted; must not be Inf, -Inf, Nan,
363 final void set(double source, int maximumDigits, boolean fixedPoint)
365 if (source == 0) source = 0;
368 String rep = Double.toString(source);
549 public final void set(long source)
    [all...]
TransliteratorIDParser.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
32 * A basic ID, which contains source, target, and variant, but no
74 * 'source' and 'target' will always be non-null. The 'variant'
77 * 'sawSource' is true if there was an explicit source in the
78 * parsed id. If there was no explicit source, then an implied
79 * source of ANY is returned and 'sawSource' is set to false.
85 public String source; // not null field in class:TransliteratorIDParser.Specs
91 source = s;
459 * S-T/V, or S/V-T. If the source is missing, return a source o
469 String source = ANY; local
596 String source = null; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
CollationDummyTest.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
13 * Source File: $ICU4CRoot/source/test/intltest/allcoll.cpp
14 * $ICU4CRoot/source/test/cintltst/callcoll.c
238 String source = "THISISATEST."; local
248 int result = coll.compare(source, target);
257 result = coll.compare(source, target);
266 sourceKeyOut = coll.getCollationKey(source);
284 String source[] = {"z", local
310 doTest(enCollation, source[count], target[count], -1)
359 char[] source = new char[1]; local
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
CompactDecimalFormatTest.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
463 Object source = row[0]; local
465 assertEquals(title + source, expected,
466 cdf.format(source));
TimeUnitTest.java 1 /* GENERATED SOURCE. DO NOT MODIFY. */
79 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); local
80 String formatted = formats[style].format(source);
87 if (result == null || !source.equals(result)) {
88 errln("No round trip: " + source + " => " + formatted + " => " + result);
313 TimeUnitAmount source = new TimeUnitAmount(tests[i], timeUnit); local
314 String formatted = format.format(source);
319 if (result == null || !source.equals(result)) {
320 errln("No round trip: " + source + " => " + formatted + " => " + result);
416 * public Object parseObject(String source, ParsePosition pos
    [all...]

Completed in 2250 milliseconds

<<41424344454647484950>>