Searched defs:heap (Results 1 - 12 of 12) sorted by relevance

/osnet-11/usr/src/lib/libresolv2/include/isc/
H A Dheap.h26 void **heap; member in struct:heap_context
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dcmdline.c123 enter_cmdline (char *heap, int forever) argument
140 *heap = 0;
145 if (get_cmdline (PACKAGE "> ", heap, 2048, 0, 1))
149 if (! heap[0])
153 builtin = find_command (heap);
173 arg = skip_to (1, heap);
185 run_script (char *script, char *heap) argument
227 grub_memmove (heap, old_entry, (int) cur_entry - (int) old_entry);
228 if (! *heap)
244 grub_memmove (heap, "boo
[all...]
H A Dstage2.c235 char *heap, int entryno)
521 ((int) heap) - ((int) cur_entry));
526 heap += 2;
537 ((int) heap) - ((int) ptr));
538 heap -= (((int) ptr) - ((int) cur_entry));
632 new_heap = heap;
640 new_heap = heap + NEW_HEAPSIZE + 1;
658 run_menu (heap, NULL, new_num_entries, new_heap, 0);
664 new_heap = heap + NEW_HEAPSIZE + 1;
688 (int) heap
234 run_menu(char *menu_entries, char *config_entries, int num_entries, char *heap, int entryno) argument
[all...]
/osnet-11/usr/src/lib/libndr/common/
H A Dndr_heap.c26 * NDR heap management. The heap is used for temporary storage by
28 * support the different requirements of the various RPCs, the heap
33 * that we actually need a lot heap space.
36 * allocated, it remains allocated until the heap is destroyed. This
37 * shouldn't be an issue because the heap is being filled with data to
39 * the point that the entire heap is no longer required.
53 * Allocate a heap structure and the first heap block. For many RPC
55 * in this instance of the heap
68 ndr_heap_t *heap; local
97 ndr_heap_destroy(ndr_heap_t *heap) argument
123 ndr_heap_malloc(ndr_heap_t *heap, unsigned size) argument
159 ndr_heap_strdup(ndr_heap_t *heap, const char *s) argument
183 ndr_heap_mstring(ndr_heap_t *heap, const char *s, ndr_mstring_t *out) argument
207 ndr_heap_mkvcs(ndr_heap_t *heap, char *s, ndr_vcstr_t *vc) argument
227 ndr_heap_mkvcb(ndr_heap_t *heap, uint8_t *data, uint32_t datalen, ndr_vcbuf_t *vcbuf) argument
255 ndr_heap_siddup(ndr_heap_t *heap, smb_sid_t *sid) argument
273 ndr_heap_used(ndr_heap_t *heap) argument
285 ndr_heap_avail(ndr_heap_t *heap) argument
[all...]
H A Dndr_ops.c120 * operations and the reference to the heap. An external heap is provided
121 * to the stream, rather than each stream creating its own heap.
125 int composite_op, ndr_heap_t *heap)
130 assert(heap);
134 nds->heap = (struct ndr_heap *)heap;
235 * Allocate memory from the stream heap.
241 return (ndr_heap_malloc((ndr_heap_t *)nds->heap, len));
402 * with the stream heap
124 nds_initialize(ndr_stream_t *nds, unsigned pdu_size_hint, int composite_op, ndr_heap_t *heap) argument
[all...]
H A Dlibndr.h93 * A heap is a single, monolithic chunk of memory that NDR RPC manages
95 * heap is disposed of as a single item. The transaction, which
97 * keeping for the heap.
335 * A number of heap areas are used during marshalling and unmarshalling.
343 * The heap management data definition looks a bit like this:
345 * heap -> +---------------+ +------------+
363 * of the first heap block.
423 #define NDR_MALLOC(XA, SZ) ndr_heap_malloc((XA)->heap, SZ)
424 #define NDR_NEW(XA, T) ndr_heap_malloc((XA)->heap, sizeof (T))
425 #define NDR_NEWN(XA, T, N) ndr_heap_malloc((XA)->heap, sizeo
440 ndr_heap_t *heap; member in struct:ndr_xa
465 ndr_heap_t *heap; member in struct:ndr_client
[all...]
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsamr_clnt.c546 ndr_heap_t *heap; local
562 heap = ndr_rpc_get_heap(domain_handle);
563 ndr_heap_mkvcs(heap, username, (ndr_vcstr_t *)&arg.username);
H A Dnetr_clnt.c1050 ndr_heap_t *heap; local
1093 heap = ndr_rpc_get_heap(netr_handle);
1097 netr_setup_identity(heap, authreq, &info1.identity);
1103 netr_setup_identity(heap, authreq, &info2.identity);
1104 status = netr_network_samlogon(heap, netr_info, authreq,
1221 netr_network_samlogon(ndr_heap_t *heap, netr_info_t *netr_info, argument
1255 ndr_heap_mkvcb(heap, authreq->au_ntpasswd.val, ntpasswd_len,
1262 ndr_heap_mkvcb(heap, authreq->au_lmpasswd.val, lmpasswd_len,
1294 netr_setup_identity(ndr_heap_t *heap, smb_authreq_t *authreq, argument
1315 ndr_heap_mkvcs(heap, authre
[all...]
H A Dntsvcs_clnt.c470 ndr_heap_destroy(clnt->heap);
557 * If the heap has been preserved we need to go through an xa release.
558 * The heap is preserved during an RPC call because that's where data
561 * Otherwise we destroy the heap directly.
571 ndr_heap_destroy(clnt->heap);
584 * ndr_rpc_release to release the heap. Otherwise, we release the
585 * heap here.
711 ndr_heap_t *heap; local
713 if ((heap = ndr_rpc_get_heap(handle)) == NULL)
716 return (ndr_heap_malloc(heap, siz
830 ndr_heap_t *heap = clnt->heap; local
[all...]
/osnet-11/usr/src/lib/libumem/common/
H A Dvmem.c75 * allow a two-level "heap" arena:
82 * | "heap" |
93 * The new vmem_init() allows you to specify a "parent" of the heap, along
102 * extending the heap while vmem_populate()ing it.
1695 vmem_t *parent, *heap; local
1714 heap = vmem_create(heap_name,
1719 vmem_heap = heap;
1725 heap_alloc, heap_free, heap, 0,
1748 return (heap);
/osnet-11/usr/src/lib/libsmbns/common/
H A Dsmbns_netbios_name.c463 * The "buf" is used as a heap.
481 unsigned char *heap = buf; local
482 unsigned char *end_heap = heap + n_buf;
491 dnptrs[0] = heap;
494 BE_OUT16(heap, npb->name_trn_id);
495 heap += 2;
497 BE_OUT16(heap, npb->info);
498 heap += 2;
500 BE_OUT16(heap, npb->qdcount);
501 heap
669 unsigned char *heap; local
[all...]
/osnet-11/usr/src/cmd/cmd-inet/usr.bin/pppdump/
H A Dzlib.c171 /* maximum heap size */
324 int heap[2*L_CODES+1]; /* heap used to build the Huffman trees */ member in struct:deflate_state
325 int heap_len; /* number of elements in the heap */
327 /* The sons of heap[n] are heap[2*n] and heap[2*n+1]. heap[0] is not used.
328 * The same heap array is used to build all trees.
1523 * need for the L_CODES extra codes used during heap constructio
[all...]

Completed in 88 milliseconds