Searched refs:sz (Results 201 - 225 of 490) sorted by relevance

1234567891011>>

/macosx-10.9.5/Heimdal-323.92.1/lib/libedit/src/
H A Dhistory.c733 size_t sz, max_size; local
744 if ((line = fgetln(fp, &sz)) == NULL)
747 if (strncmp(line, hist_cookie, sz) != 0)
753 for (i = 0; (line = fgetln(fp, &sz)) != NULL; i++) {
754 char c = line[sz];
756 if (sz != 0 && line[sz - 1] == '\n')
757 line[--sz] = '\0';
759 line[sz] = '\0';
761 if (max_size < sz) {
[all...]
/macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/tests/progs/
H A Dldif-filter.c77 size_t slen = (s)->len, salloc = (s)->alloc, sz = sizeof *(s)->val; \
80 (s)->val = xrealloc( (s)->val, sz * salloc ); \
82 memcpy( (s)->val + slen, data, sz * ((count) + !!(isString)) ); \
/macosx-10.9.5/adv_cmds-153/mklocale/
H A Dyacc.y64 static void *xmalloc(unsigned int sz);
65 static uint32_t *xlalloc(unsigned int sz);
67 static uint32_t *xrelalloc(uint32_t *old, unsigned int sz);
308 xmalloc(sz)
309 unsigned int sz;
311 void *r = malloc(sz);
318 xlalloc(sz)
319 unsigned int sz;
321 uint32_t *r = (uint32_t *)malloc(sz * sizeof(uint32_t));
328 xrelalloc(old, sz)
[all...]
/macosx-10.9.5/cxxfilt-11/cxxfilt/bfd/
H A Dreloc16.c259 bfd_size_type sz; local
272 sz = input_section->rawsize ? input_section->rawsize : input_section->size;
273 if (!bfd_get_section_contents (input_bfd, input_section, data, 0, sz))
H A Dlibbfd.c803 bfd_size_type sz;
807 sz = section->rawsize ? section->rawsize : section->size;
808 if (offset + count > sz)
830 bfd_size_type sz;
859 sz = section->rawsize ? section->rawsize : section->size;
860 if (offset + count > sz
800 bfd_size_type sz; local
827 bfd_size_type sz; local
/macosx-10.9.5/libedit-39/src/
H A Dhist.c60 el->el_history.sz = EL_BUFSIZ;
105 el->el_history.sz);
208 el->el_history.sz = newsz;
H A Dhistory.c780 size_t sz, max_size; local
791 if ((line = fgetln(fp, &sz)) == NULL)
794 if (strncmp(line, hist_cookie, sz) != 0)
800 for (i = 0; (line = fgetln(fp, &sz)) != NULL; i++) {
801 if (sz != 0 && line[sz - 1] == '\n')
802 --sz;
804 if (max_size < sz) {
806 max_size = (sz + 1024) & (size_t)~1023;
814 (void) _strnunvis(ptr, line, sz);
[all...]
/macosx-10.9.5/lsof-52/lsof/lib/
H A Disfn.c289 size_t sz; local
398 ep = endnm(&sz);
399 (void) snpf(ep, sz, " (%s)", s->devnm);
/macosx-10.9.5/lukemftp-13.92.1/tnftp/libedit/
H A Dhistory.c642 size_t sz, max_size; local
650 if ((line = fgetln(fp, &sz)) == NULL)
653 if (strncmp(line, hist_cookie, sz) != 0)
659 for (i = 0; (line = fgetln(fp, &sz)) != NULL; i++) {
660 char c = line[sz];
662 if (sz != 0 && line[sz - 1] == '\n')
663 line[--sz] = '\0';
665 line[sz] = '\0';
667 if (max_size < sz) {
[all...]
/macosx-10.9.5/swig-10/Lib/java/
H A Dtypemaps.i113 jsize sz;
124 sz = JCALL1(GetArrayLength, jenv, ba);
126 for(i=0; i<sz; i++) {
419 jsize sz;
439 sz = JCALL1(GetArrayLength, jenv, ba);
441 for(i=0; i<sz; i++) {
H A Djava.swg256 jsize sz;
267 sz = JCALL1(GetArrayLength, jenv, ba);
269 for(i=0; i<sz; i++) {
280 jsize sz;
291 sz = JCALL1(GetArrayLength, jenv, ba);
293 for(i=0; i<sz; i++) {
496 jsize sz;
507 sz = JCALL1(GetArrayLength, jenv, ba);
510 for(i=0; i<sz; i++) {
522 jsize sz;
[all...]
/macosx-10.9.5/keymgr-28/
H A Dkeymgr.c678 uint32_t sz; local
685 __DWARF2_UNWIND_SECTION_NAME, &sz);
695 obp->section_size = sz;
725 uint32_t sz; local
731 __DWARF2_UNWIND_SECTION_NAME, &sz);
/macosx-10.9.5/xnu-2422.115.4/bsd/security/audit/
H A Daudit_bsd.c108 size_t sz; local
139 sz = 0;
157 sz += sizeof(au_malloc_debug_info_t);
161 req->oldlen = sz;
162 err = SYSCTL_OUT(req, amdi_ptr, sz);
/macosx-10.9.5/lsof-52/lsof/dialects/darwin/kmem/
H A Ddnode.c734 Lf->sz = (SZOFFTYPE)n->n_vattr.va_size;
747 Lf->sz = (SZOFFTYPE)i->i_size;
752 Lf->sz = (type == VDIR) ? (SZOFFTYPE)hm->h_size
756 Lf->sz = (SZOFFTYPE)h->c_nlink * 128;
758 Lf->sz = (SZOFFTYPE)hf->ff_size;
766 Lf->sz = (SZOFFTYPE)iso_sz;
848 Lf->sz = sb.st_size;
/macosx-10.9.5/ruby-104/ruby/lib/drb/
H A Ddrb.rb571 sz = soc.read(4) # sizeof (N)
575 raise(DRbConnError, 'connection closed') if sz.nil?
576 raise(DRbConnError, 'premature header') if sz.size < 4
577 sz = sz.unpack('N')[0]
578 raise(DRbConnError, "too large packet #{sz}") if @load_limit < sz
580 str = soc.read(sz)
585 raise(DRbConnError, 'premature marshal format(can\'t read)') if str.size < sz
1266 def self.default_load_limit(sz)
[all...]
/macosx-10.9.5/Heimdal-323.92.1/lib/roken/
H A Dgetifaddrs.c880 size_t sz; local
922 p += sz) {
930 sz = ifreq_sz;
934 sz = max(sz, sizeof(ifr->ifr_name) + sa->sa_len);
938 sz = max(sz, sizeof(ifr->ifr_name) + SA_LEN(sa));
1022 size_t sz; local
1068 p += sz) {
1076 sz
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/mk4tcl/metakit/python/
H A DPyView.cpp1467 int sz = GetSize(); local
1469 s += sz;
1471 e += sz;
1472 if (e > sz)
1473 e = sz;
1474 if (s >= 0 && s < sz)
1475 if (e > s && e <= sz)
1481 int sz = GetSize(); local
1483 s += sz;
1485 e += sz;
1549 int sz = subset.GetSize(); local
[all...]
/macosx-10.9.5/dtrace-118.1/cmd/
H A Ddtrace_1.c508 size_t sz, i, j, mark, len; local
524 if ((buf = malloc((sz = sbuf.st_size) + 1)) == NULL)
527 if (read(fd, buf, sz) != sz)
530 buf[sz] = '\0';
538 for (mark = 0, i = 0; i < sz; i++) {
564 for (j = i; j < sz && buf[j] != '\n'; j++)
570 if ((mark = j + 1) >= sz)
576 if (mark < sz) {
577 if (write(fd, &buf[mark], sz
589 size_t sz; local
[all...]
/macosx-10.9.5/dtrace-118.1/tools/ctfconvert/
H A Ddwarf.c601 tdesc_intr_common(dwarf_t *dw, int tid, const char *name, size_t sz) argument
609 intr->intr_nbits = sz * NBBY;
613 tdp->t_size = sz;
792 size_t sz; local
800 if ((sz = tdesc_size(tdp->t_ardef->ad_contents)) == 0) {
809 tdp->t_size = sz * tdp->t_ardef->ad_nelems;
963 Dwarf_Unsigned sz, bitsz, bitoff; local
981 (void) die_unsigned(dw, str, DW_AT_byte_size, &sz, DW_ATTR_REQ);
982 tdp->t_size = sz;
1040 debug(3, "die %llu: mem %llu: created \"%s\" (off %u sz
1374 die_base_type2enc(dwarf_t *dw, Dwarf_Off off, Dwarf_Signed enc, size_t sz) argument
1399 die_base_from_dwarf(dwarf_t *dw, Dwarf_Die base, Dwarf_Off off, size_t sz) argument
1449 Dwarf_Unsigned sz; local
[all...]
/macosx-10.9.5/sudo-72/src/
H A Dldap.c1146 size_t sz = 0; local
1151 sz += 3;
1155 sz += strlen(ldap_conf.search_filter);
1158 sz += 29 + sudo_ldap_value_len(pw->pw_name);
1162 sz += 12 + sudo_ldap_value_len(grp->gr_name);
1169 sz += 12 + sudo_ldap_value_len(grp->gr_name);
1176 sz += TIMEFILTER_LENGTH;
1177 buf = emalloc(sz);
1185 (void) strlcpy(buf, "(&", sz);
1188 (void) strlcat(buf, ldap_conf.search_filter, sz);
[all...]
/macosx-10.9.5/BerkeleyDB-21/db/db/
H A Ddb_overflow.c203 u_int32_t sz; local
219 sz = dbt->size; sz > 0; p += pagespace, sz -= pagespace) {
224 if (sz < pagespace)
225 pagespace = sz;
229 * the item onto the page. If sz is less than pagespace, we
/macosx-10.9.5/ksh-20/ksh/src/lib/libast/vmalloc/
H A Dvmhdr.h233 #define KPVALLOC(vm,sz,func) (SETLOCAL((vm)->data), func((vm),(sz)) )
234 #define KPVALIGN(vm,sz,al,func) (SETLOCAL((vm)->data), func((vm),(sz),(al)) )
236 #define KPVRESIZE(vm,d,sz,mv,func) (SETLOCAL((vm)->data), func((vm),(d),(sz),(mv)) )
/macosx-10.9.5/ntp-88/libopts/
H A Dautoopts.c59 ao_malloc( size_t sz )
61 void * res = malloc(sz);
63 fprintf( stderr, "malloc of %d bytes failed\n", (int)sz );
72 ao_realloc( void *p, size_t sz )
74 void * res = realloc(p, sz);
76 fprintf( stderr, "realloc of %d bytes at 0x%p failed\n", (int)sz, p );
/macosx-10.9.5/ntp-88/sntp/libopts/
H A Dautoopts.c59 ao_malloc( size_t sz )
61 void * res = malloc(sz);
63 fprintf( stderr, "malloc of %d bytes failed\n", (int)sz );
72 ao_realloc( void *p, size_t sz )
74 void * res = realloc(p, sz);
76 fprintf( stderr, "realloc of %d bytes at 0x%p failed\n", (int)sz, p );
/macosx-10.9.5/swig-10/Lib/python/
H A Dpyrun.swg25 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
26 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
37 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
38 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1189 SWIG_Python_ConvertPacked(PyObject *obj, void *ptr, size_t sz, swig_type_info *ty) {
1190 swig_type_info *to = SwigPyPacked_UnpackData(obj, ptr, sz);
[all...]

Completed in 306 milliseconds

1234567891011>>