Searched refs:chunk (Results 1 - 25 of 168) sorted by relevance

1234567

/macosx-10.10.1/bmalloc-7600.1.17/bmalloc/
H A DVMHeap.cpp41 SmallChunk* chunk = SmallChunk::create(); local
42 for (auto* it = chunk->begin(); it != chunk->end(); ++it)
48 MediumChunk* chunk = MediumChunk::create(); local
49 for (auto* it = chunk->begin(); it != chunk->end(); ++it)
55 LargeChunk* chunk = LargeChunk::create(); local
56 Range result = BoundaryTag::init(chunk);
H A DLargeChunk.h88 LargeChunk* chunk = get(object); local
89 size_t boundaryTagNumber = (static_cast<char*>(object) - reinterpret_cast<char*>(chunk)) / largeMin - 1; // - 1 to offset from the right sentinel.
90 return static_cast<BeginTag*>(&chunk->m_boundaryTags[boundaryTagNumber]);
97 LargeChunk* chunk = get(object); local
104 size_t boundaryTagNumber = (end - largeMin - reinterpret_cast<char*>(chunk)) / largeMin - 1; // - 1 to offset from the right sentinel.
105 return static_cast<EndTag*>(&chunk->m_boundaryTags[boundaryTagNumber]);
H A DLine.h63 Chunk* chunk = Chunk::get(object); variable
64 size_t lineNumber = (reinterpret_cast<char*>(object) - reinterpret_cast<char*>(chunk)) / lineSize;
65 return &chunk->lines()[lineNumber];
71 Chunk* chunk = Chunk::get(this); local
72 size_t lineNumber = this - chunk->lines();
74 return &reinterpret_cast<char*>(chunk)[offset];
H A DPage.h81 Chunk* chunk = Chunk::get(line);
82 size_t lineNumber = line - chunk->lines();
84 return &chunk->pages()[pageNumber];
90 Chunk* chunk = Chunk::get(this);
91 size_t pageNumber = this - chunk->pages();
93 return &chunk->lines()[lineNumber];
/macosx-10.10.1/cddafs-253/
H A DAIFFSupport.c48 SwapContainerChunk ( ContainerChunk * chunk );
51 SwapFormatVersionChunk ( FormatVersionChunk * chunk );
54 SwapExtCommonChunk ( ExtCommonChunk * chunk );
57 SwapSoundDataChunk ( SoundDataChunk * chunk );
73 SwapContainerChunk ( ContainerChunk * chunk )
76 chunk->ckID = OSSwapInt32 ( chunk->ckID );
77 chunk->ckSize = OSSwapInt32 ( chunk->ckSize );
78 chunk
[all...]
/macosx-10.10.1/curl-83.1.2/curl/docs/examples/
H A Dhttpcustomheader.c32 struct curl_slist *chunk = NULL; local
34 chunk = curl_slist_append(chunk, "Accept: moo");
35 chunk = curl_slist_append(chunk, "Another: yes");
47 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
58 curl_slist_free_all(chunk);
H A Dpost-callback.c99 struct curl_slist *chunk = NULL; local
101 chunk = curl_slist_append(chunk, "Transfer-Encoding: chunked");
102 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
122 struct curl_slist *chunk = NULL; local
124 chunk = curl_slist_append(chunk, "Expect:");
125 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
H A Dgetinmemory.c23 * download data into a 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 if(chunk
[all...]
H A Dpostinmemory.c56 struct MemoryStruct chunk; local
59 chunk.memory = malloc(1); /* will be grown as needed by realloc above */
60 chunk.size = 0; /* no data at this point */
71 /* we pass our 'chunk' struct to the callback function */
72 curl_easy_setopt(curl, CURLOPT_WRITEDATA, (void *)&chunk);
93 * Now, our chunk.memory points to a memory block that is chunk.size
98 printf("%s\n",chunk.memory);
104 if(chunk.memory)
105 free(chunk
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/md2/
H A Dmd2_one.c79 unsigned long chunk;
83 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
84 ebcdic2ascii(temp, d, chunk);
85 MD2_Update(&c,temp,chunk);
86 n -= chunk;
87 d += chunk;
/macosx-10.10.1/libxml2-26/libxml2/python/tests/
H A Dsync.py46 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
[all...]
H A Dindexes.py63 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
103 chunk = "</foo>" variable
[all...]
H A DpushSAX.py46 chunk = " url='tst'>b"
47 ctxt.parseChunk(chunk, len(chunk), 0)
48 chunk = "ar</foo>" variable
49 ctxt.parseChunk(chunk, len(chunk), 1)
H A DpushSAXhtml.py46 chunk = " url='tst'>b"
47 ctxt.htmlParseChunk(chunk, len(chunk), 0)
48 chunk = "ar</foo>" variable
49 ctxt.htmlParseChunk(chunk, len(chunk), 1)
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/python/tests/
H A Dsync.py46 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
[all...]
H A Dindexes.py63 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
103 chunk = "</foo>" variable
[all...]
H A DpushSAX.py46 chunk = " url='tst'>b"
47 ctxt.parseChunk(chunk, len(chunk), 0)
48 chunk = "ar</foo>" variable
49 ctxt.parseChunk(chunk, len(chunk), 1)
H A DpushSAXhtml.py46 chunk = " url='tst'>b"
47 ctxt.htmlParseChunk(chunk, len(chunk), 0)
48 chunk = "ar</foo>" variable
49 ctxt.htmlParseChunk(chunk, len(chunk), 1)
/macosx-10.10.1/OpenSSL098-52/src/crypto/md4/
H A Dmd4_one.c81 unsigned long chunk;
85 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
86 ebcdic2ascii(temp, d, chunk);
87 MD4_Update(&c,temp,chunk);
88 n -= chunk;
89 d += chunk;
/macosx-10.10.1/OpenSSL098-52/src/crypto/md5/
H A Dmd5_one.c81 unsigned long chunk;
85 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
86 ebcdic2ascii(temp, d, chunk);
87 MD5_Update(&c,temp,chunk);
88 n -= chunk;
89 d += chunk;
/macosx-10.10.1/text_cmds-88/vis/
H A Dfoldit.c47 foldit(chunk, col, max)
48 char *chunk;
55 * if this chunk puts us over the limit.
58 cp = chunk;
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/examples/struct/
H A Ddiff2.tcl33 foreach chunk [::struct::list lcsInvert2 $x1 $x2 [llength $lines1] [llength $lines2]] {
36 puts $chunk
39 ::struct::list assign [lindex $chunk 1] b1 e1
40 ::struct::list assign [lindex $chunk 2] b2 e2
42 switch -exact -- [lindex $chunk 0] {
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/
H A Dobjalloc.c56 /* 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
134 struct objalloc_chunk *chunk; local
150 struct objalloc_chunk *chunk; local
[all...]
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dobstack.c136 /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
150 register struct _obstack_chunk *chunk; /* points to new chunk */
177 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
178 if (!chunk)
180 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents,
182 h->chunk_limit = chunk->limit
183 = (char *) chunk
149 register struct _obstack_chunk *chunk; /* points to new chunk */ local
196 register struct _obstack_chunk *chunk; /* points to new chunk */ local
[all...]
/macosx-10.10.1/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_win3.c154 tsize_t chunk = 0x10000 - ((uint32) pp & 0xffff);/* What's left in segment */ local
155 if (chunk > 0xff00) /* No more than 0xff00 */
156 chunk = 0xff00;
157 if (chunk > c) /* No more than needed */
158 chunk = c;
159 memset(pp, v, chunk);
160 pp = (char*) (chunk + (char huge*) pp);
161 c -= chunk;
179 tsize_t chunks, chunkd, chunk; local
185 chunk
[all...]

Completed in 409 milliseconds

1234567