Searched refs:items (Results 1 - 12 of 12) sorted by relevance

/ast/src/lib/libz/
H A Dzutil.c216 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
219 ulg bsize = (ulg)items*size;
275 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
278 return _halloc((long)items, size);
297 extern voidp calloc OF((uInt items, uInt size));
302 voidpf zcalloc (opaque, items, size)
304 unsigned items;
307 if (opaque) items += size - size; /* make compiler happy */
308 return sizeof(uInt) > 2 ? (voidpf)malloc(items * size) :
309 (voidpf)calloc(items, siz
[all...]
H A Dzutil.h261 voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
264 #define ZALLOC(strm, items, size) \
265 (*((strm)->zalloc))((strm)->opaque, (items), (size))
H A Dzlib.h77 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
/ast/src/cmd/ksh93/tests/
H A Dcubetype.sh37 items=(foo bar)
74 b.items[1]=bam
75 b.items[2]=extra
76 exp=3 got=${#b.items[@]}
77 [[ ${#b.items[@]} == 3 ]] || err_exit "\${#b.items[@]} incorrect for iteration $i -- expected $exp, got '$got'"
85 unset b.items
86 exp=2 got=${#b.items[@]}
87 [[ ${#b.items[@]} == 2 ]] || err_exit "\${#b.items[
[all...]
H A Dcomvar.sh215 typeset -a stack.items=([0]=foo [1]=bar)
216 [[ ${stack.items[0]} == foo ]] || err_exit 'typeset -a variable not expanding correctly'
/ast/src/lib/libtk/library/demos/
H A Dbind.tcl44 {1. Samples of all the different types of items that can be created in canvas widgets.} d1
50 {3. Anchoring and justification modes for text items.} d3
53 {4. An editor for arrow-head shapes for line items.} d4
67 $w.text tag bind d1 <1> {source [file join $tk_library demos items.tcl]}
H A Ditems.tcl0 # items.tcl --
6 # SCCS: @(#) items.tcl 1.14 96/10/04 17:09:35
8 set w .items
16 label $w.msg -font $font -wraplength 5i -justify left -text "This window contains a canvas widget with examples of the various kinds of items supported by canvases. The following operations are supported:\n Button-1 drag:\tmoves item under pointer.\n Button-2 drag:\trepositions view.\n Button-3 drag:\tstrokes out area.\n Ctrl+f:\t\tprints items under area."
237 set items ""
240 lappend items $i
243 puts stdout "Items enclosed by area: $items"
244 set items ""
247 lappend items
[all...]
H A Dwidget22 # all of the demos as hypertext items.
172 .t insert end "1. The canvas item types." {demo demo-items}
176 .t insert end "3. Text items in canvases." {demo demo-ctext}
/ast/src/cmd/INIT/
H A Dratz.c500 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
801 voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
804 #define ZALLOC(strm, items, size) \
805 (*((strm)->zalloc))((strm)->opaque, (items), (size))
886 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
889 ulg bsize = (ulg)items*size;
945 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) argument
948 return _halloc((long)items, size);
967 extern voidp calloc OF((uInt items, uInt size));
972 voidpf zcalloc (opaque, items, siz
[all...]
/ast/src/lib/libtk/
H A DMakefile100 library/demos/items.tcl \
188 library/demos/items.tcl \
/ast/src/lib/libbz/
H A Dbzlib.c107 void* default_bzalloc ( void* opaque, Int32 items, Int32 size ) argument
109 void* v = malloc ( items * size );
/ast/src/cmd/mailx/
H A Dimap.c1879 int items; local
1890 sfprintf(sfstdout, "dump items are:");
1895 else for (items = 0;;)
1900 if (items++)

Completed in 79 milliseconds