Searched refs:arena (Results 1 - 9 of 9) sorted by relevance

/osnet-11/usr/src/common/crypto/ecc/
H A Dsecitem.c66 SECITEM_AllocItem(PRArenaPool *arena, SECItem *item, unsigned int len, argument
72 if (arena != NULL) {
73 mark = PORT_ArenaMark(arena);
77 if (arena != NULL) {
78 result = PORT_ArenaZAlloc(arena, sizeof(SECItem), kmflag);
92 if (arena != NULL) {
93 result->data = PORT_ArenaAlloc(arena, len, kmflag);
105 PORT_ArenaUnmark(arena, mark);
110 if ( arena != NULL ) {
112 PORT_ArenaRelease(arena, mar
124 SECITEM_CopyItem(PRArenaPool *arena, SECItem *to, const SECItem *from, int kmflag) argument
[all...]
H A Decdecode.c68 hexString2SECItem(PRArenaPool *arena, SECItem *item, const char *str, argument
83 item->data = (unsigned char *) PORT_ArenaAlloc(arena, tmp/2, kmflag);
153 EC_FillParams(PRArenaPool *arena, const SECItem *encodedParams, argument
184 params->arena = arena;
578 PRArenaPool *arena; local
582 /* Initialize an arena for the ECParams structure */
583 if (!(arena = PORT_NewArena(NSS_FREEBL_DEFAULT_CHUNKSIZE)))
593 SECITEM_AllocItem(arena, &(params->DEREncoding), encodedParams->len,
613 EC_CopyParams(PRArenaPool *arena, ECParam argument
[all...]
H A Dec.c245 PRArenaPool *arena; local
260 /* Initialize an arena for the EC key. */
261 if (!(arena = PORT_NewArena(NSS_FREEBL_DEFAULT_CHUNKSIZE)))
264 key = (ECPrivateKey *)PORT_ArenaZAlloc(arena, sizeof(ECPrivateKey),
267 PORT_FreeArena(arena, PR_TRUE);
272 SECITEM_AllocItem(arena, &key->version, 1, kmflag);
278 key->ecParams.arena = arena;
283 CHECK_SEC_OK(SECITEM_CopyItem(arena, &key->ecParams.fieldID.u.prime,
286 CHECK_SEC_OK(SECITEM_CopyItem(arena,
[all...]
H A Decc_impl.h174 PRArenaPool * arena; member in struct:ECParamsStr
/osnet-11/usr/src/lib/libmalloc/common/
H A Dmalloc.c64 * -Memory is kept in the "arena", a singly linked list of blocks.
108 * description of arena, free queue, holding blocks etc.
111 * Define freeptr as arena[2-3] to guarentee it follows arena in memory.
115 static struct header arena[4] = { variable in typeref:struct:header
123 * start the arena. The first is a busy
127 #define freeptr (arena + 2)
129 static struct header *arenaend; /* ptr to block marking high end of arena */
130 static struct header *lastblk; /* the highest block in the arena */
315 /* initialize arena */
[all...]
/osnet-11/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c2218 rpk.arena = NULL;
2571 PRArenaPool *arena = NULL; local
2641 arena = PORT_NewArena(SEC_ASN1_DEFAULT_ARENA_SIZE);
2642 if (arena == NULL) {
2647 name = PORT_ArenaZAlloc(arena, sizeof (*name));
2652 name->arena = arena;
2703 PORT_FreeArena(crlList->arena, PR_FALSE);
2706 if (arena != NULL) {
2707 PORT_FreeArena(arena, PR_FALS
2729 PRArenaPool *arena = NULL; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/
H A Dsv.c56 in each arena is reserved, and is used to hold a link to the next arena.
58 a note of the number of slots. Snaked through each arena chain is a
59 linked list of free items; when this becomes empty, an extra arena is
76 not allocated from an arena, but are instead directly created as static
79 The SV arena serves the secondary purpose of allowing still-live SVs
85 more_sv() / sv_add_arena() to add an extra arena if the free list is empty.
90 to the arena-manipulating functions new_xiv()/del_xiv() etc, but may be
93 list, and call more_xiv() etc to add a new arena if the list is empty.
242 "Attempt to free non-arena S
477 XPV *arena, *arenanext; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Storable/
H A DStorable.xs210 char *arena; /* Will hold hash key strings, resized as needed */
437 #define kbuf (cxt->keybuf).arena
459 #define mbase (cxt->membuf).arena
6060 if (cxt->membuf_ro && (cxt->msaved).arena)
6061 Safefree((cxt->msaved).arena);
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dmalloc.c628 { mi.arena = sb.extent;

Completed in 54 milliseconds