HomeSort by relevance Sort by last modified time
    Searched refs:lens (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/ltrace/
lens_default.h 24 #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 that formats integers as either "true" or "false". *
    [all...]
lens.c 23 #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 *lens, FILE *stream, struct value *value
    [all...]
lens.h 27 struct lens { struct
32 int (*format_cb)(struct lens *lens, FILE *stream, struct value *value,
35 /* Erase any memory allocated for LENS. Keep the LENS pointer
37 void (*destroy_cb)(struct lens *lens);
40 /* Extracts a lens from VALUE and calls lens_format on that. */
44 /* Calls format callback associated with LENS. */
45 int lens_format(struct lens *lens, FILE *stream, struct value *value
    [all...]
lens_enum.h 24 #include "lens.h"
28 struct lens super;
32 /* Init enumeration LENS. */
33 void lens_init_enum(struct enum_lens *lens);
39 * destroyed by LENS. */
40 int lens_enum_add(struct enum_lens *lens,
45 size_t lens_enum_size(struct enum_lens *lens);
lens_enum.c 50 enum_lens_destroy_cb(struct lens *lens)
52 struct enum_lens *self = (void *)lens;
104 enum_get(struct enum_lens *lens, struct value *value,
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,
124 struct enum_lens *self = (void *)lens;
135 lens_init_enum(struct enum_lens *lens)
    [all...]
lens_default.c 396 toplevel_format_lens(struct lens *lens, FILE *stream,
445 default_lens_format_cb(struct lens *lens, FILE *stream,
448 return toplevel_format_lens(lens, stream, value, arguments,
452 struct lens default_lens = {
458 blind_lens_format_cb(struct lens *lens, FILE *stream,
464 struct lens blind_lens = {
470 octal_lens_format_cb(struct lens *lens, FILE *stream
    [all...]
printf.c 213 struct lens *lens = NULL; local
306 lens = &octal_lens;
310 lens = &hex_lens;
342 lens = &string_lens;
370 infop->lens = lens;
read_config_file.c 45 #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: %s", strerror(errno))
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/
inftrees.h 56 LENS,
60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
infback.c 88 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
    [all...]
inflate.h 114 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/
inftrees.h 56 LENS,
60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
fx_zlib_inftrees.c 22 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
25 to be generated, CODES, LENS, or DISTS. On return, zero is success,
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
    [all...]
fx_zlib_infback.c 97 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
    [all...]
  /external/qemu/distrib/zlib-1.2.8/
inftrees.h 56 LENS,
60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
inftrees.c 22 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
25 to be generated, CODES, LENS, or DISTS. On return, zero is success,
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[sym]]++] = (unsigned short)sym
    [all...]
  /external/zlib/src/contrib/infback9/
inflate9.h 42 unsigned have; /* number of code lengths in lens[] */
44 unsigned short lens[320]; /* temporary storage for code lengths */ member in struct:inflate_state
inftree9.h 55 LENS,
59 extern int inflate_table9 OF((codetype type, unsigned short FAR *lens,
inftree9.c 22 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
25 to be generated, CODES, LENS, or DISTS. On return, zero is success,
32 int inflate_table9(type, lens, codes, table, bits, work)
34 unsigned short FAR *lens;
79 code lengths are lens[0..codes-1]. Each length corresponds to the
91 lens[] are in the range 0..MAXBITS. The caller must assure this.
108 /* accumulate lengths for codes (assumes lens[] all in 0..MAXBITS) */
112 count[lens[sym]]++;
141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym
    [all...]
infback9.c 63 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
    [all...]
  /external/zlib/src/
inftrees.h 56 LENS,
60 int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
inftrees.c 22 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
25 to be generated, CODES, LENS, or DISTS. On return, zero is success,
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[sym]]++] = (unsigned short)sym
    [all...]
  /external/valgrind/main/none/tests/x86/
bug152818-x86.c 79 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);
  /ndk/sources/host-tools/make-3.81/
rule.h 25 unsigned int *lens; /* Lengths of each target. */ member in struct:rule
  /external/chromium_org/net/quic/crypto/
common_cert_set.cc 27 // lens is an array of |num_certs| integers describing the length, in bytes,
29 const size_t* lens; member in struct:net::__anon14054::CertSet
83 kSets[i].lens[index]);
117 int n = Compare(cert, kSets[j].certs[mid], kSets[j].lens[mid]);

Completed in 998 milliseconds

1 2 3