/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | RetryableSink.java | 54 @Override public void write(Buffer source, long byteCount) throws IOException { argument 56 checkOffsetAndCount(source.size(), 0, byteCount); 60 content.write(source, byteCount);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/io/ |
H A D | FileSystem.java | 31 * <p>All operations on a file system are racy. For example, guarding a call to {@link #source} 43 @Override public Source source(File file) throws FileNotFoundException { 44 return Okio.source(file); 106 Source source(File file) throws FileNotFoundException; method in interface:FileSystem
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
H A D | PushObserver.java | 66 * @param source location of data corresponding with this stream ID. 67 * @param byteCount number of bytes to read or skip from the source. 70 boolean onData(int streamId, BufferedSource source, int byteCount, boolean last) argument 86 @Override public boolean onData(int streamId, BufferedSource source, int byteCount, 88 source.skip(byteCount);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/io/ |
H A D | InMemoryFileSystem.java | 32 @Override public Source source(File file) throws FileNotFoundException { method in class:InMemoryFileSystem
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
H A D | Spdy3Test.java | 86 private void sendDataFrame(Buffer source) throws IOException { argument 88 writer.sendDataFrame(expectedStreamId, 0, source, (int) source.size());
|
/external/okhttp/okio/okio/src/main/java/okio/ |
H A D | GzipSink.java | 46 * The deflater sink takes care of moving data between decompressed source and 65 @Override public void write(Buffer source, long byteCount) throws IOException { argument 69 updateCrc(source, byteCount); 70 deflaterSink.write(source, byteCount);
|
/external/okhttp/okio/okio/src/test/java/okio/ |
H A D | MockSink.java | 50 @Override public void write(Buffer source, long byteCount) throws IOException { argument 51 log.add("write(" + source + ", " + byteCount + ")"); 52 source.skip(byteCount);
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
H A D | Progress.java | 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) { argument 95 return new ForwardingSource(source) { 99 // read() returns the number of bytes read, or -1 if this source is exhausted.
|
/external/openfst/src/include/fst/script/ |
H A D | compile.h | 33 const string &source; member in struct:fst::script::FstCompileArgs 45 FstCompileArgs(istream &istrm, const string &source, const string &dest, argument 51 istrm(istrm), source(source), dest(dest), fst_type(fst_type), 63 FstCompiler<Arc> fstcompiler(args->istrm, args->source, args->isyms, 82 void CompileFst(istream &istrm, const string &source, const string &dest,
|
/external/openfst/src/script/ |
H A D | fst-class.cc | 65 << hdr.ArcType() << "\" : " << read_options.source; 81 FstClass *FstClass::Read(istream &istr, const string &source) { argument 82 return ReadFst<FstClass>(istr, source);
|
/external/skia/src/effects/ |
H A D | SkRectShaderImageFilter.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 52 const SkBitmap& source, 57 if (!this->applyCropRect(ctx, source, SkIPoint::Make(0, 0), &bounds)) { 51 onFilterImage(Proxy* proxy, const SkBitmap& source, const Context& ctx, SkBitmap* result, SkIPoint* offset) const argument
|
/external/v8/src/compiler/ |
H A D | gap-resolver.cc | 2 // Use of this source code is governed by a BSD-style license that can be 62 // call to PerformMove could change any source operand in the move graph. 68 DCHECK_NOT_NULL(move->source()); // Or else it will look eliminated. 73 // Any unperformed, unpending move with a source the same as this one's 77 // Though PerformMove can change any source operand in the move graph, 79 // miss any). Assume there is a non-blocking move with source A and this 80 // move is blocked on source B and there is a swap of A and B. Then A and 94 // This move's source may have changed due to swaps to resolve cycles and so 96 InstructionOperand* source = move->source(); local [all...] |
/external/zlib/src/examples/ |
H A D | zpipe.c | 30 /* Compress from file source to file dest until EOF on source. 36 int def(FILE *source, FILE *dest, int level) argument 54 strm.avail_in = fread(in, 1, CHUNK, source); 55 if (ferror(source)) { 59 flush = feof(source) ? Z_FINISH : Z_NO_FLUSH; 63 compression if all of source has been read in */ 86 /* Decompress from file source to file dest until stream ends or EOF. 92 int inf(FILE *source, FILE *dest) argument 112 strm.avail_in = fread(in, 1, CHUNK, source); [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/util/ |
H A D | PlotStatistics.java | 79 private void annotatePlot(Plot source, Canvas canvas) {
argument 93 RectF r = source.getDisplayDimensions().canvasRect;
100 public void onBeforeDraw(Plot source, Canvas canvas) {
argument 105 public void onAfterDraw(Plot source, Canvas canvas) {
argument 116 annotatePlot(source, canvas);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
H A D | AbstractFormat.java | 139 * Parses <code>source</code> until a non-whitespace character is found. 140 * @param source the string to parse 144 protected static void parseAndIgnoreWhitespace(final String source, argument 146 parseNextCharacter(source, pos); 151 * Parses <code>source</code> until a non-whitespace character is found. 152 * @param source the string to parse 156 protected static char parseNextCharacter(final String source, argument 159 final int n = source.length(); 165 c = source.charAt(index++);
|
H A D | BigFractionFormat.java | 186 * @param source the string to parse 192 public BigFraction parse(final String source) throws ParseException { argument 194 final BigFraction result = parse(source, parsePosition); 198 LocalizedFormats.UNPARSEABLE_FRACTION_NUMBER, source); 206 * @param source the string to parse 211 public BigFraction parse(final String source, final ParsePosition pos) { argument 215 parseAndIgnoreWhitespace(source, pos); 218 final BigInteger num = parseNextBigInteger(source, pos); 229 final char c = parseNextCharacter(source, pos); 248 parseAndIgnoreWhitespace(source, po 270 parseNextBigInteger(final String source, final ParsePosition pos) argument [all...] |
H A D | FractionFormat.java | 197 * @param source the string to parse 203 public Fraction parse(final String source) throws ParseException { argument 205 final Fraction result = parse(source, parsePosition); 209 LocalizedFormats.UNPARSEABLE_FRACTION_NUMBER, source); 217 * @param source the string to parse 222 public Fraction parse(final String source, final ParsePosition pos) { argument 226 parseAndIgnoreWhitespace(source, pos); 229 final Number num = getNumeratorFormat().parse(source, pos); 240 final char c = parseNextCharacter(source, pos); 259 parseAndIgnoreWhitespace(source, po [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/ |
H A D | SynchronizedDescriptiveStatistics.java | 156 * Copies source to dest. 157 * <p>Neither source nor dest can be null.</p> 158 * <p>Acquires synchronization lock on source, then dest before copying.</p> 160 * @param source SynchronizedDescriptiveStatistics to copy 162 * @throws NullPointerException if either source or dest is null 164 public static void copy(SynchronizedDescriptiveStatistics source, argument 166 synchronized (source) { 168 DescriptiveStatistics.copy(source, dest);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/moment/ |
H A D | FirstMoment.java | 146 * Copies source to dest. 147 * <p>Neither source nor dest can be null.</p> 149 * @param source FirstMoment to copy 151 * @throws NullPointerException if either source or dest is null 153 public static void copy(FirstMoment source, FirstMoment dest) { argument 154 dest.setData(source.getDataRef()); 155 dest.n = source.n; 156 dest.m1 = source.m1; 157 dest.dev = source.dev; 158 dest.nDev = source [all...] |
H A D | GeometricMean.java | 181 * Copies source to dest. 182 * <p>Neither source nor dest can be null.</p> 184 * @param source GeometricMean to copy 186 * @throws NullPointerException if either source or dest is null 188 public static void copy(GeometricMean source, GeometricMean dest) { argument 189 dest.setData(source.getDataRef()); 190 dest.sumOfLogs = source.sumOfLogs.copy();
|
H A D | 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) { argument 217 dest.setData(source.getDataRef()); 218 dest.moment = source.moment.copy(); 219 dest.incMoment = source.incMoment;
|
H A D | Mean.java | 260 * Copies source to dest. 261 * <p>Neither source nor dest can be null.</p> 263 * @param source Mean to copy 265 * @throws NullPointerException if either source or dest is null 267 public static void copy(Mean source, Mean dest) { argument 268 dest.setData(source.getDataRef()); 269 dest.incMoment = source.incMoment; 270 dest.moment = source.moment.copy();
|
H A D | 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) { argument 209 dest.setData(source.getDataRef()); 210 dest.moment = new ThirdMoment(source.moment.copy()); 211 dest.incMoment = source.incMoment;
|
H A D | StandardDeviation.java | 259 * Copies source to dest. 260 * <p>Neither source nor dest can be null.</p> 262 * @param source StandardDeviation to copy 264 * @throws NullPointerException if either source or dest is null 266 public static void copy(StandardDeviation source, StandardDeviation dest) { argument 267 dest.setData(source.getDataRef()); 268 dest.variance = source.variance.copy();
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/descriptive/rank/ |
H A D | Max.java | 151 * Copies source to dest. 152 * <p>Neither source nor dest can be null.</p> 154 * @param source Max to copy 156 * @throws NullPointerException if either source or dest is null 158 public static void copy(Max source, Max dest) { argument 159 dest.setData(source.getDataRef()); 160 dest.n = source.n; 161 dest.value = source.value;
|