Searched defs:lens (Results 1 - 25 of 26) sorted by relevance

12

/external/ltrace/
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.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 Dtype.h65 struct lens *lens; member in struct:arg_type_info
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 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 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 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/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
/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]);
/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/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
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 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/bsdiff/
H A Dbsdiff.c206 off_t overlap,Ss,lens; local
313 s=0;Ss=0;lens=0;
319 if(s>Ss) { Ss=s; lens=i+1; };
322 lenf+=lens-overlap;
323 lenb-=lens;
/external/zlib/src/contrib/puff/
H A Dpuff.c402 * length symbol. These are in the static arrays below, lens[] for the base
443 static const short lens[29] = { /* Size base for length codes 257..285 */ local
477 len = lens[symbol] + bits(s, lext[symbol]);
/external/zlib/src/test/
H A Dinfcover.c621 unsigned short lens[16], work[16]; local
627 lens[bits] = (unsigned short)(bits + 1);
628 lens[15] = 15;
631 ret = inflate_table(DISTS, lens, 16, &next, &bits, work);
635 ret = inflate_table(DISTS, lens, 16, &next, &bits, work);
/external/chromium_org/chrome/installer/mac/third_party/bsdiff/
H A Dgoobsdiff.c342 off_t overlap,Ss,lens; local
457 s=0;Ss=0;lens=0;
463 if(s>Ss) { Ss=s; lens=i+1; };
466 lenf+=lens-overlap;
467 lenb-=lens;
/external/chromium_org/courgette/third_party/
H A Dbsdiff_create.cc363 int Ss = 0, lens = 0; local
368 if (score > Ss) { Ss = score; lens = i + 1; }
371 lenf += lens - overlap;
372 lenb -= lens;
/external/chromium_org/third_party/icu/source/samples/cal/
H A Dcal.c425 int32_t lens [DAY_COUNT]; local
453 lens[i] = u_strlen(days[i]);
454 width += lens[i];
492 indent(lens[i] + 1, stdout);
502 pad = lens[current] - u_strlen(s);
543 int32_t lens [DAY_COUNT]; local
576 lens[i] = u_strlen(days[i]);
577 width += lens[i];
666 indent(lens[j] + 1, stdout);
673 pad = lens[left_curren
[all...]
/external/chromium_org/third_party/zlib/
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/e2fsprogs/lib/blkid/
H A Ddevname.c403 int lens[2] = { 0, 0 }; local
451 lens[which] = strlen(ptname);
454 if (isdigit(ptname[lens[which] - 1])) {
462 lens[which] = 0; /* mark as checked */
470 if (lens[last] && !strncmp(ptnames[last], ptname, lens[last])) {
486 lens[last] = 0;
493 if (lens[last] && strncmp(ptnames[last], ptname, lens[last])) {
499 lens[las
[all...]
/external/icu/icu4c/source/samples/cal/
H A Dcal.c425 int32_t lens [DAY_COUNT]; local
453 lens[i] = u_strlen(days[i]);
454 width += lens[i];
492 indent(lens[i] + 1, stdout);
502 pad = lens[current] - u_strlen(s);
543 int32_t lens [DAY_COUNT]; local
576 lens[i] = u_strlen(days[i]);
577 width += lens[i];
666 indent(lens[j] + 1, stdout);
673 pad = lens[left_curren
[all...]
/external/qemu/distrib/zlib-1.2.8/
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/zlib/src/
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/opencv/cvaux/src/
H A Dcvscanlines.cpp180 icvMakeScanlinesLengths( int *scanlines, int numlines, int *lens )
199 lens[index] = MAX( dx, dy );
210 int *scanlines_a, int *lens, int numlines, float alpha )
242 lens[curr_len++] = MAX( dx, dy );
2023 int *scanlines_a, int *lens, int numlines, float alpha )
2030 lens, numlines, alpha ));
208 icvMakeAlphaScanlines( int *scanlines_1, int *scanlines_2, int *scanlines_a, int *lens, int numlines, float alpha ) argument
2021 cvMakeAlphaScanlines( int *scanlines_1, int *scanlines_2, int *scanlines_a, int *lens, int numlines, float alpha ) argument
/external/fio/
H A Dclient.c499 unsigned int *lens; local
506 lens = malloc(client->argc * sizeof(unsigned int));
512 lens[i] = strlen(client->argv[i]) + 1;
513 mem += lens[i];
526 uint16_t arg_len = lens[i];
534 free(lens);

Completed in 829 milliseconds

12