| /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/ |
| Cache.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 3 * Copyright (C) 2010 The Android Open Source Project 48 import com.android.okhttp.okio.Source; 529 public Entry(Source in) throws IOException { 531 BufferedSource source = Okio.buffer(in); local 532 url = source.readUtf8LineStrict(); 533 requestMethod = source.readUtf8LineStrict(); 535 int varyRequestHeaderLineCount = readInt(source); 537 varyHeadersBuilder.addLenient(source.readUtf8LineStrict()); 541 StatusLine statusLine = StatusLine.parse(source.readUtf8LineStrict()) 707 Source source = snapshot.getSource(ENTRY_BODY); local 728 @Override public BufferedSource source() { method in class:CacheResponseBody [all...] |
| /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/ |
| DiskLruCache.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 3 * Copyright (C) 2011 The Android Open Source Project 42 import com.android.okhttp.okio.Source; 264 BufferedSource source = Okio.buffer(fileSystem.source(journalFile)); local 266 String magic = source.readUtf8LineStrict(); 267 String version = source.readUtf8LineStrict(); 268 String appVersionString = source.readUtf8LineStrict(); 269 String valueCountString = source.readUtf8LineStrict(); 270 String blank = source.readUtf8LineStrict() [all...] |
| /external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/framed/ |
| Http2.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 27 import com.android.okhttp.okio.Source; 81 @Override public FrameReader newReader(BufferedSource source, boolean client) { 82 return new Reader(source, 4096, client); 90 private final BufferedSource source; field in class:Http2.Reader 97 Reader(BufferedSource source, int headerTableSize, boolean client) { 98 this.source = source; 100 this.continuation = new ContinuationSource(this.source); 106 ByteString connectionPreface = source.readByteString(CONNECTION_PREFACE.size()) 595 private final BufferedSource source; field in class:Http2.ContinuationSource [all...] |
| Spdy3.java | 1 /* GENERATED SOURCE. DO NOT MODIFY. */ 3 * Copyright (C) 2011 The Android Open Source Project 100 @Override public FrameReader newReader(BufferedSource source, boolean client) { 101 return new Reader(source, client); 110 private final BufferedSource source; field in class:Spdy3.Reader 114 Reader(BufferedSource source, boolean client) { 115 this.source = source; 116 this.headerBlockReader = new NameValueBlockReader(this.source); 131 w1 = 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...] |
| /art/compiler/utils/arm64/ |
| jni_macro_assembler_arm64.cc | 2 * Copyright (C) 2016 The Android Open Source Project 95 WRegister source, 100 ___ Strb(reg_w(source), MEM_OP(reg_x(base), offset)); 103 ___ Strh(reg_w(source), MEM_OP(reg_x(base), offset)); 106 ___ Str(reg_w(source), MEM_OP(reg_x(base), offset)); 113 void Arm64JNIMacroAssembler::StoreToOffset(XRegister source, XRegister base, int32_t offset) { 114 CHECK_NE(source, SP); 115 ___ Str(reg_x(source), MEM_OP(reg_x(base), offset)); 118 void Arm64JNIMacroAssembler::StoreSToOffset(SRegister source, XRegister base, int32_t offset) { 119 ___ Str(reg_s(source), MEM_OP(reg_x(base), offset)) 187 Arm64ManagedRegister source = m_source.AsArm64(); local [all...] |
| /art/runtime/mirror/ |
| dex_cache-inl.h | 2 * Copyright (C) 2013 The Android Open Source Project 346 DexCachePair<T> source = pairs[i].load(std::memory_order_relaxed); local 352 T* const before = source.object.template Read<kReadBarrierOption>(); 353 visitor.VisitRootIfNonNull(source.object.AddressWithoutBarrier()); 354 if (source.object.template Read<kReadBarrierOption>() != before) { 355 pairs[i].store(source, std::memory_order_relaxed); 396 StringDexCachePair source = src[i].load(std::memory_order_relaxed); local 397 String* ptr = source.object.Read<kReadBarrierOption>(); 399 source.object = GcRoot<String>(new_source); 400 dest[i].store(source, std::memory_order_relaxed) 408 TypeDexCachePair source = src[i].load(std::memory_order_relaxed); local 421 MethodTypeDexCachePair source = src[i].load(std::memory_order_relaxed); local 434 mirror::CallSite* source = src[i].Read<kReadBarrierOption>(); local [all...] |
| /bootable/recovery/updater/include/private/ |
| commands.h | 2 * Copyright (C) 2018 The Android Open Source Project 56 friend std::ostream& operator<<(std::ostream& os, const TargetInfo& source); 64 std::ostream& operator<<(std::ostream& os, const TargetInfo& source); 100 // Represents the source info in a Command, whose data could come from source image, stashed blocks, 148 friend std::ostream& operator<<(std::ostream& os, const SourceInfo& source); 152 // The block ranges from the source image to read data from. This could be a subset of all the 158 // The info for the stashed blocks that are part of the source. Empty if there's none. 164 std::ostream& operator<<(std::ostream& os, const SourceInfo& source); 250 // - Read the source blocks, write result to target blocks 345 const SourceInfo& source() const { function in class:Command [all...] |
| /bootable/recovery/updater/ |
| install.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 200 // Checks if the target and source partitions have the desired checksums to be patched. It returns 202 // checks the integrity of the source partition and the backup file on /cache. 226 auto source = Partition::Parse(args[1], &err); local 227 if (!source) { 228 return ErrorAbort(state, kArgsParsingFailure, "%s(): Failed to parse source \"%s\": %s", name, 232 bool result = PatchPartitionCheck(target, source); 236 // patch_partition(target, source, patch) 237 // Applies the given patch to the source partition, and writes the result to the target partition. 262 auto source = Partition::Parse(args[1], &err) local [all...] |
| /cts/tests/tests/provider/src/android/provider/cts/ |
| ProviderTestUtils.java | 2 * Copyright (C) 2016 The Android Open Source Project 202 final File source = ParcelFileDescriptor.getFile(afd.getFileDescriptor()); local 207 source.getAbsolutePath(), skip, count, file.getAbsolutePath())); 219 try (InputStream source = context.getResources().openRawResource(resId); 221 FileUtils.copy(source, target); 237 try (InputStream source = context.getResources().openRawResource(resId); 239 FileUtils.copy(source, target);
|
| /cts/tests/tests/text/src/android/text/method/cts/ |
| DigitsKeyListenerTest.java | 2 * Copyright (C) 2008 The Android Open Source Project 84 String source = "123456"; local 89 assertNull(digitsKeyListener.filter(source, 0, source.length(), 93 source = "a1b2c3d"; 94 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length(), 98 source = "-a1.b2c3d"; 99 assertEquals("123", (digitsKeyListener.filter(source, 0, source.length() 142 String source = "-123456"; local 241 String source = "123.456"; local 321 String source = "-123.456"; local 430 String source = "-\\u06F1\\u06F2\\u06F3\\u066B\\u06F4\\u06F5\\u06F6"; local [all...] |
| /dalvik/dx/src/com/android/dx/ssa/back/ |
| SsaToRop.java | 2 * Copyright (C) 2007 The Android Open Source Project 204 RegisterSpec source = sources.get(i); local 208 predBlock.addMoveToEnd(result, source);
|
| /device/generic/goldfish/camera/ |
| EmulatedCameraDevice.cpp | 2 * Copyright (C) 2011 The Android Open Source Project 173 status_t EmulatedCameraDevice::getCurrentFrameImpl(const uint8_t* source, 177 memcpy(dest, source, mFrameBufferSize); 186 memcpy(dest, source, ySize); 191 source + y * mYStride, 198 memcpy(dest + ySize, source + ySize + uvSize, uvSize); 199 memcpy(dest + ySize + uvSize, source + ySize, uvSize); 203 const uint8_t* uvSource = source + ySize + uvSize; 237 const void* source = mCameraThread->getPrimaryBuffer(); local 238 if (source == nullptr) [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/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/ |
| rx-observable.hpp | 52 void construct(SO&& source, rxs::tag_source&&) { 53 rxu::decay_t<SO> so = std::forward<SO>(source); 101 template<class T, class Source> 102 observable<T> make_observable_dynamic(Source&& s) { 103 return observable<T>(dynamic_observable<T>(std::forward<Source>(s))); 163 \brief a source of values whose methods block until all values have been emitted. subscribe or use one of the operator methods that reduce the values emitted to a single value. 172 static auto blocking_subscribe(const Obsvbl& source, bool do_rethrow, ArgN&&... an) 203 source.subscribe(std::move(scbr)); 216 observable_type source; member in class:rxcpp::blocking_observable 220 blocking_observable(observable_type s) : source(std::move(s)) { [all...] |
| /external/Reactive-Extensions/RxCpp/Rx/v2/src/rxcpp/schedulers/ |
| rx-test.hpp | 474 std::unique_ptr<source_type> source; member in struct:rxcpp::test::test_worker::state_type 478 : source() 486 state->source.reset(new typename state_type::source_type(createSource())); 489 state->source->subscribe(state->o);
|
| /external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
| TestAnnotations.java | 328 String source = (String)test[2]; local 329 String actual = xlistFormatter.formatCodePoints(source); 330 assertEquals(test[0] + ", " + listTypeLength + ", " + source, expected, actual);
|
| /external/cldr/tools/java/org/unicode/cldr/draft/ |
| FileUtilities.java | 104 String source = parts[0]; local 105 int range = source.indexOf(".."); 107 start = Integer.parseInt(source.substring(0, range), 16); 108 end = Integer.parseInt(source.substring(range + 2), 16); 110 start = end = Integer.parseInt(source, 16); 369 public static String replace(String source, String piece, String replacement) { 370 if (source == null || source.length() < piece.length()) return source; 373 pos = source.indexOf(piece, pos) [all...] |
| /external/cldr/tools/java/org/unicode/cldr/icu/ |
| ResourceSplitter.java | 131 private final ResultInfo source; field in class:ResourceSplitter.SplitProcessor 138 private SplitProcessor(ResultInfo source) { 139 this.source = source; 151 process(source.root, source.root.first); 167 int x = source.root.name.indexOf('_'); 168 if (x == -1 || source.root.name.length() - x == 5) { 172 log.log("Generate stub '" + source.root.name + ".txt' in '" + targetDirPath + "'"); 179 results.add(source); // write out what's left of the origina [all...] |
| /external/cldr/tools/java/org/unicode/cldr/test/ |
| TestTransformsSimple.java | 91 private void assertRoundTripTransform(String message, String source, Transliterator lh, Transliterator hl) { 92 String to = hl.transform(source); 94 String to2 = hl.transform(source.replaceAll("(.)", "$1 ").trim()); 96 assertEquals(message + " " + source + " [" + to + "/" + to2 + "/" + to3 + "]", source, back); 99 private void assertTransform(String message, String expected, StringTransform t, String source) { 100 assertEquals(message + " " + source, expected, t.transform(source)); 104 String... source) { 105 for (String s : source) { 229 String source = it.getString(); local 256 String source = nfd == null ? source1 : nfd.transliterate(source1); local [all...] |
| /external/cldr/tools/java/org/unicode/cldr/tool/ |
| GenerateTransform.java | 73 throwException(sourceIn, targetIn, "both source and target must be nonempty"); 75 final String source = Normalizer.decompose(sourceIn, false); local 78 if (source_target.containsKey(source)) { 79 throwException(sourceIn, targetIn, "source occurs twice"); 88 source_target.put(source, target); 89 target_source.put(target, source); 90 pairs.add(Pair.of(source, target)); 94 private void throwException(final String source, final String target, final String title) { 96 ": " + source + " => " + target); 112 final String source = target_source.get(target) local 279 String source = it.getString(); local [all...] |
| /external/cldr/tools/java/org/unicode/cldr/util/ |
| Dictionary.java | 107 public Dictionary<T> make(Map<CharSequence, T> source); 144 // public Dictionary<T> getInstance(Map<CharSequence,T> source); 466 public DictionaryCharList(Dictionary<T> dictionary, T source) { 467 super(source); 468 matcher = dictionary.getMatcher().setText(source); 469 atEnd = source.length() == 0; 470 sourceOffsets = new int[source.length()]; 506 buffer.append(source.charAt(currentOffset)); 510 atEnd = matcher.getOffset() >= source.length(); 554 return source.subSequence(toSourceOffset(start), toSourceOffset(end)) [all...] |
| Tokenizer.java | 24 protected String source; field in class:Tokenizer 71 public Tokenizer setSource(String source) { 72 this.source = source; 146 if (index >= source.length()) return lastValue = DONE; 161 unicodeSet = new UnicodeSet(source, pos, symbolTable); 171 while (index < source.length()) { 228 if (index >= source.length()) break; 240 return source.substring(0, index) + "$$$" + source.substring(index) [all...] |
| /external/deqp/external/openglcts/modules/gl/ |
| gl4cDirectStateAccessQueriesTests.cpp | 1774 glw::GLchar const* const source; member in class:gl4cts::DirectStateAccess::Queries::Shader::glw [all...] |
| gl4cDirectStateAccessXFBTests.cpp | 1702 glw::GLchar const* const source; member in class:gl4cts::DirectStateAccess::TransformFeedback::Shader::glw [all...] |