HomeSort by relevance Sort by last modified time
    Searched refs:chunk (Results 1 - 25 of 1200) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/curl/docs/examples/
httpcustomheader.c 36 struct curl_slist *chunk = NULL; local
39 chunk = curl_slist_append(chunk, "Accept:");
42 chunk = curl_slist_append(chunk, "Another: yes");
45 chunk = curl_slist_append(chunk, "Host: example.com");
49 chunk = curl_slist_append(chunk, "X-silly-header;");
52 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
    [all...]
  /packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
NinePatchChunk.java 25 // NinePatch chunk.
56 NinePatchChunk chunk = new NinePatchChunk();
57 chunk.mDivX = new int[byteBuffer.get()];
58 chunk.mDivY = new int[byteBuffer.get()];
59 chunk.mColor = new int[byteBuffer.get()];
61 checkDivCount(chunk.mDivX.length);
62 checkDivCount(chunk.mDivY.length);
68 chunk.mPaddings.left = byteBuffer.getInt();
69 chunk.mPaddings.right = byteBuffer.getInt();
70 chunk.mPaddings.top = byteBuffer.getInt()
    [all...]
  /external/bsdiff/
compressor_buffer.cc 14 for (const auto& chunk : comp_chunks_)
15 chunks_size += chunk.size();
17 for (const auto& chunk : comp_chunks_) {
18 comp_data_.insert(comp_data_.end(), chunk.begin(), chunk.end());
  /external/vboot_reference/host/lib21/
host_misc.c 102 unsigned int chunk[11]; local
107 chunk+0,
108 chunk+1,
109 chunk+2,
110 chunk+3,
111 chunk+4,
112 chunk+5,
113 chunk+6,
114 chunk+7,
115 chunk+8
    [all...]
  /prebuilts/go/darwin-x86/src/path/
match.go 42 var chunk string
43 star, chunk, pattern = scanChunk(pattern)
44 if star && chunk == "" {
49 t, ok, err := matchChunk(chunk, name)
50 // if we're the last chunk, make sure we've exhausted the name
64 t, ok, err := matchChunk(chunk, name[i+1:])
66 // if we're the last chunk, make sure we exhausted the name
85 func scanChunk(pattern string) (star bool, chunk, rest string) {
113 // matchChunk checks whether chunk matches the beginning of s.
115 // Chunk is all single-character operators: literals, char classes, and ?
    [all...]
  /prebuilts/go/linux-x86/src/path/
match.go 42 var chunk string
43 star, chunk, pattern = scanChunk(pattern)
44 if star && chunk == "" {
49 t, ok, err := matchChunk(chunk, name)
50 // if we're the last chunk, make sure we've exhausted the name
64 t, ok, err := matchChunk(chunk, name[i+1:])
66 // if we're the last chunk, make sure we exhausted the name
85 func scanChunk(pattern string) (star bool, chunk, rest string) {
113 // matchChunk checks whether chunk matches the beginning of s.
115 // Chunk is all single-character operators: literals, char classes, and ?
    [all...]
  /external/libxml2/python/tests/
indexes.py 63 chunk = """ <bar1>chars1</bar1>
75 ctxt.parseChunk(chunk, len(chunk), 0)
77 chunk = "</foo>" variable
78 ctxt.parseChunk(chunk, len(chunk), 1)
85 chunk="""<?xml version="1.0" encoding="ISO-8859-1"?>
88 ctxt = libxml2.createPushParser(handler, chunk, len(chunk), "test.xml")
89 chunk = """ <bar1>chars1</bar1
103 chunk = "<\/foo>" variable
    [all...]
sync.py 46 chunk="""<foo><bar2/>"""
48 ctxt.parseChunk(chunk, len(chunk), 0)
58 chunk="""<foo><bar2></bar2>"""
60 ctxt.parseChunk(chunk, len(chunk), 0)
70 chunk="""<foo><bar2>"""
72 ctxt.parseChunk(chunk, len(chunk), 0)
82 chunk="""<foo><bar2 a="1" b='2' />""
    [all...]
  /frameworks/base/tools/aapt2/format/binary/
ResChunkPullParser.h 32 // that the chunk's size doesn't extend beyond the available data, and will iterate over each chunk
35 // portion of a chunk.
55 const android::ResChunk_header* chunk() const;
71 inline static const T* ConvertTo(const android::ResChunk_header* chunk) {
72 if (util::DeviceToHost16(chunk->headerSize) < MinSize) {
75 return reinterpret_cast<const T*>(chunk);
78 inline static const uint8_t* GetChunkData(const android::ResChunk_header* chunk) {
79 return reinterpret_cast<const uint8_t*>(chunk) + util::DeviceToHost16(chunk->headerSize)
109 inline const android::ResChunk_header* ResChunkPullParser::chunk() const { function in class:aapt::ResChunkPullParser
    [all...]
  /external/v8/src/heap/
remembered-set.h 24 static void Insert(MemoryChunk* chunk, Address slot_addr) {
25 DCHECK(chunk->Contains(slot_addr));
26 SlotSet* slot_set = GetSlotSet(chunk);
28 slot_set = AllocateSlotSet(chunk);
30 uintptr_t offset = slot_addr - chunk->address();
36 static bool Contains(MemoryChunk* chunk, Address slot_addr) {
37 DCHECK(chunk->Contains(slot_addr));
38 SlotSet* slot_set = GetSlotSet(chunk);
42 uintptr_t offset = slot_addr - chunk->address();
50 static void Remove(MemoryChunk* chunk, Address slot_addr)
113 MemoryChunk* chunk; local
207 MemoryChunk* chunk; local
    [all...]
  /external/autotest/server/site_tests/enterprise_CFM_HuddlyUpdater/
parse_unittest.py 30 chunk = fhandle.read()
32 got = parse.parse_fw_vers(chunk)
  /external/jemalloc/include/jemalloc/internal/
chunk_mmap.h 14 bool chunk_dalloc_mmap(void *chunk, size_t size);
arena.h 75 /* Each element of the chunk map corresponds to one page within the chunk. */
161 * Each arena_chunk_map_misc_t corresponds to one page within the chunk, just
163 * chunk header in order to improve cache locality.
193 /* Arena chunk header. */
196 * A pointer to the arena that owns the chunk is stored within the node.
211 * Map of pages within chunk that keeps track of free/large/small. The
212 * first map_bias entries are omitted, since the chunk header does not
214 * for common chunk sizes (e.g. 4 MiB).
372 * 3) Chunk- and run-related operations are protected by this mutex
    [all...]
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowNinePatch.java 10 public static boolean isNinePatchChunk(byte[] chunk) {
11 return chunk != null;
  /external/v8/src/libplatform/tracing/
trace-buffer.cc 25 auto& chunk = chunks_[chunk_index_]; local
26 if (chunk) {
27 chunk->Reset(current_chunk_seq_++);
29 chunk.reset(new TraceBufferChunk(current_chunk_seq_++));
32 auto& chunk = chunks_[chunk_index_]; local
34 TraceObject* trace_object = chunk->AddTraceEvent(&event_index);
35 *handle = MakeHandle(chunk_index_, chunk->seq(), event_index);
45 auto& chunk = chunks_[chunk_index];
46 if (!chunk || chunk->seq() != chunk_seq) return NULL
    [all...]
  /external/autotest/client/tests/bonnie/
bonnie.py 9 chunk = values[1]
11 chunk = 0
18 if chunk:
19 if chunk.endswith('K') or chunk.endswith('k'):
20 chunk = int(chunk[:-1]) * 2**10
22 chunk = int(chunk)
23 return [size, chunk]
    [all...]
  /frameworks/layoutlib/bridge/src/android/graphics/
NinePatch_Delegate.java 56 * in the cache, using a {@link SoftReference} for the chunk. The default Java classes
65 private byte[] chunk; field in class:NinePatch_Delegate
71 * Serializes the given chunk.
73 * @return the serialized data for the chunk.
75 public static byte[] serialize(NinePatchChunk chunk) {
76 // serialize the chunk to get a byte[]
81 oos.writeObject(chunk);
96 sChunkCache.put(array, new SoftReference<>(chunk));
103 * If the chunk is present in the cache then the object from the cache is returned, otherwise
106 * @param array the serialized representation of the chunk
111 NinePatchChunk chunk = chunkRef.get(); local
    [all...]
  /external/perfetto/src/tracing/core/
shared_memory_abi_unittest.cc 27 using Chunk = SharedMemoryABI::Chunk;
85 Chunk chunks[14];
88 Chunk& chunk = chunks[chunk_idx]; local
104 chunk = abi.TryAcquireChunkForWriting(page_idx, chunk_idx, &header);
105 ASSERT_TRUE(chunk.is_valid());
109 // Sanity check chunk bounds.
113 ASSERT_EQ(expected_chunk_size, chunk.size());
115 chunk.payload_size())
151 Chunk& chunk = chunks[chunk_idx]; local
162 Chunk& chunk = chunks[chunk_idx]; local
171 Chunk& chunk = chunks[chunk_idx]; local
195 Chunk chunk = abi.TryAcquireChunkForWriting(0, 0, &header); local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
ChunkedIntArray.java 94 int[] chunk = chunks.elementAt(chunkpos); local
95 chunk[slotpos] = w0;
96 chunk[slotpos+1] = w1;
97 chunk[slotpos+2] = w2;
98 chunk[slotpos+3] = w3;
126 int[] chunk = chunks.elementAt(chunkpos); local
127 return chunk[slotpos + offset];
148 int[] chunk = chunks.elementAt(chunkpos); local
153 ancestor = chunk[slotpos + 1];
175 CIA; when only a single characters() chunk has been recieved, its inde
207 int[] chunk = chunks.elementAt(chunkpos); local
230 int[] chunk = chunks.elementAt(chunkpos); local
263 int[] chunk = chunks.elementAt(chunkpos); local
    [all...]
  /external/guava/guava-tests/test/com/google/common/io/
LineBufferTest.java 73 for (int chunk : CHUNK_SIZES) {
74 chunk = Math.max(1, Math.min(chunk, input.length()));
75 assertEquals(expectProcess, bufferHelper(input, chunk));
76 assertEquals(expectRead, readUsingJava(input, chunk));
77 assertEquals(expectRead, readUsingReader(input, chunk, true));
78 assertEquals(expectRead, readUsingReader(input, chunk, false));
82 private static List<String> bufferHelper(String input, int chunk)
93 int len = Math.min(chars.length, off + chunk) - off;
101 private static List<String> readUsingJava(String input, int chunk)
    [all...]
  /external/autotest/client/site_tests/platform_CompressedSwap/src/
hog.c 33 int chunk; local
66 for (chunk = 0; chunk < megabytes; chunk++) {
71 printf("hog: out of memory at chunk %d\n", chunk);
79 chunks[chunk] = p;
82 printf("hog: idling\n", chunk);
  /external/deqp/scripts/src_util/
check_boms.py 41 chunk = f.read(1024)
42 if chunk.startswith(codecs.BOM_UTF8):
43 chunk = chunk[3:]
48 while chunk:
50 f.write(chunk)
51 writepos += len(chunk)
53 chunk = f.read(1024)
54 readpos += len(chunk)
  /external/syslinux/com32/elflink/ldlinux/
loadhigh.c 66 uint32_t chunk; local
74 chunk = bytes;
78 chunk = min(chunk, MAX_CHUNK);
81 if (chunk > (((char *)limit - buf) & ~sector_mask))
82 chunk = ((char *)limit - buf) & ~sector_mask;
84 sectors = (chunk + sector_mask) >> SECTOR_SHIFT(fs);
87 if (bytes_read > chunk)
88 bytes_read = chunk;
  /external/libpng/contrib/libtests/
fakepng.c 23 put_chunk(const unsigned char *chunk, uInt length)
29 fwrite(chunk, length, 1, stdout);
32 put_uLong(crc32(crc, chunk, length));
  /toolchain/binutils/binutils-2.27/libiberty/
objalloc.c 56 /* This structure appears at the start of each chunk. */
60 /* Next chunk. */
62 /* If this chunk contains large objects, this is the value of
63 current_ptr when this chunk was allocated. If this chunk
74 /* We ask for this much memory each time we create a chunk which is to
89 struct objalloc_chunk *chunk; local
102 chunk = (struct objalloc_chunk *) ret->chunks;
103 chunk->next = NULL;
104 chunk->current_ptr = NULL
141 struct objalloc_chunk *chunk; local
157 struct objalloc_chunk *chunk; local
    [all...]

Completed in 815 milliseconds

1 2 3 4 5 6 7 8 91011>>