/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_heap.c | 26 * 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 D | libndr.h | 93 * 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...] |
H A D | ndr_ops.c | 120 * 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...] |
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | heap.c | 29 static const char rcsid[] = "$Id: heap.c,v 1.4 2006/03/09 23:57:56 marka Exp $"; 40 #include <isc/heap.h> 44 * element of the heap array is not used; i.e. heap subscripts are 1-based, 70 ctx->heap = NULL; 83 if (ctx->heap != NULL) 84 free(ctx->heap); 95 new_heap = (void **)realloc(ctx->heap, 101 ctx->heap = new_heap; 110 i > 1 && ctx->higher_priority(elt, ctx->heap[ [all...] |
/osnet-11/usr/src/grub/grub-0.97/stage2/ |
H A D | cmdline.c | 123 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 D | stage2.c | 235 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/libresolv2/include/isc/ |
H A D | heap.h | 26 void **heap; member in struct:heap_context
|
/osnet-11/usr/src/lib/libsmbns/common/ |
H A D | smbns_netbios_name.c | 463 * 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/lib/libntsvcs/common/ |
H A D | ntsvcs_clnt.c | 470 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...] |
H A D | netr_clnt.c | 1050 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...] |
/osnet-11/usr/src/cmd/sendmail/libsm/ |
H A D | stringf.c | 17 #include <sm/heap.h>
|
H A D | t-heap.c | 13 SM_IDSTR(id, "@(#)$Id: t-heap.c,v 1.8 2001/03/06 17:27:36 ca Exp $") 16 #include <sm/heap.h> 35 sm_test_begin(argc, argv, "test heap handling"); 47 sm_dprintf("heap with 1 30-byte block allocated:\n"); 54 sm_dprintf("heap with 0 blocks allocated:\n");
|
H A D | cf.c | 22 #include <sm/heap.h>
|
H A D | fpos.c | 22 #include <sm/heap.h>
|
H A D | strdup.c | 16 #include <sm/heap.h> 143 ** group -- heap group
|
H A D | t-rpool.c | 16 #include <sm/heap.h> 63 sm_dprintf("heap after filling up rpool:\n"); 67 sm_dprintf("heap after freeing rpool:\n");
|
H A D | vasprintf.c | 33 #include <sm/heap.h>
|
H A D | Makefile | 42 fwalk.o fwrite.o get.o heap.o ldap.o makebuf.o match.o mbdb.o \ 51 TESTS= t-event t-exc t-rpool t-string t-smstdio t-match t-strio t-heap \
|
H A D | config.c | 17 #include <sm/heap.h>
|
H A D | fclose.c | 25 #include <sm/heap.h>
|
H A D | t-exc.c | 16 #include <sm/heap.h>
|
H A D | makebuf.c | 24 #include <sm/heap.h>
|
H A D | niprop.c | 23 #include <sm/heap.h>
|
H A D | setvbuf.c | 23 #include <sm/heap.h>
|
/osnet-11/usr/src/cmd/sendmail/include/sm/ |
H A D | rpool.h | 23 # include <sm/heap.h>
|