Searched defs:alloc (Results 1 - 25 of 29) sorted by relevance

12

/osnet-11/usr/src/lib/libc/port/gen/
H A Dgetcwd.c45 int alloc = 0; local
57 alloc = 1;
63 if (alloc)
/osnet-11/usr/src/lib/libast/common/regex/
H A Dreginit.c25 * posix regex state and alloc
388 * malloc(n) alloc(0,n)
389 * realloc(p,n) alloc(p,n)
390 * free(p) alloc(p,0)
394 alloc(register regdisc_t* disc, void* p, size_t n) function
/osnet-11/usr/src/cmd/ldap/ns_ldap/
H A Dldapaddent.h62 int alloc; member in struct:line_buf
/osnet-11/usr/src/lib/libast/common/hash/
H A Dhashlib.h47 Hash_alloc_f alloc; /* value allocation routine */ member in struct:__anon1135
49 Hash_region_f region; /* region alloc/free routine */
/osnet-11/usr/src/lib/libumem/common/
H A Dvmem_sbrk.c92 vmem_sbrk_extend_alloc(vmem_t *src, void *pos, size_t size, size_t alloc, argument
98 ret = _vmem_extend_alloc(src, pos, size, alloc, vmflags);
H A Dvmem.c165 * vmem_alloc(vmem_seg_arena) -> 2 segs (span create + exact alloc)
166 * vmem_alloc(vmem_internal_arena) -> 2 segs (span create + exact alloc)
168 * vmem_alloc(heap_arena) -> 4 seg (span create + alloc)
170 * _vmem_extend_alloc(parent_arena) -> 3 seg (span create + left alloc)
1313 * [vaddr, vaddr+size) to vmp, then allocates alloc bytes from the
1317 _vmem_extend_alloc(vmem_t *vmp, void *vaddr, size_t size, size_t alloc, argument
1325 ASSERT(alloc <= size && alloc != 0);
1326 ASSERT(((addr | size | alloc) & (vmp->vm_quantum - 1)) == 0);
1343 ASSERT(VS_SIZE(vsp) >= alloc);
[all...]
/osnet-11/usr/src/lib/libgen/common/
H A Dreg_compile.c155 int alloc; local
166 alloc = 0;
187 alloc = 1;
429 if (alloc)
434 if (alloc)
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dvstafs.h43 struct alloc struct
55 struct alloc fs_freesecs[0];
76 struct alloc blocks[32];
/osnet-11/usr/src/lib/scsi/libses/common/
H A Dses_snap.c184 size_t alloc; local
239 (void) libscsi_action_get_buffer(ap, &buf, &alloc, &pp->ssp_len);
243 ASSERT(alloc == pp->ssp_alloc);
/osnet-11/usr/src/lib/libparted/common/libparted/fs/ext2/
H A Dext2.h87 int alloc; member in struct:ext2_buffer_head
/osnet-11/usr/src/common/mpi/
H A Dmpi.h233 #define MP_ALLOC(MP) ((MP)->alloc)
243 mp_size alloc; /* how many digits allocated */ member in struct:__anon168
/osnet-11/usr/src/lib/libast/common/misc/
H A Dstk.c101 int alloc; member in struct:__anon1170
398 increment(alloc);
/osnet-11/usr/src/lib/libparted/common/include/parted/
H A Ddisk.h194 PedDisk* (*alloc) (const PedDevice* dev); member in struct:_PedDiskOps
/osnet-11/usr/src/grub/grub2/grub-core/lib/
H A DLzFind.c43 static void LzInWindow_Free(CMatchFinder *p, ISzAlloc *alloc) argument
47 alloc->Free(alloc, p->bufferBase);
54 static int LzInWindow_Create(CMatchFinder *p, UInt32 keepSizeReserv, ISzAlloc *alloc) argument
64 LzInWindow_Free(p, alloc);
66 p->bufferBase = (Byte *)alloc->Alloc(alloc, (size_t)blockSize);
166 static void MatchFinder_FreeThisClassMemory(CMatchFinder *p, ISzAlloc *alloc) argument
168 alloc->Free(alloc,
172 MatchFinder_Free(CMatchFinder *p, ISzAlloc *alloc) argument
178 AllocRefs(UInt32 num, ISzAlloc *alloc) argument
186 MatchFinder_Create(CMatchFinder *p, UInt32 historySize, UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter, ISzAlloc *alloc) argument
[all...]
H A DLzmaDec.c916 void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc) argument
918 alloc->Free(alloc, p->probs);
922 static void LzmaDec_FreeDict(CLzmaDec *p, ISzAlloc *alloc) argument
924 alloc->Free(alloc, p->dic);
928 void LzmaDec_Free(CLzmaDec *p, ISzAlloc *alloc) argument
930 LzmaDec_FreeProbs(p, alloc);
931 LzmaDec_FreeDict(p, alloc);
960 static SRes LzmaDec_AllocateProbs2(CLzmaDec *p, const CLzmaProps *propNew, ISzAlloc *alloc) argument
974 LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) argument
983 LzmaDec_Allocate(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc) argument
1005 LzmaDecode(Byte *dest, SizeT *destLen, const Byte *src, SizeT *srcLen, const Byte *propData, unsigned propSize, ELzmaFinishMode finishMode, ELzmaStatus *status, ISzAlloc *alloc) argument
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Net/
H A DFTP.pm398 sub alloc subroutine
712 # if the user hasn't already invoked the alloc method since the last
1421 =item alloc ( SIZE [, RECORD_SIZE] )
1423 The alloc command allows you to give the ftp server a hint about the size
/osnet-11/usr/src/lib/libast/common/vmalloc/
H A Dvmprofile.c41 #define PFALLOC(pf) ((pf)->data.data.alloc)
54 Vmalloc_t* vm; /* region alloc from */
56 Vmulong_t nalloc; /* number of alloc calls */
57 Vmulong_t alloc; /* amount allocated */ member in struct:_pfdata_s
363 reg Vmulong_t nalloc, alloc, nfree, free; local
377 alloc = free = nalloc = nfree = 0;
397 alloc += PFALLOC(pf);
408 bufp = pfsummary(bufp,nalloc,alloc,nfree,free,0,0);
414 alloc = 0;
416 alloc
[all...]
/osnet-11/usr/src/lib/scsi/libsmp/common/
H A Dsmp_engine.c576 uint8_t *alloc; local
623 alloc = ap->sa_buf;
626 ap->sa_request = alloc;
627 alloc += rqlen;
632 ap->sa_response = alloc;
633 alloc += rslen;
637 ASSERT(alloc - (uint8_t *)ap == len);
/osnet-11/usr/src/lib/libsasl/lib/
H A Dsaslint.h349 sasl_mutex_alloc_t *alloc; member in struct:sasl_mutex_utils
485 #define sasl_MUTEX_ALLOC() (gctx->sasl_mutex_utils.alloc())
498 #define sasl_MUTEX_ALLOC() (_sasl_mutex_utils.alloc())
H A Dcommon.c202 gctx->sasl_mutex_utils.alloc=n;
207 _sasl_mutex_utils.alloc=n;
1961 sasl_allocation_utils_t alloc; local
1965 alloc = gctx->sasl_allocation_utils;
1972 utils=alloc.malloc(sizeof(sasl_utils_t));
1992 utils->malloc=alloc.malloc;
1993 utils->calloc=alloc.calloc;
1994 utils->realloc=alloc.realloc;
1995 utils->free=alloc.free;
1997 utils->mutex_alloc = mutex.alloc;
[all...]
/osnet-11/usr/src/lib/libsip/common/
H A Dsip_add_hdrs.c92 sip_add_aquot_to_str(char *str, boolean_t *alloc) argument
101 *alloc = B_FALSE;
112 *alloc = B_TRUE;
473 boolean_t alloc = B_FALSE; local
486 alloc = B_TRUE;
502 if (alloc == B_TRUE)
557 boolean_t alloc; local
561 tmp = sip_add_aquot_to_str(alert, &alloc);
565 if (alloc)
596 boolean_t alloc; local
705 boolean_t alloc; local
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dbfs.c635 char *alloc = NULL; local
656 grub_free (alloc);
675 char *old_alloc = alloc;
678 grub_free (alloc);
688 alloc = grub_malloc ((ptr2 ? grub_strlen (ptr2) : 0)
690 if (!alloc)
692 grub_free (alloc);
696 err = read_bfs_file (disk, sb, ino, 0, alloc, symsize, 0);
699 grub_free (alloc);
702 alloc[symsiz
[all...]
/osnet-11/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c1168 int used, alloc; local
1181 used = alloc = 0;
1203 if (used == alloc) {
1204 if (alloc == 0) {
1209 alloc = 8;
1214 alloc * sizeof (share_info_t),
1215 alloc * 2 * sizeof (share_info_t))) == NULL)
1219 alloc *= 2;
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dregcomp.c3027 if *alloc == 0. */
3221 /* Use realloc since array is NULL if *alloc == 0. */
3506 /* Use realloc since the array is NULL if *alloc == 0. */
3559 /* Use realloc since array is NULL if *alloc == 0. */
3625 Idx alloc = 0;
3662 mbcset, &alloc,
3616 Idx alloc = 0; local
/osnet-11/usr/src/lib/libsldap/common/
H A Dns_sldap.h202 int alloc; member in struct:LineBuf

Completed in 160 milliseconds

12