/external/webkit/WebCore/platform/image-decoders/zlib/ |
D | inflate.c | 95 local void fixedtables OF((struct inflate_state FAR *state)); 106 struct inflate_state FAR *state; local 108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; 109 state = (struct inflate_state FAR *)strm->state; 110 strm->total_in = strm->total_out = state->total = 0; 113 state->mode = HEAD; 114 state->last = 0; 115 state->havedict = 0; 116 state->dmax = 32768U; 117 state->head = Z_NULL; [all …]
|
D | infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state)); 35 struct inflate_state FAR *state; local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 51 if (state == Z_NULL) return Z_MEM_ERROR; 53 strm->state = (struct internal_state FAR *)state; 54 state->dmax = 32768U; 55 state->wbits = windowBits; 56 state->wsize = 1U << windowBits; 57 state->window = window; 58 state->write = 0; [all …]
|
/external/qemu/distrib/zlib-1.2.3/ |
D | inflate.c | 95 local void fixedtables OF((struct inflate_state FAR *state)); 106 struct inflate_state FAR *state; local 108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; 109 state = (struct inflate_state FAR *)strm->state; 110 strm->total_in = strm->total_out = state->total = 0; 113 state->mode = HEAD; 114 state->last = 0; 115 state->havedict = 0; 116 state->dmax = 32768U; 117 state->head = Z_NULL; [all …]
|
D | infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state)); 35 struct inflate_state FAR *state; local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 51 if (state == Z_NULL) return Z_MEM_ERROR; 53 strm->state = (struct internal_state FAR *)state; 54 state->dmax = 32768U; 55 state->wbits = windowBits; 56 state->wsize = 1U << windowBits; 57 state->window = window; 58 state->write = 0; [all …]
|
/external/zlib/ |
D | inflate.c | 95 local void fixedtables OF((struct inflate_state FAR *state)); 106 struct inflate_state FAR *state; local 108 if (strm == Z_NULL || strm->state == Z_NULL) return Z_STREAM_ERROR; 109 state = (struct inflate_state FAR *)strm->state; 110 strm->total_in = strm->total_out = state->total = 0; 113 state->mode = HEAD; 114 state->last = 0; 115 state->havedict = 0; 116 state->dmax = 32768U; 117 state->head = Z_NULL; [all …]
|
D | infback.c | 19 local void fixedtables OF((struct inflate_state FAR *state)); 35 struct inflate_state FAR *state; local 49 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 51 if (state == Z_NULL) return Z_MEM_ERROR; 53 strm->state = (struct internal_state FAR *)state; 54 state->dmax = 32768U; 55 state->wbits = windowBits; 56 state->wsize = 1U << windowBits; 57 state->window = window; 58 state->write = 0; [all …]
|
/external/dhcpcd/ |
D | client.c | 138 int state; member 189 daemonise(struct if_state *state, const struct options *options) in daemonise() argument 197 if (state->options & DHCPCD_DAEMONISED || in daemonise() 236 writepid(*state->pid_fd, pid); in daemonise() 237 close(*state->pid_fd); in daemonise() 238 *state->pid_fd = -1; in daemonise() 243 state->options |= DHCPCD_DAEMONISED; in daemonise() 244 timerclear(&state->exit); in daemonise() 247 state->options |= DHCPCD_PERSISTENT | DHCPCD_FORKED; in daemonise() 387 get_old_lease(struct if_state *state) in get_old_lease() argument [all …]
|
/external/libpcap/missing/ |
D | snprintf.c | 66 struct state { struct 72 int (*append_char)(struct state *, unsigned char); argument 73 int (*reserve)(struct state *, size_t); argument 79 sn_reserve (struct state *state, size_t n) in sn_reserve() argument 81 return state->s + n > state->theend; in sn_reserve() 85 sn_append_char (struct state *state, unsigned char c) in sn_append_char() argument 87 if (sn_reserve (state, 1)) { in sn_append_char() 90 *state->s++ = c; in sn_append_char() 98 as_reserve (struct state *state, size_t n) 100 if (state->s + n > state->theend) { [all …]
|
/external/tcpdump/missing/ |
D | snprintf.c | 66 struct state { struct 72 int (*append_char)(struct state *, unsigned char); argument 73 int (*reserve)(struct state *, size_t); argument 79 sn_reserve (struct state *state, size_t n) in sn_reserve() argument 81 return state->s + n > state->theend; in sn_reserve() 85 sn_append_char (struct state *state, unsigned char c) in sn_append_char() argument 87 if (sn_reserve (state, 1)) { in sn_append_char() 90 *state->s++ = c; in sn_append_char() 98 as_reserve (struct state *state, size_t n) 100 if (state->s + n > state->theend) { [all …]
|
/external/expat/lib/ |
D | xmlrole.c | 87 #define setTopLevel(state) \ argument 88 ((state)->handler = ((state)->documentEntity \ 92 #define setTopLevel(state) ((state)->handler = internalSubset) argument 95 typedef int PTRCALL PROLOG_HANDLER(PROLOG_STATE *state, 119 static int FASTCALL common(PROLOG_STATE *state, int tok); 122 prolog0(PROLOG_STATE *state, in prolog0() argument 130 state->handler = prolog1; in prolog0() 133 state->handler = prolog1; in prolog0() 136 state->handler = prolog1; in prolog0() 139 state->handler = prolog1; in prolog0() [all …]
|
/external/icu4c/common/ |
D | rbbicst.pl | 169 for ($state=1; $state < $num_states; $state++) { 170 if ($state_char_class[$state] ne "") { 171 if ($charClasses{$state_char_class[$state]} == 0) { 172 $charClasses{$state_char_class[$state]} = 1; 175 if ($state_func_name[$state] eq "") { 176 $state_func_name[$state] = "doNOP"; 178 if ($actions{$state_action_name[$state]} == 0) { 179 $actions{$state_func_name[$state]} = 1; 188 for ($state=1; $state<$num_states; $state++) { 189 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") { [all …]
|
/external/icu4c/i18n/ |
D | regexcst.pl | 170 for ($state=1; $state < $num_states; $state++) { 171 if ($state_char_class[$state] ne "") { 172 if ($charClasses{$state_char_class[$state]} == 0) { 173 $charClasses{$state_char_class[$state]} = 1; 176 if ($state_func_name[$state] eq "") { 177 $state_func_name[$state] = "doNOP"; 179 if ($actions{$state_action_name[$state]} == 0) { 180 $actions{$state_func_name[$state]} = 1; 189 for ($state=1; $state<$num_states; $state++) { 190 if ($states{$state_dest_state[$state]} == 0 && $state_dest_state[$state] ne "exit") { [all …]
|
/external/opencore/codecs_v2/audio/sbc/enc/src/ |
D | sbc_encoder.cpp | 41 if (NULL != (config->state = (enc_state_t *) oscl_malloc(sizeof(enc_state_t)))) in encoder_init() 43 oscl_memset(config->state, 0, sizeof(enc_state_t)); in encoder_init() 81 if (config->state) in encoder_delete() 82 oscl_free(config->state); in encoder_delete() 95 enc_state_t *state; in encoder_execute() local 100 state = (enc_state_t *)config->state; in encoder_execute() 102 if (!state->init) in encoder_execute() 107 state->sbc.sf_index = SF_16; in encoder_execute() 110 state->sbc.sf_index = SF_32; in encoder_execute() 113 state->sbc.sf_index = SF_44; in encoder_execute() [all …]
|
/external/webkit/WebCore/html/ |
D | HTMLTokenizer.cpp | 283 HTMLTokenizer::State HTMLTokenizer::processListing(SegmentedString list, State state) in processListing() argument 288 if (state.skipLF()) { in processListing() 289 state.setSkipLF(false); in processListing() 299 if (state.discardLF()) in processListing() 301 state.setDiscardLF(false); // We have discarded 1 LF in processListing() 307 state.setSkipLF(true); in processListing() 311 state.setDiscardLF(false); in processListing() 317 return state; in processListing() 320 HTMLTokenizer::State HTMLTokenizer::parseSpecial(SegmentedString& src, State state) in parseSpecial() argument 322 ASSERT(state.inTextArea() || state.inTitle() || state.inIFrame() || !state.hasEntityState()); in parseSpecial() [all …]
|
/external/dropbear/libtomcrypt/src/mac/pmac/ |
D | pmac_done.c | 20 int pmac_done(pmac_state *state, unsigned char *out, unsigned long *outlen) in pmac_done() argument 24 LTC_ARGCHK(state != NULL); in pmac_done() 26 if ((err = cipher_is_valid(state->cipher_idx)) != CRYPT_OK) { in pmac_done() 30 if ((state->buflen > (int)sizeof(state->block)) || (state->buflen < 0) || in pmac_done() 31 (state->block_len > (int)sizeof(state->block)) || (state->buflen > state->block_len)) { in pmac_done() 38 if (state->buflen == state->block_len) { in pmac_done() 40 for (x = 0; x < state->block_len; x++) { in pmac_done() 41 state->checksum[x] ^= state->block[x] ^ state->Lr[x]; in pmac_done() 45 for (x = 0; x < state->buflen; x++) { in pmac_done() 46 state->checksum[x] ^= state->block[x]; in pmac_done() [all …]
|
/external/speex/libspeex/ |
D | speex.c | 61 EXPORT void speex_encoder_destroy(void *state) in speex_encoder_destroy() argument 63 (*((SpeexMode**)state))->enc_destroy(state); in speex_encoder_destroy() 66 EXPORT void speex_decoder_destroy(void *state) in speex_decoder_destroy() argument 68 (*((SpeexMode**)state))->dec_destroy(state); in speex_decoder_destroy() 73 int speex_encode_native(void *state, spx_word16_t *in, SpeexBits *bits) in speex_encode_native() argument 75 return (*((SpeexMode**)state))->enc(state, in, bits); in speex_encode_native() 78 int speex_decode_native(void *state, SpeexBits *bits, spx_word16_t *out) in speex_decode_native() argument 80 return (*((SpeexMode**)state))->dec(state, bits, out); in speex_decode_native() 88 EXPORT int speex_encode(void *state, float *in, SpeexBits *bits) in speex_encode() argument 93 speex_encoder_ctl(state, SPEEX_GET_FRAME_SIZE, &N); in speex_encode() [all …]
|
/external/webkit/WebCore/dom/ |
D | TreeWalker.cpp | 57 Node* TreeWalker::parentNode(ScriptState* state) in parentNode() argument 64 short acceptNodeResult = acceptNode(state, node.get()); in parentNode() 65 if (state && state->hadException()) in parentNode() 73 Node* TreeWalker::firstChild(ScriptState* state) in firstChild() argument 76 short acceptNodeResult = acceptNode(state, node.get()); in firstChild() 77 if (state && state->hadException()) in firstChild() 106 Node* TreeWalker::lastChild(ScriptState* state) in lastChild() argument 109 short acceptNodeResult = acceptNode(state, node.get()); in lastChild() 110 if (state && state->hadException()) in lastChild() 139 Node* TreeWalker::previousSibling(ScriptState* state) in previousSibling() argument [all …]
|
/external/zlib/contrib/infback9/ |
D | infback9.c | 25 struct inflate_state FAR *state; local 38 state = (struct inflate_state FAR *)ZALLOC(strm, 1, 40 if (state == Z_NULL) return Z_MEM_ERROR; 42 strm->state = (voidpf)state; 43 state->window = window; 58 struct inflate_state state; in makefixed9() local 63 while (sym < 144) state.lens[sym++] = 8; in makefixed9() 64 while (sym < 256) state.lens[sym++] = 9; in makefixed9() 65 while (sym < 280) state.lens[sym++] = 7; in makefixed9() 66 while (sym < 288) state.lens[sym++] = 8; in makefixed9() [all …]
|
/external/opencore/codecs_v2/audio/gsm_amr/amr_nb/dec/src/ |
D | ph_disp.cpp | 208 Word16 ph_disp_reset(ph_dispState *state) in ph_disp_reset() argument 212 if (state == (ph_dispState *) NULL) in ph_disp_reset() 219 state->gainMem[i] = 0; in ph_disp_reset() 221 state->prevState = 0; in ph_disp_reset() 222 state->prevCbGain = 0; in ph_disp_reset() 223 state->lockFull = 0; in ph_disp_reset() 224 state->onset = 0; /* assume no onset in start */ in ph_disp_reset() 299 void ph_disp_lock(ph_dispState *state) in ph_disp_lock() argument 301 state->lockFull = 1; in ph_disp_lock() 376 void ph_disp_release(ph_dispState *state) in ph_disp_release() argument [all …]
|
/external/elfutils/src/ |
D | ld.h | 280 #define LIB_EXTENSION(state) \ argument 281 DL_CALL_FCT ((state)->callbacks.lib_extensions, (state)) 291 #define FILE_PROCESS(fd, file, state, nextp) \ argument 292 DL_CALL_FCT ((state)->callbacks.file_process, (fd, file, state, nextp)) 296 #define FILE_CLOSE(file, state) \ argument 297 DL_CALL_FCT ((state)->callbacks.file_close, (file, state)) 308 #define CREATE_SECTIONS(state) \ argument 309 DL_CALL_FCT ((state)->callbacks.create_sections, (state)) 313 #define FLAG_UNRESOLVED(state) \ argument 314 DL_CALL_FCT ((state)->callbacks.flag_unresolved, (state)) [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
D | SDL_wave.c | 44 struct MS_ADPCM_decodestate state[2]; member 83 static Sint32 MS_ADPCM_nibble(struct MS_ADPCM_decodestate *state, in MS_ADPCM_nibble() argument 94 new_sample = ((state->iSamp1 * coeff[0]) + in MS_ADPCM_nibble() 95 (state->iSamp2 * coeff[1]))/256; in MS_ADPCM_nibble() 97 new_sample += state->iDelta * (nybble-0x10); in MS_ADPCM_nibble() 99 new_sample += state->iDelta * nybble; in MS_ADPCM_nibble() 107 delta = ((Sint32)state->iDelta * adaptive[nybble])/256; in MS_ADPCM_nibble() 111 state->iDelta = (Uint16)delta; in MS_ADPCM_nibble() 112 state->iSamp2 = state->iSamp1; in MS_ADPCM_nibble() 113 state->iSamp1 = (Sint16)new_sample; in MS_ADPCM_nibble() [all …]
|
/external/elfutils/libelf/ |
D | elf_begin.c | 52 elf->state.ar.offset = offset + SARMAG; in file_read_ar() 54 elf->state.ar.elf_ar_hdr.ar_rawname = elf->state.ar.raw_name; in file_read_ar() 235 elf->state.elf.scnincr = 10; in file_read_elf() 245 elf->state.elf32.scns.cnt = elf->state.elf32.scns.max = scncnt; in file_read_elf() 257 elf->state.elf32.ehdr = in file_read_elf() 259 elf->state.elf32.shdr = in file_read_elf() 261 + elf->state.elf32.ehdr->e_shoff); in file_read_elf() 262 if (elf->state.elf32.ehdr->e_phnum) in file_read_elf() 265 elf->state.elf32.phdr in file_read_elf() 267 + elf->state.elf32.ehdr->e_phoff); in file_read_elf() [all …]
|
D | elf_newscn.c | 43 assert (offsetof (Elf, state.elf.scns_last) 44 == offsetof (Elf, state.elf32.scns_last)); 45 assert (offsetof (Elf, state.elf.scns_last) 46 == offsetof (Elf, state.elf64.scns_last)); 47 assert (offsetof (Elf, state.elf32.scns) 48 == offsetof (Elf, state.elf64.scns)); 53 if (elf->state.elf.scns_last->cnt < elf->state.elf.scns_last->max) 55 result = &elf->state.elf.scns_last->data[elf->state.elf.scns_last->cnt]; 57 if (++elf->state.elf.scns_last->cnt == 1 58 && (elf->state.elf.scns_last [all …]
|
D | elf_end.c | 59 free (elf->state.ar.ar_sym); 60 elf->state.ar.ar_sym = NULL; 62 if (elf->state.ar.children != NULL) 79 if (parent->state.ar.children == elf) 80 parent->state.ar.children = elf->next; 83 struct Elf *child = parent->state.ar.children; 98 if (elf->state.ar.long_names != NULL) 99 free (elf->state.ar.long_names); 105 || (offsetof (struct Elf, state.elf32.scns) 106 == offsetof (struct Elf, state.elf64.scns)) [all …]
|
/external/ppp/pppd/ |
D | fsm.c | 83 f->state = INITIAL; 101 switch( f->state ){ 103 f->state = CLOSED; 108 f->state = STOPPED; 112 f->state = REQSENT; 117 FSMDEBUG(("%s: Up event in state %d!", PROTO_NAME(f), f->state)); 131 switch( f->state ){ 133 f->state = INITIAL; 137 f->state = STARTING; 143 f->state = INITIAL; [all …]
|