Home
last modified time | relevance | path

Searched refs:uint (Results 1 – 25 of 1046) sorted by relevance

12345678910>>...42

/plan9/sys/src/cmd/acme/
H A Ddat.h71 uint addr; /* disk address in bytes */
74 uint n; /* number of used runes in block */
82 uint addr; /* length of temp file */
87 Block* disknewblock(Disk*, uint);
89 void diskread(Disk*, Block*, Rune*, uint);
90 void diskwrite(Disk*, Block**, Rune*, uint);
94 uint nc;
96 uint cnc; /* bytes in cache */
97 uint cmax; /* size of allocated cache */
98 uint cq; /* position of cache */
[all …]
H A Dfns.h20 void scrsleep(uint);
25 uint loadfile(int, uint, int*, int(*)(void*, uint, Rune*, int), void*);
40 void* tmalloc(uint);
44 int runeeq(Rune*, uint, Rune*, uint);
58 void execute(Text*, uint, uint, int, Text*);
59 int search(Text*, Rune*, uint);
60 void look3(Text*, uint, uint, int);
61 void editcmd(Text*, Rune*, uint);
62 uint min(uint, uint);
63 uint max(uint, uint);
[all …]
/plan9/sys/src/cmd/ext2srv/
H A Ddat.h26 uint s_inodes_count; /* Inodes count */
27 uint s_blocks_count; /* Blocks count */
28 uint s_r_blocks_count; /* Reserved blocks count */
29 uint s_free_blocks_count; /* Free blocks count */
30 uint s_free_inodes_count; /* Free inodes count */
31 uint s_first_data_block; /* First Data Block */
32 uint s_log_block_size; /* Block size */
34 uint s_blocks_per_group; /* # Blocks per group */
35 uint s_frags_per_group; /* # Fragments per group */
36 uint s_inodes_per_group; /* # Inodes per group */
[all …]
/plan9/sys/src/cmd/gs/src/
H A Dgdevpsds.h32 uint samples_per_row; /* >0 */
35 uint left; /* # of samples left in current row */
97 uint byte_in;
100 uint byte_out;
141 uint sum_size;
142 uint copy_size;
143 uint *sums; /* accumulated sums for average */
155 uint choice;
156 uint width, height, depth, bits_per_sample;
157 uint samples_count, bits_left;
[all …]
H A Dgxfont42.h43 uint numMetrics; /* num*Metrics from [hv]hea */
45 uint length; /* length of [hv]mtx table */
49 int (*string_proc) (gs_font_type42 *, ulong, uint, const byte **);
55 uint (*get_glyph_index)(gs_font_type42 *pfont, gs_glyph glyph);
56 int (*get_outline)(gs_font_type42 *pfont, uint glyph_index,
58 int (*get_metrics)(gs_font_type42 *pfont, uint glyph_index, int wmode,
64 uint unitsPerEm; /* from head */
65 uint indexToLocFormat; /* from head */
80 uint numGlyphs; /* from size of loca */
81 uint trueNumGlyphs; /* from maxp */
[all …]
H A Dgsfont.h49 uint smax, uint bmax, uint mmax,
50 uint cmax, uint upper);
78 void gs_cachestatus(const gs_font_dir *, uint[7]);
81 uint gs_currentcachesize(const gs_font_dir *);
82 int gs_setcachesize(gs_font_dir *, uint);
83 uint gs_currentcachelower(const gs_font_dir *);
84 int gs_setcachelower(gs_font_dir *, uint);
85 uint gs_currentcacheupper(const gs_font_dir *);
86 int gs_setcacheupper(gs_font_dir *, uint);
87 uint gs_currentaligntopixels(const gs_font_dir *);
[all …]
H A Dgzht.h31 void gx_sort_ht_order(gx_ht_bit *, uint);
34 int gx_ht_alloc_ht_order(gx_ht_order * porder, uint width, uint height,
35 uint num_levels, uint num_bits, uint strip_shift,
38 int gx_ht_alloc_order(gx_ht_order * porder, uint width, uint height,
39 uint strip_shift, uint num_levels, gs_memory_t *mem);
40 int gx_ht_alloc_threshold_order(gx_ht_order * porder, uint width,
41 uint height, uint num_levels,
43 int gx_ht_alloc_client_order(gx_ht_order * porder, uint width, uint height,
44 uint num_levels, uint num_bits, gs_memory_t * mem);
115 uint bits_size; /* the space available for bits */
[all …]
H A Dgpmisc.h47 gp_file_name_combine_result gp_file_name_combine_generic(const char *prefix, uint plen,
48 const char *fname, uint flen, bool no_sibling, char *buffer, uint *blen);
54 gp_file_name_combine_result gp_file_name_reduce(const char *fname, uint flen,
55 char *buffer, uint *blen);
60 bool gp_file_name_is_absolute(const char *fname, uint flen);
65 uint gp_file_name_parents(const char *fname, uint flen);
70 uint gp_file_name_cwds(const char *fname, uint flen);
H A Distack.h67 uint bot_guard, uint top_guard,
88 int ref_stack_set_margin(ref_stack_t *pstack, uint margin);
91 uint ref_stack_count(const ref_stack_t *pstack);
97 #define ref_stack_max_count(pstk) (uint)((pstk)->max_stack.value.intval)
110 uint ref_stack_counttomark(const ref_stack_t *pstack);
117 uint count, uint skip);
129 int ref_stack_store(const ref_stack_t *pstack, ref *parray, uint count,
130 uint skip, int age, bool check,
137 void ref_stack_pop(ref_stack_t *pstack, uint count);
151 int ref_stack_extend(ref_stack_t *pstack, uint request);
[all …]
H A Diutil.h28 void refcpy_to_new(ref * to, const ref * from, uint size,
30 int refcpy_to_old(ref * aref, uint index, const ref * from, uint size,
37 void refset_null_new(ref * to, uint size, uint new_mask);
52 int obj_string_data(const gs_memory_t *mem, const ref *op, const byte **pchars, uint *plen);
67 int obj_cvp(const ref * op, byte *str, uint len, uint * prlen,
68 int full_print, uint start_pos, const gs_memory_t *mem);
83 int obj_cvs(const gs_memory_t *mem, const ref * op, byte * str, uint len, uint * prlen,
98 int refs_check_space(const ref * refs, uint size, uint space);
H A Distack.c34 uint used);
35 private int ref_stack_push_block(ref_stack_t *pstack, uint keep, uint add);
77 uint bot_guard, uint top_guard, const ref *pguard_value, in ref_stack_init()
80 uint size = r_size(pblock_array); in ref_stack_init()
81 uint avail = size - (stack_block_refs + bot_guard + top_guard); in ref_stack_init()
145 uint nmin = ref_stack_count_inline(pstack); in ref_stack_set_max_count()
152 uint ncur = pstack->body_size; in ref_stack_set_max_count()
166 ref_stack_set_margin(ref_stack_t *pstack, uint margin) in ref_stack_set_margin()
169 uint data_size = params->data_size; in ref_stack_set_margin()
177 uint used = pstack->p + 1 - pstack->bot; in ref_stack_set_margin()
[all …]
H A Dgxfcache.h83 uint hash; /* hash for this pair */
90 uint index; /* index of this pair in mdata */
114 uint msize, mmax; /* # of cached font/matrix pairs */
116 uint mnext; /* rover for allocating font/matrix pairs */
168 uint loc; /* relative location in chunk */
169 uint pair_index; /* index of pair in mdata */
223 ((uint)(glyph) * 59 + (pair)->hash * 73) /* scramble it a bit */
239 uint table_mask; /* (a power of 2 -1) */
240 uint bmax; /* max bsize */
241 uint cmax; /* max csize */
[all …]
H A Dgp.h107 gs_memory_t *bufmem, uint *pcount, bool *pin_eol,
209 gp_file_name_combine_result gp_file_name_combine(const char *prefix, uint plen,
210 const char *fname, uint flen, bool no_sibling, char *buffer, uint *blen);
221 uint gp_file_name_root(const char *fname, uint len);
230 uint gs_file_name_check_separator(const char *fname, int len, const char *item);
236 bool gp_file_name_is_parent(const char *fname, uint len);
242 bool gp_file_name_is_current(const char *fname, uint len);
284 const uint type, const ushort id);
365 file_enum *gp_enumerate_files_init(const char *pat, uint patlen,
375 uint gp_enumerate_files_next(file_enum * pfen, char *ptr, uint maxlen);
H A Dgpmisc.c99 append(char **bp, const char *bpe, const char **ip, uint len) in append()
110 private inline uint
112 { uint slen = 0; in search_separator()
137 gp_file_name_combine_generic(const char *prefix, uint plen, const char *fname, uint flen, in gp_file_name_combine_generic()
138 bool no_sibling, char *buffer, uint *blen) in gp_file_name_combine_generic()
147 uint slen; in gp_file_name_combine_generic()
148 uint infix_type = 0; /* 0=none, 1=current, 2=parent. */ in gp_file_name_combine_generic()
149 uint infix_len = 0; in gp_file_name_combine_generic()
150 uint rlen = gp_file_name_root(fname, flen); in gp_file_name_combine_generic()
177 uint ilen; in gp_file_name_combine_generic()
[all …]
H A Dgsbitcom.c99 bits_compress_scaled(const byte * src, int srcx, uint width, uint height, in bits_compress_scaled()
100 uint sraster, byte * dest, uint draster, in bits_compress_scaled()
117 uint sskip = sraster << log2_y; in bits_compress_scaled()
118 uint dwidth = (width >> log2_x) << log2_out_bits; in bits_compress_scaled()
119 uint dskip = draster - ((dwidth + 7) >> 3); in bits_compress_scaled()
120 uint mask = (1 << xscale) - 1; in bits_compress_scaled()
121 uint count_max = 1 << (log2_x + log2_y); in bits_compress_scaled()
130 uint h; in bits_compress_scaled()
196 uint count; in bits_compress_scaled()
204 uint orig_count = count; in bits_compress_scaled()
[all …]
H A Dgsserial.h58 extern int enc_u_size_uint(uint);
61 ( (uint)(w) < enc_u_lim_1b \
63 : (uint)(w) < enc_u_lim_2b ? 2 : enc_u_size_uint(w) )
67 ( ((uint)(w1) | (uint)(w2)) < enc_u_lim_1b \
74 #define enc_u_sizew_max ((8 * sizeof(uint) + enc_u_shift - 1) / enc_u_shift)
77 extern byte * enc_u_put_uint(uint, byte *);
78 extern const byte * enc_u_get_uint(uint *, const byte *);
79 extern byte * enc_u_get_uint_nc(uint *, byte *);
83 if ((uint)(w) < enc_u_lim_1b) \
85 else if ((uint)(w) < enc_u_lim_2b) { \
[all …]
H A Dgp_unifn.c37 uint gp_file_name_root(const char *fname, uint len) in gp_file_name_root()
43 uint gs_file_name_check_separator(const char *fname, int len, const char *item) in gs_file_name_check_separator()
54 bool gp_file_name_is_parent(const char *fname, uint len) in gp_file_name_is_parent()
58 bool gp_file_name_is_current(const char *fname, uint len) in gp_file_name_is_current()
87 gp_file_name_combine(const char *prefix, uint plen, const char *fname, uint flen, in gp_file_name_combine()
88 bool no_sibling, char *buffer, uint *blen) in gp_file_name_combine()
H A Dgxbcache.h38 uint size; /* total block size in bytes */
39 uint depth; /* bits per pixel, free block if 0 */
77 uint size;
78 uint allocated; /* amount of allocated data */
85 uint cnext; /* rover for allocating entries */\
87 uint bsize; /* total # of bytes for all entries */\
88 uint csize /* # of entries */
104 void gx_bits_cache_chunk_init(gx_bits_cache_chunk *, byte *, uint);
115 uint, gx_bits_cache_chunk *);
/plan9/sys/src/cmd/sam/
H A Dsam.h109 uint addr; /* disk address in bytes */
112 uint n; /* number of used runes in block */
120 uint addr; /* length of temp file */
125 Block* disknewblock(Disk*, uint);
127 void diskread(Disk*, Block*, Rune*, uint);
128 void diskwrite(Disk*, Block**, Rune*, uint);
132 uint nc;
134 uint cnc; /* bytes in cache */
135 uint cmax; /* size of allocated cache */
136 uint cq; /* position of cache */
[all …]
/plan9/sys/src/cmd/unix/u9fs/
H A Doldfcall.h1 uint convM2Dold(uchar*, uint, Dir*, char*);
2 uint convD2Mold(Dir*, uchar*, uint);
3 uint sizeD2Mold(Dir*);
4 uint convM2Sold(uchar*, uint, Fcall*);
5 uint convS2Mold(Fcall*, uchar*, uint);
6 uint oldhdrsize(uchar);
7 uint iosize(uchar*);
/plan9/sys/src/libscribble/
H A Dhre_internal.h45 uint recognizer_magic;
63 int (*recognizer_get_buffer)(struct _Recognizer*, uint*, Stroke**);
65 int (*recognizer_set_buffer)(struct _Recognizer*, uint, Stroke*);
66 int (*recognizer_translate)(struct _Recognizer*, uint, Stroke*, bool, int*, rec_alternative**);
70 uint recognizer_end_magic;
110 rec_alternative* make_rec_alternative_array(uint size);
111 rec_correlation* make_rec_correlation(char type, uint size, void* trans, rec_confidence conf, uint
114 make_rec_fn_array(uint size);
121 uint nhs,
127 make_gesture_array(uint size);
[all …]
H A Dscribbleimpl.h38 typedef uint wchar_t;
173 uint ra_nalter; /*number of next alternatives*/
190 uint g_nhs; /*Number of hotspots.*/
211 uint ro_nstrokes; /*Number of strokes.*/
213 uint* ro_start; /*Starting index of points.*/
214 uint* ro_stop; /*Stopping index of points.*/
341 int recognizer_get_buffer(recognizer, uint*, Stroke**);
342 int recognizer_set_buffer(recognizer, uint, Stroke*);
355 int recognizer_translate(recognizer, uint, Stroke*, bool,
389 void delete_rec_alternative_array(uint, rec_alternative*, bool);
[all …]
/plan9/sys/src/9/omap/
H A Dscreen.h75 uint wid; /* width in pixels */
76 uint ht; /* height in pixels */
77 uint freq; /* refresh frequency; only printed */
78 uint chan; /* draw chan */
81 uint pixelclock;
84 uint hbp; /* back porch: pixel clocks before scan line */
85 uint hfp; /* front porch: pixel clocks after scan line */
86 uint hsw; /* sync pulse width: more hfp */
89 uint vbp; /* back porch: line clocks before frame */
90 uint vfp; /* front porch: line clocks after frame */
[all …]
/plan9/sys/src/cmd/rio/
H A Ddat.h138 uint nr; /* number of runes in window */
139 uint maxr; /* number of runes allocated in r */
141 uint nraw;
143 uint org;
144 uint q0;
145 uint q1;
146 uint qh;
149 uint namecount;
186 int wclickmatch(Window*, int, int, int, uint*);
190 uint wbacknl(Window*, uint, uint);
[all …]
/plan9/sys/src/ape/cmd/pax/
H A Dbuffer.c59 static int ar_write(int, char *, uint);
63 static void buf_use(uint);
64 static int buf_in_avail(char **, uint *);
65 static uint buf_out_avail(char **);
75 static uint buf_out_avail();
171 uint chunk;
174 uint avail;
184 size -= (chunk = size < avail ? (uint) size : avail);
264 void outwrite(char *idx, uint len) in outwrite()
270 uint len; /* length of data to write */
[all …]

12345678910>>...42