| /external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
| Progress.java | 29 import okio.Source; 87 @Override public BufferedSource source() throws IOException { method in class:Progress.ProgressResponseBody 89 bufferedSource = Okio.buffer(source(responseBody.source())); 94 private Source source(Source source) { method in class:Progress.ProgressResponseBody 95 return new ForwardingSource(source) { 99 // read() returns the number of bytes read, or -1 if this source is exhausted [all...] |
| /external/pdfium/third_party/freetype/src/base/ |
| ftglyph.c | 99 FT_BitmapGlyph source = (FT_BitmapGlyph)bitmap_source; local 103 target->left = source->left; 104 target->top = source->top; 106 return FT_Bitmap_Copy( library, &source->bitmap, &target->bitmap ); 164 FT_Outline* source = &slot->outline; local 177 (FT_UInt)source->n_points, 178 source->n_contours, 183 FT_Outline_Copy( source, target ); 204 FT_OutlineGlyph source = (FT_OutlineGlyph)outline_source; local 207 FT_Library library = FT_GLYPH( source )->library [all...] |
| /external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
| FieldMaskTreeTest.java | 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 103 NestedTestAllTypes source = local 108 // Now we have a message source with the following structure: 123 new FieldMaskTree().addFieldPath("payload.optional_int32").merge(source, builder, options); 131 .merge(source, builder, options); 137 new FieldMaskTree().addFieldPath("payload.repeated_int32").merge(source, builder, options); 145 .merge(source, builder, options); 153 .merge(source, builder, options); 161 .merge(source, builder, options) [all...] |
| FieldMaskUtilTest.java | 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 177 NestedTestAllTypes source = NestedTestAllTypes.newBuilder() local 181 FieldMaskUtil.merge(FieldMaskUtil.fromString("payload"), source, builder);
|
| /external/protobuf/src/google/protobuf/ |
| no_field_presence_test.cc | 5 // Redistribution and use in source and binary forms, with or without 9 // * Redistributions of source code must retain the above copyright 465 proto2_nofieldpresence_unittest::TestAllTypes source; local 470 source.set_optional_int32(0); 471 source.set_optional_string(""); 473 dest.MergeFrom(source); 477 source.set_optional_int32(84); 478 source.set_optional_string("test2"); 479 dest.MergeFrom(source);
|
| /external/skia/tests/ |
| BitmapTest.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 131 SkBitmap source; local 132 source.allocN32Pixels(1,1); 133 source.eraseColor(SK_ColorRED); 140 if (!source.copyTo(©, ct)) { 145 SkAutoLockPixels autoLockPixels2(source); 146 REPORTER_ASSERT(r, source.getColor(0, 0) == copy.getColor(0, 0));
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
| ClassTagsTest.java | 78 String source = Util.getLocalResource("constructor/car-without-tags.yaml"); local 79 Car car = (Car) yaml.load(source);
|
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/emitter/ |
| EmitterMultiLineTest.java | 65 String source = "a: 1\nb: |\n mama\n mila\n ramu\n"; local 66 // System.out.println("Source:\n" + source); 69 Map<String, Object> parsed = (Map<String, Object>) yaml.load(source); 79 String source = "{a: 1, b: 'mama\n\n mila\n\n ramu'}\n"; local 80 // System.out.println("Source:\n" + source); 85 Map<String, Object> parsed = (Map<String, Object>) yaml.load(source); 95 String source = "a: 1\nb: |-\n mama\n mila\n ramu\n"; local 96 // System.out.println("Source:\n" + source) [all...] |
| /external/snakeyaml/src/test/java/org/yaml/snakeyaml/immutable/ |
| ShapeImmutableTest.java | 134 String source = Util.getLocalResource("immutable/shape1.yaml"); local 135 Shape loaded = (Shape) yaml.load(source); 140 String source = Util.getLocalResource("immutable/shapeNoTags.yaml"); local 142 Shape loaded = beanLoader.loadAs(source, Shape.class);
|
| /external/swiftshader/src/OpenGL/libGL/ |
| Surface.cpp | 163 void *source = backBuffer->lockInternal(0, 0, 0, sw::LOCK_READONLY, sw::PUBLIC); local 164 frameBuffer->flip(source, backBuffer->Surface::getInternalFormat(), backBuffer->getInternalPitchB());
|
| /external/swiftshader/src/Renderer/ |
| Blitter.hpp | 54 void *source; member in struct:sw::Blitter::BlitData 79 void blit(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, bool filter); 80 void blit3D(Surface *source, Surface *dest); 89 void blit(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, const Blitter::Options& options); 90 bool blitReactor(Surface *source, const SliceRect &sRect, Surface *dest, const SliceRect &dRect, const Blitter::Options& options);
|
| /external/swiftshader/third_party/LLVM/lib/Analysis/ |
| PathProfileVerifier.cpp | 5 // This file is distributed under the University of Illinois Open Source 137 BasicBlock* source = nextEdge->getSource(); local 140 DEBUG(dbgs () << source->getNameStr() << " --{" << duplicateNumber 145 if( !arrayMap.count(source) ) { 146 errs() << " error [" << F->getNameStr() << "()]: source '" 147 << source->getNameStr() 149 } else if( !arrayMap[source].count(target) ) { 153 } else if( !arrayMap[source][target].count(duplicateNumber) ) { 155 << source->getNameStr() << " -> " << target->getNameStr() 159 edgeArray[arrayMap[source][target][duplicateNumber] [all...] |
| /external/v8/src/builtins/ |
| builtins-internal.cc | 2 // Use of this source code is governed by a BSD-style license that can be 65 Node* source = assembler->LoadObjectField(object, JSObject::kElementsOffset); local 69 assembler->LoadFixedArrayBaseLength(source), mode); 83 assembler->CopyFixedArrayElements(kind, source, target, length, 93 assembler->CopyFixedArrayElements(kind, source, target, length,
|
| /external/v8/src/crankshaft/arm/ |
| lithium-gap-resolver-arm.cc | 2 // Use of this source code is governed by a BSD-style license that can be 39 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 51 DCHECK(moves_[i].source()->IsConstantOperand()); 68 // moves to perform, ignoring any move that is redundant (the source is 87 // be encountering the starting move again. So by spilling the source of 90 // its destination. All other moves from the spilled source have been 101 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated. 106 // dependencies. Any unperformed, unpending move with a source the same 114 // and all other moves with the same source as moves_[root_index_] are 124 // In this case, we have a cycle, and we save the source of this move t 158 LOperand* source = moves_[index].source(); local 200 LOperand* source = moves_[index].source(); local [all...] |
| /external/v8/src/crankshaft/arm64/ |
| lithium-gap-resolver-arm64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 45 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 57 DCHECK(move.source()->IsConstantOperand()); 70 // moves to perform, ignoring any move that is redundant (the source is 95 DCHECK(current_move.source() != NULL); // Otherwise it will look eliminated. 100 // dependencies. Any unperformed, unpending move with a source the same 108 // and all other moves with the same source as moves_[root_index_] are 118 // In this case, we have a cycle, and we save the source of this move to 146 DCHECK(moves_[index].destination()->Equals(moves_[root_index_].source())); 149 // We save in a register the source of that move and we remember it 153 LOperand* source = moves_[index].source(); local 202 LOperand* source = moves_[index].source(); local [all...] |
| /external/v8/src/crankshaft/mips/ |
| lithium-gap-resolver-mips.cc | 2 // Use of this source code is governed by a BSD-style license that can be 30 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 42 DCHECK(moves_[i].source()->IsConstantOperand()); 53 // moves to perform, ignoring any move that is redundant (the source is 72 // be encountering the starting move again. So by spilling the source of 75 // its destination. All other moves from the spilled source have been 86 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated. 91 // dependencies. Any unperformed, unpending move with a source the same 99 // and all other moves with the same source as moves_[root_index_] are 109 // In this case, we have a cycle, and we save the source of this move t 144 LOperand* source = moves_[index].source(); local 187 LOperand* source = moves_[index].source(); local [all...] |
| /external/v8/src/crankshaft/mips64/ |
| lithium-gap-resolver-mips64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 30 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 42 DCHECK(moves_[i].source()->IsConstantOperand()); 53 // moves to perform, ignoring any move that is redundant (the source is 72 // be encountering the starting move again. So by spilling the source of 75 // its destination. All other moves from the spilled source have been 86 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated. 91 // dependencies. Any unperformed, unpending move with a source the same 99 // and all other moves with the same source as moves_[root_index_] are 109 // In this case, we have a cycle, and we save the source of this move t 144 LOperand* source = moves_[index].source(); local 187 LOperand* source = moves_[index].source(); local [all...] |
| /external/v8/src/crankshaft/ppc/ |
| lithium-gap-resolver-ppc.cc | 2 // Use of this source code is governed by a BSD-style license that can be 32 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 44 DCHECK(moves_[i].source()->IsConstantOperand()); 55 // moves to perform, ignoring any move that is redundant (the source is 74 // be encountering the starting move again. So by spilling the source of 77 // its destination. All other moves from the spilled source have been 88 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated. 93 // dependencies. Any unperformed, unpending move with a source the same 101 // and all other moves with the same source as moves_[root_index_] are 111 // In this case, we have a cycle, and we save the source of this move t 146 LOperand* source = moves_[index].source(); local 187 LOperand* source = moves_[index].source(); local [all...] |
| /external/v8/src/crankshaft/s390/ |
| lithium-gap-resolver-s390.cc | 2 // Use of this source code is governed by a BSD-style license that can be 31 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 43 DCHECK(moves_[i].source()->IsConstantOperand()); 53 // moves to perform, ignoring any move that is redundant (the source is 71 // be encountering the starting move again. So by spilling the source of 74 // its destination. All other moves from the spilled source have been 85 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated. 90 // dependencies. Any unperformed, unpending move with a source the same 98 // and all other moves with the same source as moves_[root_index_] are 108 // In this case, we have a cycle, and we save the source of this move t 142 LOperand* source = moves_[index].source(); local 181 LOperand* source = moves_[index].source(); local [all...] |
| /external/v8/src/crankshaft/x64/ |
| lithium-gap-resolver-x64.cc | 2 // Use of this source code is governed by a BSD-style license that can be 28 if (!move.IsEliminated() && !move.source()->IsConstantOperand()) { 36 DCHECK(moves_[i].source()->IsConstantOperand()); 47 // moves to perform, ignoring any move that is redundant (the source is 64 // which means that a call to PerformMove could change any source operand 73 DCHECK(moves_[index].source() != NULL); // Or else it will look eliminated. 78 // dependencies. Any unperformed, unpending move with a source the same 84 // Though PerformMove can change any source operand in the move graph, 86 // not miss any). Assume there is a non-blocking move with source A 87 // and this move is blocked on source B and there is a swap of A an 142 LOperand* source = moves_[index].source(); local 238 LOperand* source = moves_[index].source(); local [all...] |
| /external/webrtc/talk/app/webrtc/ |
| rtpsender.cc | 5 * Redistribution and use in source and binary forms, with or without 8 * 1. Redistributions of source code must retain the above copyright notice, 260 VideoSourceInterface* source = track_->GetSource(); local 268 source ? source->GetVideoCapturer() : nullptr); 288 VideoSourceInterface* source = track_->GetSource(); local 290 source ? source->GetVideoCapturer() : nullptr); 313 VideoSourceInterface* source = track_->GetSource(); local 314 if (track_->enabled() && source) { [all...] |
| /external/zlib/src/contrib/puff/ |
| pufftest.c | 93 unsigned char *source = NULL, *dest; local 117 source = load(name, &len); 118 if (source == NULL) { 125 free(source); 130 free(source); 137 ret = puff(NIL, &destlen, source + skip, &sourcelen); 153 free(source); 156 puff(dest, &destlen, source + skip, &sourcelen); 163 free(source);
|
| /frameworks/av/cmds/stagefright/ |
| audioloop.cpp | 2 * Copyright (C) 2014 The Android Open Source Project 43 fprintf(stderr, " -m use microphone for input, default sine source\n"); 83 sp<MediaSource> source; local 87 source = new AudioSource( 93 // use a sine source at 500 hz. 94 source = new SineSource(kSampleRate, channels); 107 if (source->getFormat()->findInt32(kKeyMaxInputSize, &maxInputSize)) { 115 sp<IMediaSource> encoder = MediaCodecSource::Create(looper, meta, source);
|
| /frameworks/av/media/libaaudio/src/fifo/ |
| FifoBuffer.cpp | 2 * Copyright 2015 The Android Open Source Project 89 uint8_t *source = &mStorage[convertFramesToBytes(startIndex)]; local 92 wrappingBuffer->data[0] = source; 98 wrappingBuffer->data[0] = source; 153 uint8_t *source = (uint8_t *) buffer; local 168 memcpy(wrappingBuffer.data[partIndex], source, numBytes); 170 source += numBytes;
|
| /frameworks/av/media/libaudioclient/ |
| IAudioPolicyServiceClient.cpp | 2 * Copyright (C) 2009 The Android Open Source Project 84 audio_source_t source, const audio_config_base_t *clientConfig, 90 data.writeInt32(source); 127 audio_source_t source = (audio_source_t) data.readInt32(); local 133 onRecordingConfigurationUpdate(event, session, source, &clientConfig, &deviceConfig,
|