Searched refs:lens (Results 1 - 25 of 52) sorted by relevance

123

/external/ltrace/
H A Dlens_default.h24 #include "lens.h"
26 /* Default lens that does reasonable job for most cases. */
27 extern struct lens default_lens;
29 /* A lens that doesn't output anything. */
30 extern struct lens blind_lens;
32 /* A lens that formats integers in octal. */
33 extern struct lens octal_lens;
35 /* A lens that formats integers in hexadecimal. */
36 extern struct lens hex_lens;
38 /* A lens tha
[all...]
H A Dlens.c23 #include "lens.h"
33 * lens assigned. */
36 && parent->type->lens == NULL);
40 struct lens *lens = &default_lens; local
42 && parent->type->lens != NULL)
43 lens = parent->type->lens;
45 return lens_format(lens, stream, value, arguments);
49 lens_format(struct lens *len argument
57 lens_destroy(struct lens *lens) argument
[all...]
H A Dlens.h27 struct lens { struct
32 int (*format_cb)(struct lens *lens, FILE *stream, struct value *value,
37 void (*destroy_cb)(struct lens *lens);
40 /* Extracts a lens from VALUE and calls lens_format on that. */
45 int lens_format(struct lens *lens, FILE *stream, struct value *value,
49 void lens_destroy(struct lens *lens);
[all...]
H A Dlens_enum.h24 #include "lens.h"
28 struct lens super;
33 void lens_init_enum(struct enum_lens *lens);
40 int lens_enum_add(struct enum_lens *lens,
45 size_t lens_enum_size(struct enum_lens *lens);
H A Dlens_enum.c50 enum_lens_destroy_cb(struct lens *lens) argument
52 struct enum_lens *self = (void *)lens;
104 enum_get(struct enum_lens *lens, struct value *value, argument
108 for (i = 0; i < vect_size(&lens->entries); ++i) {
109 struct enum_entry *entry = VECT_ELEMENT(&lens->entries,
121 enum_lens_format_cb(struct lens *lens, FILE *stream, argument
124 struct enum_lens *self = (void *)lens;
135 lens_init_enum(struct enum_lens *lens) argument
147 lens_enum_add(struct enum_lens *lens, const char *key, int own_key, struct value *value, int own_value) argument
156 lens_enum_size(struct enum_lens *lens) argument
[all...]
H A Dlens_default.c396 toplevel_format_lens(struct lens *lens, FILE *stream, argument
445 default_lens_format_cb(struct lens *lens, FILE *stream, argument
448 return toplevel_format_lens(lens, stream, value, arguments,
452 struct lens default_lens = {
458 blind_lens_format_cb(struct lens *lens, FILE *stream, argument
464 struct lens blind_lens = {
470 octal_lens_format_cb(struct lens *len argument
482 hex_lens_format_cb(struct lens *lens, FILE *stream, struct value *value, struct value_dict *arguments) argument
494 dec_lens_format_cb(struct lens *lens, FILE *stream, struct value *value, struct value_dict *arguments) argument
506 guess_lens_format_cb(struct lens *lens, FILE *stream, struct value *value, struct value_dict *arguments) argument
519 bool_lens_format_cb(struct lens *lens, FILE *stream, struct value *value, struct value_dict *arguments) argument
555 redispatch_as_array(struct lens *lens, FILE *stream, struct value *value, struct value_dict *arguments, int (*cb)(struct lens *, FILE *, struct value *, struct value_dict *)) argument
601 string_lens_format_cb(struct lens *lens, FILE *stream, struct value *value, struct value_dict *arguments) argument
670 bitvect_lens_format_cb(struct lens *lens, FILE *stream, struct value *value, struct value_dict *arguments) argument
[all...]
H A Dprintf.c213 struct lens *lens = NULL; local
306 lens = &octal_lens;
310 lens = &hex_lens;
342 lens = &string_lens;
370 infop->lens = lens;
H A Dread_config_file.c45 #include "lens.h"
602 /* Usage of "string" as lens. */
646 /* We'll need to set the lens, so unshare. */
653 info->lens = &string_lens;
805 /* This also releases associated lens
822 /* We'll need to set the lens, so unshare. */
830 struct enum_lens *lens = malloc(sizeof(*lens)); local
831 if (lens == NULL) {
833 "malloc enum lens
958 struct lens *lens; member in struct:named_lens
1022 struct lens *lens = name2lens(str, &own_lens); local
[all...]
/external/chromium_org/third_party/zlib/
H A Dinftrees.h60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinfback.c88 while (sym < 144) state->lens[sym++] = 8;
89 while (sym < 256) state->lens[sym++] = 9;
90 while (sym < 280) state->lens[sym++] = 7;
91 while (sym < 288) state->lens[sym++] = 8;
95 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
99 while (sym < 32) state->lens[sym++] = 5;
102 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
371 state->lens[order[state->have++]] = (unsigned short)BITS(3);
375 state->lens[order[state->have++]] = 0;
379 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.h114 unsigned have; /* number of code lengths in lens[] */
116 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dinftrees.h60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dfx_zlib_inftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
34 unsigned short FAR *lens,
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
256 len = lens[wor
32 inflate_table( codetype type, unsigned short FAR *lens, unsigned codes, code FAR * FAR *table, unsigned FAR *bits, unsigned short FAR *work) argument
[all...]
H A Dfx_zlib_infback.c97 while (sym < 144) state->lens[sym++] = 8;
98 while (sym < 256) state->lens[sym++] = 9;
99 while (sym < 280) state->lens[sym++] = 7;
100 while (sym < 288) state->lens[sym++] = 8;
104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
108 while (sym < 32) state->lens[sym++] = 5;
111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
380 state->lens[order[state->have++]] = (unsigned short)BITS(3);
384 state->lens[order[state->have++]] = 0;
388 ret = inflate_table(CODES, state->lens, 1
[all...]
H A Dinflate.h114 unsigned have; /* number of code lengths in lens[] */
116 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
/external/qemu/distrib/zlib-1.2.8/
H A Dinftrees.h60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sy
[all...]
H A Dinfback.c97 while (sym < 144) state->lens[sym++] = 8;
98 while (sym < 256) state->lens[sym++] = 9;
99 while (sym < 280) state->lens[sym++] = 7;
100 while (sym < 288) state->lens[sym++] = 8;
104 inflate_table(LENS, state->lens, 288, &(next), &(bits), state->work);
108 while (sym < 32) state->lens[sym++] = 5;
111 inflate_table(DISTS, state->lens, 32, &(next), &(bits), state->work);
380 state->lens[order[state->have++]] = (unsigned short)BITS(3);
384 state->lens[order[state->have++]] = 0;
388 ret = inflate_table(CODES, state->lens, 1
[all...]
/external/zlib/src/contrib/infback9/
H A Dinflate9.h42 unsigned have; /* number of code lengths in lens[] */
44 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
H A Dinftree9.h59 extern int inflate_table9 OF((codetype type, unsigned short FAR *lens,
H A Dinfback9.c63 while (sym < 144) state.lens[sym++] = 8;
64 while (sym < 256) state.lens[sym++] = 9;
65 while (sym < 280) state.lens[sym++] = 7;
66 while (sym < 288) state.lens[sym++] = 8;
70 inflate_table9(LENS, state.lens, 288, &(next), &(bits), state.work);
74 while (sym < 32) state.lens[sym++] = 5;
77 inflate_table9(DISTS, state.lens, 32, &(next), &(bits), state.work);
364 state->lens[order[state->have++]] = (unsigned short)BITS(3);
368 state->lens[order[state->have++]] = 0;
372 ret = inflate_table9(CODES, state->lens, 1
[all...]
/external/zlib/src/
H A Dinftrees.h60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
H A Dinftrees.c22 The code lengths are lens[0..codes-1]. The result starts at *table,
24 lens shorts, which is used as a work area. type is the type of code
32 int ZLIB_INTERNAL inflate_table(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
77 code lengths are lens[0..codes-1]. Each length corresponds to the
89 lens[] are in the range 0..MAXBITS. The caller must assure this.
106 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
110 count[lens[sym]]++;
147 if (lens[sym] != 0) work[offs[lens[sy
[all...]
/external/valgrind/main/none/tests/x86/
H A Dbug152818-x86.c79 const int lens[] = { 4, 3, 2, 1, 0, 0, 1, 2, 3, 4}; variable
91 for (idx = 0; idx < sizeof (lens)/sizeof(lens[0]); ++idx)
130 len = lens[idx];
131 df = (idx >= (sizeof(lens)/sizeof(lens[0]))/2);
/external/chromium_org/net/quic/crypto/
H A Dcommon_cert_set.cc27 // lens is an array of |num_certs| integers describing the length, in bytes,
29 const size_t* lens; member in struct:net::__anon9429::CertSet
83 kSets[i].lens[index]);
117 int n = Compare(cert, kSets[j].certs[mid], kSets[j].lens[mid]);

Completed in 286 milliseconds

123