/external/openssl/crypto/engine/ |
D | eng_padlock.c | 909 size_t chunk, allocated=0; in padlock_aes_cipher() local 913 if ((chunk = ctx->num)) { /* borrow chunk variable */ in padlock_aes_cipher() 918 if (chunk >= AES_BLOCK_SIZE) in padlock_aes_cipher() 922 while (chunk<AES_BLOCK_SIZE && nbytes!=0) { in padlock_aes_cipher() 923 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_aes_cipher() 924 chunk++, nbytes--; in padlock_aes_cipher() 926 else while (chunk<AES_BLOCK_SIZE && nbytes!=0) { in padlock_aes_cipher() 928 *(out_arg++) = c ^ ivp[chunk]; in padlock_aes_cipher() 929 ivp[chunk++] = c, nbytes--; in padlock_aes_cipher() 932 ctx->num = chunk%AES_BLOCK_SIZE; in padlock_aes_cipher() [all …]
|
/external/bison/lib/ |
D | obstack.c | 158 register struct _obstack_chunk *chunk; /* points to new chunk */ in _obstack_begin() local 185 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin() 186 if (!chunk) in _obstack_begin() 188 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, in _obstack_begin() 190 h->chunk_limit = chunk->limit in _obstack_begin() 191 = (char *) chunk + h->chunk_size; in _obstack_begin() 192 chunk->prev = 0; in _obstack_begin() 205 register struct _obstack_chunk *chunk; /* points to new chunk */ in _obstack_begin_1() local 233 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin_1() 234 if (!chunk) in _obstack_begin_1() [all …]
|
D | obstack.h | 153 struct _obstack_chunk *chunk; /* address of current struct obstack_chunk */ member 286 (__o->chunk->prev == 0 \ 287 && __o->next_free == __PTR_ALIGN ((char *) __o->chunk, \ 288 __o->chunk->contents, \ 390 if (__o1->next_free - (char *)__o1->chunk \ 391 > __o1->chunk_limit - (char *)__o1->chunk) \ 400 if (__obj > (void *)__o->chunk && __obj < (void *)__o->chunk_limit) \ 413 ((h)->chunk->prev == 0 \ 414 && (h)->next_free == __PTR_ALIGN ((char *) (h)->chunk, \ 415 (h)->chunk->contents, \ [all …]
|
/external/webkit/WebCore/rendering/ |
D | SVGRootInlineBox.cpp | 268 info.chunk.boxes.clear(); in startTextChunk() 269 info.chunk.boxes.append(SVGInlineBoxCharacterRange()); in startTextChunk() 271 info.chunk.start = info.it; in startTextChunk() 277 ASSERT(!info.chunk.boxes.last().isOpen()); in closeTextChunk() 278 ASSERT(info.chunk.boxes.last().isClosed()); in closeTextChunk() 280 info.chunk.end = info.it; in closeTextChunk() 281 ASSERT(info.chunk.end >= info.chunk.start); in closeTextChunk() 283 info.svgTextChunks.append(info.chunk); in closeTextChunk() 663 static float cummulatedWidthOrHeightOfTextChunk(SVGTextChunk& chunk, bool calcWidthOnly) in cummulatedWidthOrHeightOfTextChunk() argument 666 Vector<SVGChar>::iterator charIt = chunk.start; in cummulatedWidthOrHeightOfTextChunk() [all …]
|
/external/sonivox/arm-fm-22k/host_src/ |
D | eas_wave.c | 298 } chunk; in WaveFileOpen() local 319 chunk.tag = chunk.size = 0; in WaveFileOpen() 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 336 if (chunk.tag != riffTag) in WaveFileOpen() 358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 365 if (chunk.tag != fmtTag) in WaveFileOpen() 366 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen() 378 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen() 385 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 392 if (chunk.tag != dataTag) in WaveFileOpen() [all …]
|
/external/sonivox/arm-hybrid-22k/host_src/ |
D | eas_wave.c | 298 } chunk; in WaveFileOpen() local 319 chunk.tag = chunk.size = 0; in WaveFileOpen() 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 336 if (chunk.tag != riffTag) in WaveFileOpen() 358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 365 if (chunk.tag != fmtTag) in WaveFileOpen() 366 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen() 378 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen() 385 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 392 if (chunk.tag != dataTag) in WaveFileOpen() [all …]
|
/external/sonivox/arm-wt-22k/host_src/ |
D | eas_wave.c | 298 } chunk; in WaveFileOpen() local 319 chunk.tag = chunk.size = 0; in WaveFileOpen() 332 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 336 if (chunk.tag != riffTag) in WaveFileOpen() 358 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 365 if (chunk.tag != fmtTag) in WaveFileOpen() 366 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen() 378 fseek(wFile->file, startChunkPos + (EAS_I32) chunk.size, SEEK_SET); in WaveFileOpen() 385 if (fread(&chunk, sizeof(chunk), 1, wFile->file) != 1) in WaveFileOpen() 392 if (chunk.tag != dataTag) in WaveFileOpen() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/audio/ |
D | SDL_wave.c | 30 static int ReadChunk(SDL_RWops *src, Chunk *chunk); 400 Chunk chunk; in SDL_LoadWAV_RW() local 439 chunk.data = NULL; in SDL_LoadWAV_RW() 441 if ( chunk.data != NULL ) { in SDL_LoadWAV_RW() 442 SDL_free(chunk.data); in SDL_LoadWAV_RW() 444 lenread = ReadChunk(src, &chunk); in SDL_LoadWAV_RW() 451 } while ( (chunk.magic == FACT) || (chunk.magic == LIST) ); in SDL_LoadWAV_RW() 454 format = (WaveFMT *)chunk.data; in SDL_LoadWAV_RW() 455 if ( chunk.magic != FMT ) { in SDL_LoadWAV_RW() 526 lenread = ReadChunk(src, &chunk); in SDL_LoadWAV_RW() [all …]
|
/external/openssl/crypto/md4/ |
D | md4_one.c | 81 unsigned long chunk; in MD4() local 85 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD4() 86 ebcdic2ascii(temp, d, chunk); in MD4() 87 MD4_Update(&c,temp,chunk); in MD4() 88 n -= chunk; in MD4() 89 d += chunk; in MD4()
|
/external/openssl/crypto/md5/ |
D | md5_one.c | 81 unsigned long chunk; in MD5() local 85 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD5() 86 ebcdic2ascii(temp, d, chunk); in MD5() 87 MD5_Update(&c,temp,chunk); in MD5() 88 n -= chunk; in MD5() 89 d += chunk; in MD5()
|
/external/srec/srec/EventLog/src/ |
D | riff.c | 460 ChunkContext chunk, list_chunk; in readSwiChunk() local 465 strncpy(chunk.tag, "swi ", 4); in readSwiChunk() 466 if (riffDescend(f, &chunk, parent, FIND_LIST, doSwap) == ESR_SUCCESS) in readSwiChunk() 470 if (riffDescend(f, &list_chunk, &chunk, FIND_CHUNK, doSwap) == ESR_SUCCESS) in readSwiChunk() 497 if (riffDescend(f, &list_chunk, &chunk, FIND_CHUNK, doSwap) == ESR_SUCCESS) in readSwiChunk() 559 ChunkContext chunk, parent; in riffReadWave2L16() local 575 strncpy(chunk.tag, "fmt ", 4); in riffReadWave2L16() 576 if (riffDescend(f, &chunk, &parent, FIND_CHUNK, doSwap) != ESR_SUCCESS) in riffReadWave2L16() 581 if (chunk.length < sizeof(WaveFormat)) in riffReadWave2L16() 584 wf = MALLOC(chunk.length, MTAG); in riffReadWave2L16() [all …]
|
/external/qemu/ |
D | block-dmg.c | 204 uint32_t chunk = search_chunk(s,sector_num); in dmg_read_chunk() local 206 if(chunk>=s->n_chunks) in dmg_read_chunk() 210 switch(s->types[chunk]) { in dmg_read_chunk() 214 ret = lseek(s->fd, s->offsets[chunk], SEEK_SET); in dmg_read_chunk() 222 ret = read(s->fd, s->compressed_chunk+i, s->lengths[chunk]-i); in dmg_read_chunk() 226 } while(ret>=0 && ret+i<s->lengths[chunk]); in dmg_read_chunk() 228 if (ret != s->lengths[chunk]) in dmg_read_chunk() 232 s->zstream.avail_in = s->lengths[chunk]; in dmg_read_chunk() 234 s->zstream.avail_out = 512*s->sectorcounts[chunk]; in dmg_read_chunk() 239 if(ret != Z_STREAM_END || s->zstream.total_out != 512*s->sectorcounts[chunk]) in dmg_read_chunk() [all …]
|
/external/openssl/apps/ |
D | rand.c | 205 int chunk; in MAIN() local 207 chunk = num; in MAIN() 208 if (chunk > (int)sizeof(buf)) in MAIN() 209 chunk = sizeof buf; in MAIN() 210 r = RAND_bytes(buf, chunk); in MAIN() 213 BIO_write(out, buf, chunk); in MAIN() 214 num -= chunk; in MAIN()
|
/external/apache-http/src/org/apache/http/impl/io/ |
D | AbstractSessionOutputBuffer.java | 155 int chunk = this.buffer.capacity() - this.buffer.length(); in writeLine() local 156 chunk = Math.min(chunk, remaining); in writeLine() 157 if (chunk > 0) { in writeLine() 158 this.buffer.append(s, off, chunk); in writeLine() 163 off += chunk; in writeLine() 164 remaining -= chunk; in writeLine()
|
D | AbstractSessionInputBuffer.java | 139 int chunk = this.bufferlen - this.bufferpos; in read() local 140 if (chunk > len) { in read() 141 chunk = len; in read() 143 System.arraycopy(this.buffer, this.bufferpos, b, off, chunk); in read() 144 this.bufferpos += chunk; in read() 145 return chunk; in read()
|
/external/zlib/examples/ |
D | gun.c | 171 if (chunk > have) { \ 172 chunk -= have; \ 176 chunk--; \ 177 if (chunk > have) { \ 178 chunk = have = 0; \ 182 have -= chunk; \ 183 next += chunk; \ 184 chunk = 0; \ 200 int chunk; /* bytes left in current chunk */ in lunpipe() local 255 chunk = bits - 2; /* 7 bytes left in this chunk */ in lunpipe() [all …]
|
/external/openssl/crypto/bio/ |
D | bss_bio.c | 238 size_t chunk; in bio_read() local 242 chunk = rest; in bio_read() 245 chunk = peer_b->size - peer_b->offset; in bio_read() 246 assert(peer_b->offset + chunk <= peer_b->size); in bio_read() 248 memcpy(buf, peer_b->buf + peer_b->offset, chunk); in bio_read() 250 peer_b->len -= chunk; in bio_read() 253 peer_b->offset += chunk; in bio_read() 257 buf += chunk; in bio_read() 262 assert(chunk == rest); in bio_read() 265 rest -= chunk; in bio_read() [all …]
|
/external/yaffs2/yaffs2/ |
D | yaffs_checkptrw.c | 102 int chunk = i * dev->nChunksPerBlock; in yaffs_CheckpointFindNextCheckpointBlock() local 104 dev->readChunkWithTagsFromNAND(dev,chunk,NULL,&tags); in yaffs_CheckpointFindNextCheckpointBlock() 178 int chunk; in yaffs_CheckpointFlushBuffer() local 203 chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + dev->checkpointCurrentChunk; in yaffs_CheckpointFlushBuffer() 205 dev->writeChunkWithTagsToNAND(dev,chunk,dev->checkpointBuffer,&tags); in yaffs_CheckpointFlushBuffer() 259 int chunk; in yaffs_CheckpointRead() local 281 chunk = dev->checkpointCurrentBlock * dev->nChunksPerBlock + in yaffs_CheckpointRead() 286 dev->readChunkWithTagsFromNAND(dev, chunk, in yaffs_CheckpointRead()
|
D | yaffs_guts.c | 116 static void yaffs_AddrToChunk(yaffs_Device *dev, loff_t addr, __u32 *chunk, __u32 *offset) in yaffs_AddrToChunk() argument 120 *chunk = (__u32)(addr >> dev->chunkShift); in yaffs_AddrToChunk() 128 *chunk = ((__u32)addr)/dev->crumbsPerChunk; in yaffs_AddrToChunk() 129 *offset += ((addr - (*chunk * dev->crumbsPerChunk)) << dev->crumbShift); in yaffs_AddrToChunk() 291 static Y_INLINE void yaffs_ClearChunkBit(yaffs_Device * dev, int blk, int chunk) in yaffs_ClearChunkBit() argument 295 blkBits[chunk / 8] &= ~(1 << (chunk & 7)); in yaffs_ClearChunkBit() 298 static Y_INLINE void yaffs_SetChunkBit(yaffs_Device * dev, int blk, int chunk) in yaffs_SetChunkBit() argument 302 blkBits[chunk / 8] |= (1 << (chunk & 7)); in yaffs_SetChunkBit() 305 static Y_INLINE int yaffs_CheckChunkBit(yaffs_Device * dev, int blk, int chunk) in yaffs_CheckChunkBit() argument 308 return (blkBits[chunk / 8] & (1 << (chunk & 7))) ? 1 : 0; in yaffs_CheckChunkBit() [all …]
|
/external/opencore/fileformats/mp4/parser/src/ |
D | sampletableatom.cpp | 525 int32 chunk = _psampleToChunkAtom->getChunkNumberForSampleGet(sampleNum); in getSample() local 545 int32 offset = _pchunkOffsetAtom->getChunkOffsetAt(chunk); in getSample() 702 int32 chunk = in getKeyMediaSampleNumAt() local 706 int32 first = _psampleToChunkAtom->getFirstSampleNumInChunk(chunk); in getKeyMediaSampleNumAt() 709 int32 offset = _pchunkOffsetAtom->getChunkOffsetAt(chunk); in getKeyMediaSampleNumAt() 775 int32 chunk = in getKeyMediaSampleNumAt() local 785 int32 offset = _pchunkOffsetAtom->getChunkOffsetAt(chunk); in getKeyMediaSampleNumAt() 905 int32 chunk = in getPrevKeyMediaSample() local 909 int32 first = _psampleToChunkAtom->getFirstSampleNumInChunk(chunk); in getPrevKeyMediaSample() 912 int32 offset = _pchunkOffsetAtom->getChunkOffsetAt(chunk); in getPrevKeyMediaSample() [all …]
|
/external/iptables/extensions/ |
D | libipt_sctp.man | 6 \fB--chunk-types\fR [\fB!\fR] \fBall\fR|\fBany\fR|\fBonly \fIchunktype\fR[\fB:\fIflags\fR] [...] 12 chunk type available flags 26 iptables -A INPUT -p sctp --chunk-types any DATA,INIT -j DROP 28 iptables -A INPUT -p sctp --chunk-types any DATA:Be -j ACCEPT
|
/external/libxml2/ |
D | DOCBparser.c | 111 const char *chunk ATTRIBUTE_UNUSED, in docbParseChunk() 123 return (xmlParseChunk(ctxt, chunk, size, terminate)); in docbParseChunk() 145 const char *chunk ATTRIBUTE_UNUSED, in docbCreatePushParserCtxt() 158 return(xmlCreatePushParserCtxt(sax, user_data, chunk, size, filename)); in docbCreatePushParserCtxt()
|
/external/dbus/tools/ |
D | dbus-launch.c | 154 ssize_t chunk; in read_line() local 163 chunk = read (fd, in read_line() 166 if (chunk < 0 && errno == EINTR) in read_line() 169 if (chunk < 0) in read_line() 174 else if (chunk == 0) in read_line() 180 bytes += chunk; in read_line() 207 ssize_t chunk; in read_pid() local 216 chunk = read (fd, in read_pid() 219 if (chunk < 0 && errno == EINTR) in read_pid() 222 if (chunk < 0) in read_pid() [all …]
|
/external/qemu/audio/ |
D | esdaudio.c | 164 int chunk = audio_MIN (to_mix, hw->samples - rpos); in qesd_thread_out() local 167 hw->clip (esd->pcm_buf, src, chunk); in qesd_thread_out() 170 written = write (esd->fd, esd->pcm_buf, chunk << hw->info.shift); in qesd_thread_out() 180 if (written != chunk << hw->info.shift) { in qesd_thread_out() 193 rpos = (rpos + chunk) % hw->samples; in qesd_thread_out() 194 to_mix -= chunk; in qesd_thread_out() 397 int chunk = audio_MIN (to_grab, hw->samples - wpos); in qesd_thread_in() local 401 nread = read (esd->fd, buf, chunk << hw->info.shift); in qesd_thread_in() 410 if (nread != chunk << hw->info.shift) { in qesd_thread_in() 425 wpos = (wpos + chunk) % hw->samples; in qesd_thread_in() [all …]
|
/external/qemu/distrib/sdl-1.2.12/src/cdrom/macosx/ |
D | AudioFilePlayer.c | 238 ChunkHeader chunk; in AudioFilePlayer_OpenFile() local 274 result = FSReadFork(afp->mForkRefNum, fsFromMark, offset, sizeof(chunk), &chunk, &actual); in AudioFilePlayer_OpenFile() 278 offset = chunk.ckSize; in AudioFilePlayer_OpenFile() 279 } while (chunk.ckID != 'SSND'); in AudioFilePlayer_OpenFile() 290 *outFileDataSize = chunk.ckSize - ssndData.offset - 8; in AudioFilePlayer_OpenFile()
|