/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...] |
getinmemory.c | 24 * chunk of memory instead of storing it in a file. 64 struct MemoryStruct chunk; local 66 chunk.memory = malloc(1); /* will be grown as needed by the realloc above */ 67 chunk.size = 0; /* no data at this point */ 80 /* we pass our 'chunk' struct to the callback function */ 81 curl_easy_setopt(curl_handle, CURLOPT_WRITEDATA, (void *)&chunk); 97 * Now, our chunk.memory points to a memory block that is chunk.size 103 printf("%lu bytes retrieved\n", (long)chunk.size); 109 free(chunk.memory) [all...] |
post-callback.c | 110 struct curl_slist *chunk = NULL; local 112 chunk = curl_slist_append(chunk, "Transfer-Encoding: chunked"); 113 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk); 133 struct curl_slist *chunk = NULL; local 135 chunk = curl_slist_append(chunk, "Expect:"); 136 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
|
postinmemory.c | 60 struct MemoryStruct chunk; local 63 chunk.memory = malloc(1); /* will be grown as needed by realloc above */ 64 chunk.size = 0; /* no data at this point */ 75 /* we pass our 'chunk' struct to the callback function */ 76 curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&chunk); 97 * Now, our chunk.memory points to a memory block that is chunk.size 102 printf("%s\n",chunk.memory); 108 free(chunk.memory);
|
/external/mesa3d/src/gallium/drivers/r600/ |
evergreen_compute.h | 38 struct compute_memory_item *chunk; member in struct:r600_resource_global
|
/art/runtime/native/ |
org_apache_harmony_dalvik_ddmc_DdmServer.cc | 36 ArrayRef<const uint8_t> chunk(reinterpret_cast<const uint8_t*>(&data[offset]), 38 Runtime::Current()->GetRuntimeCallbacks()->DdmPublishChunk(static_cast<uint32_t>(type), chunk); local
|
/prebuilts/go/darwin-x86/src/bytes/ |
bytes_arm64.s | 20 BEQ chunk 32 chunk: label 34 // The first chunk can also be the last 47 // Count the target byte in 32-byte chunk
|
/prebuilts/go/linux-x86/src/bytes/ |
bytes_arm64.s | 20 BEQ chunk 32 chunk: label 34 // The first chunk can also be the last 47 // Count the target byte in 32-byte chunk
|
/external/elfutils/libelf/ |
elf_getdata_rawchunk.c | 1 /* Return converted data from raw chunk of ELF file. 160 Elf_Data_Chunk *chunk = calloc (1, sizeof *chunk); local 161 if (chunk == NULL) 168 chunk->dummy_scn.elf = elf; 169 chunk->dummy_scn.flags = flags; 170 chunk->data.s = &chunk->dummy_scn; 171 chunk->data.d.d_buf = buffer; 172 chunk->data.d.d_size = size [all...] |
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
dump_test.go | 49 chunk("abcdef") + chunk(""), 253 func chunk(s string) string { func
|
/prebuilts/go/linux-x86/src/net/http/httputil/ |
dump_test.go | 49 chunk("abcdef") + chunk(""), 253 func chunk(s string) string { func
|
/art/runtime/ |
monitor_pool.cc | 36 AllocateChunk(); // Get our first chunk. 44 // Do we need to allocate another chunk list? 59 // Allocate the chunk. 60 void* chunk = allocator_.allocate(kChunkSize); local 62 CHECK_NE(reinterpret_cast<uintptr_t>(nullptr), reinterpret_cast<uintptr_t>(chunk)); 64 CHECK_EQ(0U, reinterpret_cast<uintptr_t>(chunk) % kMonitorAlignment); 66 // Add the chunk. 67 monitor_chunks_[current_chunk_list_index_][num_chunks_] = reinterpret_cast<uintptr_t>(chunk); 71 Monitor* last = reinterpret_cast<Monitor*>(reinterpret_cast<uintptr_t>(chunk) + 87 DCHECK(last == reinterpret_cast<Monitor*>(chunk)); [all...] |
/external/adhd/cras/src/dsp/ |
dsp_util.c | 32 int chunk = frames >> 3; local 36 if (chunk) { 40 "subs %w[chunk], %w[chunk], #1 \n" 53 [chunk]"+r"(chunk), 88 int chunk = frames >> 2; local 91 if (chunk) { 97 "subs %w[chunk], %w[chunk], #1 \n 140 int chunk = frames >> 3; local 194 int chunk = frames >> 2; local 265 int chunk = frames >> 3; local 327 int chunk = frames >> 2; local [all...] |
/external/adhd/cras/src/dsp/tests/ |
drc_test.c | 31 int chunk; local 36 chunk = min(DRC_PROCESS_MAX_FRAMES, frames - start); 37 drc_process(drc, data, chunk); 38 start += chunk;
|
/external/boringssl/src/crypto/fipsmodule/tls/ |
kdf.c | 77 const size_t chunk = EVP_MD_size(md); local 97 (out_len > chunk && !HMAC_CTX_copy_ex(&ctx_tmp, &ctx)) || 104 assert(len == chunk);
|
/external/compiler-rt/lib/asan/ |
asan_debugging.cc | 51 AsanChunkView chunk = FindHeapChunkByAddress(addr); local 57 if (!chunk.IsValid()) { 62 descr->region_address = chunk.Beg(); 63 descr->region_size = chunk.UsedSize(); 86 AsanChunkView chunk = FindHeapChunkByAddress(addr); local 87 if (!chunk.IsValid()) return 0; 91 if (chunk.AllocTid() == kInvalidTid) return 0; 92 stack = chunk.GetAllocStack(); 93 if (thread_id) *thread_id = chunk.AllocTid(); 95 if (chunk.FreeTid() == kInvalidTid) return 0 [all...] |
/external/curl/lib/ |
http_chunks.c | 41 * Chunk format (simplified): 43 * <HEX SIZE>[ chunk extension ] CRLF 55 Chunked-Body = *chunk 56 last-chunk 60 chunk = chunk-size [ chunk-extension ] CRLF 61 chunk-data CRLF 62 chunk-size = 1*HEX 63 last-chunk = 1*("0") [ chunk-extension ] CRL 88 struct Curl_chunker *chunk = &conn->chunk; local [all...] |
/external/freetype/src/psaux/ |
psarrst.h | 58 size_t chunk; /* allocation increment in items */ member in struct:CF2_ArrStackRec_
|
/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...] |
pushSAX.py | 46 chunk = " url='tst'>b" 47 ctxt.parseChunk(chunk, len(chunk), 0) 48 chunk = "ar</foo>" variable 49 ctxt.parseChunk(chunk, len(chunk), 1)
|
pushSAXhtml.py | 46 chunk = " url='tst'>b" 47 ctxt.htmlParseChunk(chunk, len(chunk), 0) 48 chunk = "ar</foo>" variable 49 ctxt.htmlParseChunk(chunk, len(chunk), 1)
|
/external/mockito/src/main/java/org/mockito/internal/verification/ |
Only.java | 26 List<Invocation> chunk = findInvocations(invocations,target); local 27 if (invocations.size() != 1 && !chunk.isEmpty()) { 31 if (invocations.size() != 1 || chunk.isEmpty()) { 34 markVerified(chunk.get(0), target);
|
/external/mockito/src/main/java/org/mockito/internal/verification/checkers/ |
AtLeastXNumberOfInvocationsChecker.java | 37 List<Invocation> chunk = findAllMatchingUnverifiedChunks(invocations, wanted, orderingContext); local 39 int actualCount = chunk.size(); 42 Location lastLocation = getLastLocation(chunk); 46 markVerifiedInOrder(chunk, wanted, orderingContext);
|
/external/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpChunkedResponseTest.java | 46 int chunk = 0; field in class:HttpChunkedResponseTest.ChunkedInputStream 57 for (int i = 0; i < this.chunks[this.chunk].length(); ++i) { 58 buffer[i] = (byte) this.chunks[this.chunk].charAt(i); 60 return this.chunks[this.chunk++].length();
|
/external/skia/src/utils/ |
SkBitSet.h | 30 uint32_t* chunk = this->internalGet(index); local 31 SkASSERT(chunk); 32 *chunk |= mask; 44 const uint32_t* chunk = this->internalGet(index); local 46 return chunk && SkToBool(*chunk & mask);
|