Searched defs:codes (Results 1 - 25 of 55) sorted by relevance

123

/external/chromium_org/chrome/browser/android/banners/
H A Dapp_banner_utilities.cc16 std::vector<int> codes; local
18 codes.push_back(i);
20 DCHECK(std::find(codes.begin(), codes.end(), event) != codes.end());
21 UMA_HISTOGRAM_CUSTOM_ENUMERATION("AppBanners.DismissEvent", event, codes);
25 std::vector<int> codes; local
27 codes.push_back(i);
29 DCHECK(std::find(codes.begin(), codes
34 std::vector<int> codes; local
[all...]
/external/chromium_org/third_party/libwebp/utils/
H A Dhuffman_encode.h26 uint8_t extra_bits; // extra bits for escape codes
29 // Struct to represent the tree codes (depth and bits array).
33 uint16_t* codes; // Symbol Codes. member in struct:__anon13299
H A Dhuffman.c233 int* const codes,
264 memset(codes, 0, code_lengths_size * sizeof(*codes));
267 codes)) {
274 if (!TreeAddSymbol(tree, symbol, codes[symbol],
290 const int* const codes,
297 assert(codes != NULL);
305 if (codes[i] != NON_EXISTENT_SYMBOL) {
309 if (!TreeAddSymbol(tree, symbols[i], codes[i], code_lengths[i])) {
231 VP8LHuffmanTreeBuildImplicit(HuffmanTree* const tree, const int* const code_lengths, int* const codes, int code_lengths_size) argument
288 VP8LHuffmanTreeBuildExplicit(HuffmanTree* const tree, const int* const code_lengths, const int* const codes, const int* const symbols, int max_symbol, int num_symbols) argument
/external/webp/src/utils/
H A Dhuffman_encode.h26 uint8_t extra_bits; // extra bits for escape codes
29 // Struct to represent the tree codes (depth and bits array).
33 uint16_t* codes; // Symbol Codes. member in struct:__anon33396
H A Dhuffman.c233 int* const codes,
264 memset(codes, 0, code_lengths_size * sizeof(*codes));
267 codes)) {
274 if (!TreeAddSymbol(tree, symbol, codes[symbol],
290 const int* const codes,
297 assert(codes != NULL);
305 if (codes[i] != NON_EXISTENT_SYMBOL) {
309 if (!TreeAddSymbol(tree, symbols[i], codes[i], code_lengths[i])) {
231 VP8LHuffmanTreeBuildImplicit(HuffmanTree* const tree, const int* const code_lengths, int* const codes, int code_lengths_size) argument
288 VP8LHuffmanTreeBuildExplicit(HuffmanTree* const tree, const int* const code_lengths, const int* const codes, const int* const symbols, int max_symbol, int num_symbols) argument
/external/zlib/src/contrib/infback9/
H A Dinflate9.h30 Read deflate codes:
43 code FAR *next; /* next available space in codes[] */
46 code codes[ENOUGH]; /* space for code tables */ member in struct:inflate_state
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/coff/
H A Dcoff-objfmt.h48 yasm_value off; /* Offset expression (used for some codes) */
60 /* Linked list of codes, in decreasing location offset order.
64 SLIST_HEAD(coff_unwind_code_head, coff_unwind_code) codes; member in struct:coff_unwind_info
/external/libexif/libexif/
H A Dexif-log.c42 } codes[] = { variable in typeref:struct:__anon23665
57 for (i = 0; codes[i].title; i++) if (codes[i].code == code) break;
58 return _(codes[i].title);
66 for (i = 0; codes[i].message; i++) if (codes[i].code == code) break;
67 return _(codes[i].message);
/external/smack/src/org/xbill/DNS/
H A DEDNSOption.java25 private static Mnemonic codes = new Mnemonic("EDNS Option Codes", field in class:EDNSOption.Code
29 codes.setMaximum(0xFFFF);
30 codes.setPrefix("CODE");
31 codes.setNumericAllowed(true);
33 codes.add(NSID, "NSID");
34 codes.add(CLIENT_SUBNET, "CLIENT_SUBNET");
42 return codes.getText(code);
53 return codes.getValue(s);
/external/icu/icu4c/source/i18n/
H A Dcollationsettings.cpp86 CollationSettings::aliasReordering(const int32_t *codes, int32_t length, const uint8_t *table) { argument
96 reorderCodes = codes;
102 CollationSettings::setReordering(const int32_t *codes, int32_t length, const uint8_t table[256]) { argument
112 // Allocate one memory block for the codes and the 16-aligned table.
124 uprv_memcpy(ownedCodes, codes, length * 4);
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/
H A DHuffman.java38 private final int[] codes; field in class:Huffman.Codec
42 * @param codes Index designates the symbol this code represents.
45 Codec(int[] codes, byte[] lengths) { argument
46 buildTree(codes, lengths);
47 this.codes = codes;
57 int code = codes[b];
131 private void buildTree(int[] codes, byte[] lengths) { argument
133 addCode(i, codes[i], lengths[i]);
/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,
35 unsigned codes,
46 int left; /* number of prefix codes available */
58 unsigned short count[MAXBITS+1]; /* number of codes of each length */
60 static const unsigned short lbase[31] = { /* Length codes 257..285 base */
63 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
66 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
70 static const unsigned short dext[32] = { /* Distance codes 0..29 extra */
77 code lengths are lens[0..codes-1]. Each length corresponds to the
78 symbols 0..codes
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.h72 Read deflate codes in fixed or dynamic block:
106 code const FAR *lencode; /* starting table for length/literal codes */
107 code const FAR *distcode; /* starting table for distance codes */
115 code FAR *next; /* next available space in codes[] */
118 code codes[ENOUGH]; /* space for code tables */ member in struct:inflate_state
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
H A Dextutil.h51 XExtCodes *codes; /* the extension protocol codes */ member in struct:_XExtDisplayInfo
66 XExtCodes* /* codes */
73 XExtCodes* /* codes */
80 XExtCodes* /* codes */
87 XExtCodes* /* codes */
94 XExtCodes* /* codes */
101 XExtCodes* /* codes */
107 XExtCodes* /* codes */
128 XExtCodes* /* codes */,
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/windx5/
H A DSDL_dx5yuv.c129 DWORD *codes; local
135 codes = SDL_malloc(numcodes*sizeof(*codes));
136 if ( codes ) {
137 IDirectDraw2_GetFourCCCodes(ddraw2, &numcodes, codes);
139 fprintf(stderr, "Code %d: 0x%x\n", i, PrintFOURCC(codes[i]));
141 SDL_free(codes);
144 fprintf(stderr, "No FOURCC codes supported\n");
/external/freetype/src/gzip/
H A Dinfutil.h1 /* infutil.h -- types and macros common to blocks and codes
39 uIntf *blens; /* bit lengths of codes */
45 *codes; member in struct:inflate_blocks_state::__anon21558::__anon21560
/external/zlib/src/contrib/puff/
H A Dpuff.c49 * - Fix fixed codes table error
63 * 1.8 9 Jan 2004 - Added some comments on no distance codes case
79 * 2.3 21 Jan 2013 - Check for invalid code length codes in dynamic blocks
92 #define MAXLCODES 286 /* maximum number of literal/length codes */
93 #define MAXDCODES 30 /* maximum number of distance codes */
94 #define MAXCODES (MAXLCODES+MAXDCODES) /* maximum codes lengths to read */
95 #define FIXLCODES 288 /* number of fixed literal/length codes */
219 * - The codes as stored in the compressed data are bit-reversed relative to
220 * a simple integer ordering of codes of the same lengths. Hence below the
226 * - The first code for the shortest length is all zeros. Subsequent codes o
436 local int codes(struct state *s, function
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
H A Dglxinit.c45 __glXCloseDisplay(Display * dpy, XExtCodes * codes) argument
611 found = XFindOnExtensionList(privList, info->codes->extension);
616 if (!QueryVersion(dpy, info->codes->major_opcode, &major, &minor))
635 dpyPriv->majorOpcode = info->codes->major_opcode;
649 private->number = info->codes->extension;
/external/chromium_org/third_party/mesa/src/src/glx/
H A Ddri2.c65 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code);
95 switch ((wire->u.u.type & 0x7f) - info->codes->first_event) {
178 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code) argument
180 if (err->majorCode == codes->major_opcode &&
188 if (err->majorCode == codes->major_opcode &&
195 if (err->majorCode == codes->major_opcode &&
211 *eventBase = info->codes->first_event;
212 *errorBase = info->codes->first_error;
231 req->reqType = info->codes->major_opcode;
259 XESetWireToEvent (dpy, info->codes
[all...]
H A Dglxext.c90 static char *__glXErrorString(Display *dpy, int code, XExtCodes *codes,
115 switch ((wire->u.u.type & 0x7f) - glx_dpy->codes->first_event) {
262 __glXCloseDisplay(Display * dpy, XExtCodes * codes) argument
833 dpyPriv->codes = XInitExtension(dpy, __glXExtensionName);
834 if (!dpyPriv->codes) {
841 dpyPriv->majorOpcode = dpyPriv->codes->major_opcode;
857 XESetWireToEvent(dpy, dpyPriv->codes->first_event + i, __glXWireToEvent);
858 XESetEventToWire(dpy, dpyPriv->codes->first_event + i, __glXEventToWire);
861 XESetCloseDisplay(dpy, dpyPriv->codes->extension, __glXCloseDisplay);
862 XESetErrorString (dpy, dpyPriv->codes
[all...]
/external/chromium_org/third_party/zlib/
H A Dinflate.h72 Read deflate codes in fixed or dynamic block:
106 code const FAR *lencode; /* starting table for length/literal codes */
107 code const FAR *distcode; /* starting table for distance codes */
115 code FAR *next; /* next available space in codes[] */
118 code codes[ENOUGH]; /* space for code tables */ member in struct:inflate_state
/external/libvorbis/lib/
H A Dsharedbook.c340 ogg_uint32_t *codes=_make_words(s->lengthlist,s->entries,c->used_entries); local
343 if(codes==NULL)goto err_out;
346 codes[i]=bitreverse(codes[i]);
347 codep[i]=codes+i;
356 int position=codep[i]-codes;
361 c->codelist[sortindex[i]]=codes[i];
362 _ogg_free(codes);
/external/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dglxinit.c45 __glXCloseDisplay(Display * dpy, XExtCodes * codes) argument
611 found = XFindOnExtensionList(privList, info->codes->extension);
616 if (!QueryVersion(dpy, info->codes->major_opcode, &major, &minor))
635 dpyPriv->majorOpcode = info->codes->major_opcode;
649 private->number = info->codes->extension;
/external/mesa3d/src/glx/
H A Ddri2.c65 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code);
95 switch ((wire->u.u.type & 0x7f) - info->codes->first_event) {
178 DRI2Error(Display *display, xError *err, XExtCodes *codes, int *ret_code) argument
180 if (err->majorCode == codes->major_opcode &&
188 if (err->majorCode == codes->major_opcode &&
195 if (err->majorCode == codes->major_opcode &&
211 *eventBase = info->codes->first_event;
212 *errorBase = info->codes->first_error;
231 req->reqType = info->codes->major_opcode;
259 XESetWireToEvent (dpy, info->codes
[all...]
H A Dglxext.c90 static char *__glXErrorString(Display *dpy, int code, XExtCodes *codes,
115 switch ((wire->u.u.type & 0x7f) - glx_dpy->codes->first_event) {
262 __glXCloseDisplay(Display * dpy, XExtCodes * codes) argument
833 dpyPriv->codes = XInitExtension(dpy, __glXExtensionName);
834 if (!dpyPriv->codes) {
841 dpyPriv->majorOpcode = dpyPriv->codes->major_opcode;
857 XESetWireToEvent(dpy, dpyPriv->codes->first_event + i, __glXWireToEvent);
858 XESetEventToWire(dpy, dpyPriv->codes->first_event + i, __glXEventToWire);
861 XESetCloseDisplay(dpy, dpyPriv->codes->extension, __glXCloseDisplay);
862 XESetErrorString (dpy, dpyPriv->codes
[all...]

Completed in 1169 milliseconds

123