Searched refs:skip (Results 51 - 75 of 366) sorted by relevance

1234567891011>>

/external/skia/tests/
H A DPackBitsTest.cpp115 size_t skip = gRand.nextU() % size; local
117 if (skip + write > size) {
118 write = size - skip;
120 SkPackBits::Unpack8(src, skip, write, dst);
121 bool match = memcmp(src, src2 + skip, write) == 0;
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DReaderTest.java134 * @tests {@link java.io.Reader#skip(long)}
143 // normal skip
144 mockReader.skip(length / 2);
147 // try to skip a bigger number of characters than the total
149 mockReader.skip(length);
151 // try to skip a negative number of characters throw IllegalArgumentException
153 mockReader.skip(-1);
H A DFilterInputStreamTest.java103 is.skip(3000);
123 * @tests java.io.FilterInputStream#skip(long)
127 is.skip(1000);
129 assertTrue("Failed to skip to correct position", new String(buf1, 0,
H A DFileInputStreamTest.java174 is.skip(3000);
187 is.skip(3000);
326 * @tests java.io.FileInputStream#skip(long)
331 is.skip(1000);
334 assertTrue("Failed to skip to correct position", new String(buf1, 0,
383 * @tests java.io.FileInputStream#skip(long)
388 fis.skip(-5);
389 fail("IOException must be thrown if number of bytes to skip <0");
424 fis.skip(100);
H A DLineNumberReaderTest.java72 lnr.skip(80);
205 * @tests java.io.LineNumberReader#skip(long)
210 lnr.skip(80);
213 assertTrue("Failed to skip to correct position", text
H A DPushbackInputStreamTest.java157 * @tests java.io.PushbackInputStream#skip(long)
160 // Test for method long java.io.PushbackInputStream.skip(long)
162 pis.skip(50);
167 pis.skip(25);
/external/skia/src/ports/
H A DSkFontHost_tables.cpp64 if (stream->skip(offset) != offset) {
99 if (stream->skip(offsetToDir) != offsetToDir) {
192 // skip the stream to the part of the table we want to copy from
195 if (stream->skip(bytesToSkip) != bytesToSkip) {
/external/zlib/src/examples/
H A Dzran.c247 int ret, skip; local
285 /* skip uncompressed bytes until offset reached, then satisfy request */
288 skip = 1; /* while skipping to offset */
291 if (offset == 0 && skip) { /* at offset now */
294 skip = 0; /* only do this once */
296 if (offset > WINSIZE) { /* skip WINSIZE bytes */
301 else if (offset != 0) { /* last skip */
335 } while (skip);
338 ret = skip ? 0 : len - strm.avail_out;
/external/chromium/net/tools/flip_server/
H A Dbalsa_headers_token_utils.cc52 header_line->skip = true; // remove the whole line
54 header_line->skip = true; // remove the whole line
/external/guava/guava-tests/test/com/google/common/io/
H A DLimitInputStreamTest.java88 lin.skip(1);
93 lin.skip(3);
/external/skia/include/core/
H A DSkBuffer.h65 const void* skip(size_t size); // return start of skipped data
113 void* skip(size_t size); // return start of skipped data
H A DSkReader32.h67 const void* skip(size_t size) { function in class:SkReader32
77 return *(const T*)this->skip(sizeof(T));
/external/skia/src/core/
H A DSkBuffer.cpp22 const void* SkRBuffer::skip(size_t size) function in class:SkRBuffer
37 void* SkWBuffer::skip(size_t size) function in class:SkWBuffer
H A DSkPicturePlayback.cpp13 /* Define this to spew out a debug statement whenever we skip the remainder of
470 SkDEBUGCODE(uint32_t bytes =) fRegions[i].unflatten(buffer.skip(size));
592 canvas.drawData(fReader.skip(length), length);
593 // skip handles padding the read out to a multiple of 4
609 const SkPoint* pts = (const SkPoint*)fReader.skip(sizeof(SkPoint) * count);
616 const SkPoint* pos = (const SkPoint*)fReader.skip(points * sizeof(SkPoint));
623 const SkPoint* pos = (const SkPoint*)fReader.skip(points * sizeof(SkPoint));
635 const SkScalar* xpos = (const SkScalar*)fReader.skip(xCount * sizeof(SkScalar));
643 const SkScalar* xpos = (const SkScalar*)fReader.skip((3 + xCount) * sizeof(SkScalar));
673 const SkScalar* ptr = (const SkScalar*)fReader.skip(
[all...]
/external/apache-http/src/org/apache/http/impl/io/
H A DContentLengthInputStream.java193 * @param n The number of bytes to skip.
197 * @see InputStream#skip(long)
199 public long skip(long n) throws IOException { method in class:ContentLengthInputStream
204 // make sure we don't skip more bytes than are
207 // skip and keep track of the bytes actually skipped
/external/emma/core/java12/com/vladium/util/
H A DByteArrayIStream.java84 public final long skip (long n) method in class:ByteArrayIStream
/external/libvpx/vp8/encoder/
H A Dblock.h103 int skip; member in struct:__anon8221
/external/openssh/
H A Dauth1.c298 goto skip;
302 goto skip;
307 goto skip;
363 skip:
/external/qemu/distrib/sdl-1.2.15/src/video/fbcon/
H A DSDL_fbmatrox.c129 int skip; local
169 /* Set up the blit source row start, end, and skip (in pixels) */
177 skip = -pitch;
179 skip = pitch;
209 mga_out32(MGAREG_AR5, skip);
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/
H A DSDL_syswm.c65 int i, skip;
168 skip = icon_pitch - icon->w;
181 pdata += skip;
182 pwin32 += skip;
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/
H A DFileUtils.java110 long amt = in.skip(at);
/external/webkit/Source/WebCore/svg/
H A DSVGParserUtilities.cpp46 template <typename FloatType> static bool genericParseNumber(const UChar*& ptr, const UChar* end, FloatType& number, bool skip) argument
139 if (skip)
145 bool parseNumber(const UChar*& ptr, const UChar* end, float& number, bool skip) argument
147 return genericParseNumber(ptr, end, number, skip);
H A DSVGParserUtilities.h35 bool parseNumber(const UChar*& ptr, const UChar* end, float& number, bool skip = true);
/external/llvm/lib/Support/
H A DYAMLParser.cpp381 void skip(uint32_t Distance);
903 void Scanner::skip(uint32_t Distance) { function in class:Scanner
985 skip(1);
991 // This may skip more than one byte, thus Column is only incremented
1077 skip(3);
1087 skip(1);
1106 skip(1);
1119 skip(1);
1131 skip(1);
1146 skip(
1560 void Stream::skip() { function in class:Stream
1983 bool Document::skip() { function in class:Document
[all...]
/external/openssl/crypto/
H A Dex_data.c419 goto skip;
423 skip:
466 goto skip;
470 skip:
506 goto skip;
510 skip:

Completed in 456 milliseconds

1234567891011>>