/titanic_51/usr/src/common/lzma/ |
H A D | LzmaEnc.h | 53 CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc); 54 void LzmaEnc_Destroy(CLzmaEncHandle p, ISzAlloc *alloc, ISzAlloc *allocBig); 58 ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig); 60 int writeEndMark, ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig); 75 ICompressProgress *progress, ISzAlloc *alloc, ISzAlloc *allocBig);
|
H A D | LzmaDec.h | 130 SRes LzmaDec_AllocateProbs(CLzmaDec *p, const Byte *props, unsigned propsSize, ISzAlloc *alloc); 131 void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc); 133 SRes LzmaDec_Allocate(CLzmaDec *state, const Byte *prop, unsigned propsSize, ISzAlloc *alloc); 134 void LzmaDec_Free(CLzmaDec *state, ISzAlloc *alloc); 221 ELzmaStatus *status, ISzAlloc *alloc);
|
H A D | LzFind.c | 22 static void LzInWindow_Free(CMatchFinder *p, ISzAlloc *alloc) in LzInWindow_Free() argument 26 alloc->Free(alloc, p->bufferBase, 0); in LzInWindow_Free() 33 static int LzInWindow_Create(CMatchFinder *p, UInt32 keepSizeReserv, ISzAlloc *alloc) in LzInWindow_Create() argument 43 LzInWindow_Free(p, alloc); in LzInWindow_Create() 45 p->bufferBase = (Byte *)alloc->Alloc(alloc, (size_t)blockSize); in LzInWindow_Create() 145 static void MatchFinder_FreeThisClassMemory(CMatchFinder *p, ISzAlloc *alloc) in MatchFinder_FreeThisClassMemory() argument 147 alloc->Free(alloc, in MatchFinder_FreeThisClassMemory() 151 MatchFinder_Free(CMatchFinder * p,ISzAlloc * alloc) MatchFinder_Free() argument 157 AllocRefs(UInt32 num,ISzAlloc * alloc) AllocRefs() argument 167 MatchFinder_Create(CMatchFinder * p,UInt32 historySize,UInt32 keepAddBufferBefore,UInt32 matchMaxLen,UInt32 keepAddBufferAfter,ISzAlloc * alloc) MatchFinder_Create() argument [all...] |
H A D | LzmaDec.c | 901 void LzmaDec_FreeProbs(CLzmaDec *p, ISzAlloc *alloc) in LzmaDec_FreeProbs() argument 904 alloc->Free(alloc, p->probs, (p->numProbs * sizeof (*p->probs))); in LzmaDec_FreeProbs() 908 static void LzmaDec_FreeDict(CLzmaDec *p, ISzAlloc *alloc) in LzmaDec_FreeDict() argument 911 alloc->Free(alloc, p->dic, ((p->prop).dicSize * sizeof (*p->dic))); in LzmaDec_FreeDict() 915 void LzmaDec_Free(CLzmaDec *p, ISzAlloc *alloc) in LzmaDec_Free() argument 917 LzmaDec_FreeProbs(p, alloc); in LzmaDec_Free() 918 LzmaDec_FreeDict(p, alloc); in LzmaDec_Free() 947 static SRes LzmaDec_AllocateProbs2(CLzmaDec *p, const CLzmaProps *propNew, ISzAlloc *alloc) in LzmaDec_AllocateProbs2() argument 961 LzmaDec_AllocateProbs(CLzmaDec * p,const Byte * props,unsigned propsSize,ISzAlloc * alloc) LzmaDec_AllocateProbs() argument 970 LzmaDec_Allocate(CLzmaDec * p,const Byte * props,unsigned propsSize,ISzAlloc * alloc) LzmaDec_Allocate() argument 994 LzmaDecode(Byte * dest,SizeT * destLen,const Byte * src,SizeT * srcLen,const Byte * propData,unsigned propSize,ELzmaFinishMode finishMode,ELzmaStatus * status,ISzAlloc * alloc) LzmaDecode() argument [all...] |
H A D | LzmaEnc.c | 485 static int RangeEnc_Alloc(CRangeEnc *p, ISzAlloc *alloc) in RangeEnc_Alloc() argument 489 p->bufBase = (Byte *)alloc->Alloc(alloc, RC_BUF_SIZE); in RangeEnc_Alloc() 497 static void RangeEnc_Free(CRangeEnc *p, ISzAlloc *alloc) in RangeEnc_Free() argument 499 alloc->Free(alloc, p->bufBase, 0); in RangeEnc_Free() 1720 CLzmaEncHandle LzmaEnc_Create(ISzAlloc *alloc) in LzmaEnc_Create() argument 1723 p = alloc->Alloc(alloc, sizeof(CLzmaEnc)); in LzmaEnc_Create() 1729 void LzmaEnc_FreeLits(CLzmaEnc *p, ISzAlloc *alloc) in LzmaEnc_FreeLits() argument 1737 LzmaEnc_Destruct(CLzmaEnc * p,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_Destruct() argument 1747 LzmaEnc_Destroy(CLzmaEncHandle p,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_Destroy() argument 1918 LzmaEnc_Alloc(CLzmaEnc * p,UInt32 keepWindowSize,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_Alloc() argument 2041 LzmaEnc_AllocAndInit(CLzmaEnc * p,UInt32 keepWindowSize,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_AllocAndInit() argument 2059 LzmaEnc_Prepare(CLzmaEncHandle pp,ISeqInStream * inStream,ISeqOutStream * outStream,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_Prepare() argument 2069 LzmaEnc_PrepareForLzma2(CLzmaEncHandle pp,ISeqInStream * inStream,UInt32 keepWindowSize,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_PrepareForLzma2() argument 2084 LzmaEnc_MemPrepare(CLzmaEncHandle pp,const Byte * src,SizeT srcLen,UInt32 keepWindowSize,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_MemPrepare() argument 2173 LzmaEnc_Encode(CLzmaEncHandle pp,ISeqOutStream * outStream,ISeqInStream * inStream,ICompressProgress * progress,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_Encode() argument 2236 LzmaEnc_MemEncode(CLzmaEncHandle pp,Byte * dest,SizeT * destLen,const Byte * src,SizeT srcLen,int writeEndMark,ICompressProgress * progress,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEnc_MemEncode() argument 2262 LzmaEncode(Byte * dest,SizeT * destLen,const Byte * src,SizeT srcLen,const CLzmaEncProps * props,Byte * propsEncoded,SizeT * propsSize,int writeEndMark,ICompressProgress * progress,ISzAlloc * alloc,ISzAlloc * allocBig) LzmaEncode() argument [all...] |
/titanic_51/usr/src/psm/stand/bootblks/common/ |
H A D | boot.fth | 103 /fs-fcode mem-alloc ( adr r: ih ) 159 : vmem-alloc-prop ( size virt -- alloc-size virt ) 160 2dup ['] vmem-alloc catch if ( size virt ??? ??? ) 163 over 32meg min >r ( size virt len adr r: alloc-sz ) 164 r@ over vmem-alloc ( size virt len adr adr r: alloc-sz ) 165 nip r@ + ( size virt len adr' r: alloc-sz ) 172 then ( virt alloc-sz ) 195 \ if base==0, vmem-alloc wil [all...] |
H A D | rd.fth | 40 0 value alloc-size 45 alloc-size encode-int " alloc-size" property 77 : create ( base size alloc-sz -- ) 78 to alloc-size
|
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | getcwd.c | 45 int alloc = 0; in getcwd() local 57 alloc = 1; in getcwd() 63 if (alloc) in getcwd()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/regex/ |
H A D | regsubcomp.c | 132 if (!(sub = (regsub_t*)alloc(p->env->disc, 0, sizeof(regsub_t) + strlen(s))) || !(sub->re_ops = (regsubop_t*)alloc(p->env->disc, 0, (nops = 8) * sizeof(regsubop_t)))) in regsubcomp() 135 alloc(p->env->disc, sub, 0); in regsubcomp() 291 if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t)))) in regsubcomp() 327 if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t)))) in regsubcomp() 345 if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t)))) in regsubcomp() 371 alloc(env->disc, sub->re_buf, 0); in regsubfree() 373 alloc(env->disc, sub->re_ops, 0); in regsubfree() 374 alloc(env->disc, sub, 0); in regsubfree()
|
/titanic_51/usr/src/lib/libast/common/regex/ |
H A D | regsubcomp.c | 132 …if (!(sub = (regsub_t*)alloc(p->env->disc, 0, sizeof(regsub_t) + strlen(s))) || !(sub->re_ops = (r… in regsubcomp() 135 alloc(p->env->disc, sub, 0); in regsubcomp() 291 …if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t)… in regsubcomp() 327 …if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t)… in regsubcomp() 345 …if (!(sub->re_ops = (regsubop_t*)alloc(p->env->disc, sub->re_ops, (nops *= 2) * sizeof(regsubop_t)… in regsubcomp() 371 alloc(env->disc, sub->re_buf, 0); in regsubfree() 373 alloc(env->disc, sub->re_ops, 0); in regsubfree() 374 alloc(env->disc, sub, 0); in regsubfree()
|
/titanic_51/usr/src/grub/grub-0.97/stage2/ |
H A D | vstafs.h | 43 struct alloc struct 55 struct alloc fs_freesecs[0]; argument 76 struct alloc blocks[32];
|
/titanic_51/usr/src/cmd/sh/ |
H A D | blok.c | 69 alloc(size_t nbytes) in alloc() function 296 * with alloc() and free(). I really hate having to do things like this, 327 return (alloc(nbytes)); 334 q = alloc(nbytes); 341 q = alloc(nbytes); 358 q = alloc(nbytes); 365 q = alloc(nbytes);
|
/titanic_51/usr/src/cmd/format/ |
H A D | misc.c | 599 * alloc: pointer to an integer, indicating the amount 617 build_argvlist(argvlist, size, alloc, str) in build_argvlist() argument 620 int *alloc; 623 if (*size + 2 > *alloc) { 624 if (*alloc == 0) { 625 *alloc = INITIAL_LISTSIZE; 627 zalloc(sizeof (char *) * (*alloc)); 629 *alloc += INCR_LISTSIZE; 632 sizeof (char *) * (*alloc));
|
/titanic_51/usr/src/cmd/expr/ |
H A D | compile.c | 147 int alloc = 0; local 165 alloc = 1; 244 if (alloc) 250 if (alloc)
|
/titanic_51/usr/src/lib/libgen/common/ |
H A D | reg_compile.c | 155 int alloc; in _compile() local 166 alloc = 0; in _compile() 187 alloc = 1; in _compile() 429 if (alloc) in _compile() 434 if (alloc) in _compile()
|
/titanic_51/usr/src/uts/i86pc/i86hvm/io/xpv/ |
H A D | evtchn.c | 185 evtchn_alloc_unbound_t alloc; in xen_alloc_unbound_evtchn() local 188 alloc.dom = DOMID_SELF; in xen_alloc_unbound_evtchn() 189 alloc.remote_dom = (domid_t)domid; in xen_alloc_unbound_evtchn() 192 &alloc)) == 0) { in xen_alloc_unbound_evtchn() 193 *evtchnp = alloc.port; in xen_alloc_unbound_evtchn()
|
/titanic_51/usr/src/tools/pmodes/ |
H A D | binsearch.c | 82 item_add_list(itemlist l, char **s, int n, int alloc) in item_add_list() argument 86 l->nallocated = alloc ? n : -1; in item_add_list() 95 if (alloc) in item_add_list()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/vmalloc/ |
H A D | vmprofile.c | 41 #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 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...] |
/titanic_51/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | libumem.c | 68 { " alloc", " succeed", "---------", "%9u " }, 69 { "alloc", " fail", "-----", "%5llu" }, 79 { " alloc", " succeed", "---------", "%9llu " }, 80 { "alloc", " fail", "-----", "%5llu " }, 98 umastat_cpu_alloc(uintptr_t addr, const umem_cpu_cache_t *ccp, int *alloc) in umastat_cpu_alloc() argument 100 *alloc += ccp->cc_alloc; in umastat_cpu_alloc() 221 int avail, alloc, total, nptc = 0; in umastat_cache() local 231 alloc = cp->cache_slab_alloc + cp->cache_full.ml_alloc; in umastat_cache() 235 (void) mdb_pwalk("umem_cpu_cache", cpu_alloc, &alloc, addr); in umastat_cache() 265 kv->kv_alloc += alloc; in umastat_cache() [all...] |
/titanic_51/usr/src/lib/libsip/common/ |
H A D | sip_add_hdrs.c | 95 sip_add_aquot_to_str(char *str, boolean_t *alloc) in sip_add_aquot_to_str() argument 104 *alloc = B_FALSE; in sip_add_aquot_to_str() 115 *alloc = B_TRUE; in sip_add_aquot_to_str() 476 boolean_t alloc = B_FALSE; in sip_add_accept() local 489 alloc = B_TRUE; in sip_add_accept() 505 if (alloc == B_TRUE) in sip_add_accept() 560 boolean_t alloc; in sip_add_alert_info() local 564 tmp = sip_add_aquot_to_str(alert, &alloc); in sip_add_alert_info() 568 if (alloc) in sip_add_alert_info() 599 boolean_t alloc; in sip_add_call_info() local 708 boolean_t alloc; sip_add_error_info() local [all...] |
/titanic_51/usr/src/lib/libast/common/vmalloc/ |
H A D | vmprofile.c | 41 #define PFALLOC(pf) ((pf)->data.data.alloc) 57 Vmulong_t alloc; /* amount allocated */ member 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 += seg->extent; 420 PFNFREE(pf),PFFREE(pf),PFMAX(pf),alloc); 427 alloc = free = nalloc = nfree = 0; [all …]
|
/titanic_51/usr/src/lib/scsi/libsmp/common/ |
H A D | smp_engine.c | 576 uint8_t *alloc; in smp_action_xalloc() local 623 alloc = ap->sa_buf; in smp_action_xalloc() 626 ap->sa_request = alloc; in smp_action_xalloc() 627 alloc += rqlen; in smp_action_xalloc() 632 ap->sa_response = alloc; in smp_action_xalloc() 633 alloc += rslen; in smp_action_xalloc() 637 ASSERT(alloc - (uint8_t *)ap == len); in smp_action_xalloc()
|
/titanic_51/usr/src/cmd/sendmail/db/mp/ |
H A D | mp_region.c | 68 alloc: if ((ret = __db_shalloc(dbmp->addr, len, MUTEX_ALIGNMENT, &p)) == 0) { 112 goto alloc; 187 goto alloc; 194 goto alloc;
|
/titanic_51/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 1156 int used, alloc; in zpool_disable_datasets() local 1169 used = alloc = 0; in zpool_disable_datasets() 1191 if (used == alloc) { in zpool_disable_datasets() 1192 if (alloc == 0) { in zpool_disable_datasets() 1201 alloc = 8; in zpool_disable_datasets() 1206 alloc * sizeof (void *), in zpool_disable_datasets() 1207 alloc * 2 * sizeof (void *))) == NULL) in zpool_disable_datasets() 1212 alloc * sizeof (void *), in zpool_disable_datasets() 1213 alloc * 2 * sizeof (void *))) == NULL) in zpool_disable_datasets() 1217 alloc * in zpool_disable_datasets() [all...] |
/titanic_51/usr/src/lib/libadm/common/ |
H A D | devreserv.c | 343 struct devlks *alloc; /* Ptr to alloc'ed space */ in readlocks() local 356 if (alloc = malloc(bufsiz)) { in readlocks() 359 if (read(lkfilefd, alloc, bufsiz) != (ssize_t)bufsiz) in readlocks() 363 if (!noerror) free(alloc); in readlocks() 371 locklist = (lockcount > 0) ? alloc : NULL; in readlocks() 1097 size_t bufsiz; /* Size of buffer to alloc */ in reservdev()
|