Home
last modified time | relevance | path

Searched refs:offs (Results 1 – 25 of 92) sorted by relevance

1234

/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
Dgenlingware.pl273 $offs = 0;
284 $offs += print_offs(@svoxheader);
286 print "offset after svoxheader: $offs\n";
301 $fill = ($offs + 2 + $len) % 4;
308 $offs += &print_uint16($len); #write little-endian 16-bit cardinal
309 print "offset after length of header: $offs\n";
312 $offs += &print_uint8(@fields+0);
313 print "offset after number of fields: $offs\n";
316 $offs += print_offs($fieldheader);
317 print "offset after fields: $offs\n";
[all …]
/external/svox/pico/lib/
Dpicokfst.c148 picoos_int32 offs; in kfstInitialize() local
169 BytesToNum(kfst->fstStream,& curpos,& offs); in kfstInitialize()
170 kfst->alphaHashTabPos = kfst->hdrLen + offs; in kfstInitialize()
172 BytesToNum(kfst->fstStream,& curpos,& offs); in kfstInitialize()
173 kfst->transTabPos = kfst->hdrLen + offs; in kfstInitialize()
174 BytesToNum(kfst->fstStream,& curpos,& offs); in kfstInitialize()
175 kfst->inEpsStateTabPos = kfst->hdrLen + offs; in kfstInitialize()
176 BytesToNum(kfst->fstStream,& curpos,& offs); in kfstInitialize()
177 kfst->accStateTabPos = kfst->hdrLen + offs; in kfstInitialize()
276 picoos_int32 offs; in picokfst_kfstStartPairSearch() local
[all …]
/external/deqp/framework/delibs/decpp/
DdePoolArray.hpp134 const T& operator[] (deUintptr offs) const throw() { return (*m_array)[this->m_ndx+offs]; } in operator []()
145 …PoolArrayConstIterator<T, Alignment>& operator+= (deIntptr offs) { this->m_ndx += offs; return *th… in operator +=() argument
146 …PoolArrayConstIterator<T, Alignment>& operator-= (deIntptr offs) { this->m_ndx -= offs; return *th… in operator -=() argument
170 T& operator[] (deUintptr offs) const throw() { return (*m_array)[this->m_ndx+offs]; } in operator []()
181 PoolArrayIterator<T, Alignment>& operator+= (deIntptr offs) { this->m_ndx += offs; return *this; } in operator +=() argument
182 PoolArrayIterator<T, Alignment>& operator-= (deIntptr offs) { this->m_ndx -= offs; return *this; } in operator -=() argument
447 …tIterator<T, Alignment> operator+ (const PoolArrayConstIterator<T, Alignment>& iter, deIntptr offs) in operator +() argument
449 return PoolArrayConstIterator<T, Alignment>(iter->getArray(), iter->getNdx()+offs); in operator +()
453 inline PoolArrayConstIterator<T, Alignment> operator+ (deUintptr offs, const PoolArrayConstIterator… in operator +() argument
455 return PoolArrayConstIterator<T, Alignment>(iter->getArray(), iter->getNdx()+offs); in operator +()
[all …]
/external/vboot_reference/firmware/2lib/
D2common.c36 uintptr_t offs = p & (align - 1); in vb2_align() local
38 if (offs) { in vb2_align()
39 offs = align - offs; in vb2_align()
41 if (*size < offs) in vb2_align()
44 *ptr += offs; in vb2_align()
45 *size -= offs; in vb2_align()
D2nvstorage.c73 #define GETBIT(offs, mask) (p[offs] & mask ? 1 : 0) argument
164 #define SETBIT(offs, mask) \ argument
165 { if (value) p[offs] |= mask; else p[offs] &= ~mask; }
/external/iw/
Dwowlan.c112 char *len, *offs, *start; in wowlan_parse_tcp_file() local
115 offs = strchr(len, ','); in wowlan_parse_tcp_file()
116 if (!offs) in wowlan_parse_tcp_file()
118 *offs = 0; in wowlan_parse_tcp_file()
119 offs++; in wowlan_parse_tcp_file()
120 start = strchr(offs, ','); in wowlan_parse_tcp_file()
127 seq.offset = atoi(offs); in wowlan_parse_tcp_file()
134 char *len, *offs, *toks; in wowlan_parse_tcp_file() local
138 offs = strchr(len, ','); in wowlan_parse_tcp_file()
139 if (!offs) in wowlan_parse_tcp_file()
[all …]
/external/libopus/celt/
Dentenc.c61 if(_this->offs+_this->end_offs>=_this->storage)return -1; in ec_write_byte()
62 _this->buf[_this->offs++]=(unsigned char)_value; in ec_write_byte()
67 if(_this->offs+_this->end_offs>=_this->storage)return -1; in ec_write_byte_at_end()
119 _this->offs=0; in ec_enc_init()
220 if(_this->offs>0){ in ec_enc_patch_initial_bits()
238 celt_assert(_this->offs+_this->end_offs<=_size); in ec_enc_shrink()
277 OPUS_CLEAR(_this->buf+_this->offs, in ec_enc_done()
278 _this->storage-_this->offs-_this->end_offs); in ec_enc_done()
286 if(_this->offs+_this->end_offs>=_this->storage&&l<used){ in ec_enc_done()
Dentcode.h71 opus_uint32 offs; member
88 return _this->offs; in ec_range_bytes()
/external/clang/lib/Edit/
DEditedSource.cpp320 SourceLocation Loc, FileOffset offs, in adjustRemoval() argument
328 StringRef buffer = SM.getBufferData(offs.getFID(), &Invalid); in adjustRemoval()
332 unsigned begin = offs.getOffset(); in adjustRemoval()
365 StringRef text, FileOffset offs, unsigned len, in applyRewrite() argument
367 assert(offs.getFID().isValid()); in applyRewrite()
368 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite()
369 Loc = Loc.getLocWithOffset(offs.getOffset()); in applyRewrite()
373 adjustRemoval(SM, LangOpts, Loc, offs, len, text); in applyRewrite()
406 FileOffset offs = I->first; in applyRewrites() local
408 assert(offs >= CurEnd); in applyRewrites()
[all …]
DCommit.cpp220 bool Commit::canInsert(SourceLocation loc, FileOffset &offs) { in canInsert() argument
241 offs = FileOffset(locInfo.first, locInfo.second); in canInsert()
242 return canInsertInOffset(loc, offs); in canInsert()
245 bool Commit::canInsertAfterToken(SourceLocation loc, FileOffset &offs, in canInsertAfterToken() argument
276 offs = FileOffset(locInfo.first, locInfo.second); in canInsertAfterToken()
277 return canInsertInOffset(loc, offs); in canInsertAfterToken()
/external/opencv3/3rdparty/zlib/
Dinftrees.c59 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local
141 offs[1] = 0;
143 offs[len + 1] = offs[len] + count[len];
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
/external/zlib/src/
Dinftrees.c59 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local
141 offs[1] = 0;
143 offs[len + 1] = offs[len] + count[len];
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
/external/pdfium/third_party/zlib_v128/
Dinftrees.c59 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ in inflate_table() local
141 offs[1] = 0; in inflate_table()
143 offs[len + 1] = offs[len] + count[len]; in inflate_table()
147 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym; in inflate_table()
/external/zlib/src/contrib/infback9/
Dinftree9.c59 unsigned short offs[MAXBITS+1]; /* offsets in table for each length */ local
135 offs[1] = 0;
137 offs[len + 1] = offs[len] + count[len];
141 if (lens[sym] != 0) work[offs[lens[sym]]++] = (unsigned short)sym;
/external/libvncserver/webclients/novnc/include/
Djsunzip.js305 var offs = new Array(16);
319 offs[i] = sum;
326 if (lengths[loffset + i]) t.trans[offs[lengths[loffset + i]]++] = i;
505 var length, dist, offs;
516 offs = d.history.length - this.read_bits(d, this.dist_bits[dist], this.dist_base[dist]);
518 if (offs < 0)
519 throw ("Invalid zlib offset " + offs);
522 for (i = offs; i < offs + length; ++i) {
/external/vboot_reference/host/arch/x86_64/lib/
Dcrossystem_arch.c123 static int VbCmosRead(unsigned offs, size_t size, void *ptr) { in VbCmosRead() argument
131 if (0 != fseek(f, offs, SEEK_SET)) { in VbCmosRead()
147 static int VbCmosWrite(unsigned offs, size_t size, const void *ptr) { in VbCmosWrite() argument
155 if (0 != fseek(f, offs, SEEK_SET)) { in VbCmosWrite()
172 unsigned offs, blksz; in VbReadNvStorage() local
175 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbReadNvStorage()
182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbReadNvStorage()
190 unsigned offs, blksz; in VbWriteNvStorage() local
196 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbWriteNvStorage()
203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbWriteNvStorage()
/external/vboot_reference/host/arch/x86/lib/
Dcrossystem_arch.c123 static int VbCmosRead(unsigned offs, size_t size, void *ptr) { in VbCmosRead() argument
131 if (0 != fseek(f, offs, SEEK_SET)) { in VbCmosRead()
147 static int VbCmosWrite(unsigned offs, size_t size, const void *ptr) { in VbCmosWrite() argument
155 if (0 != fseek(f, offs, SEEK_SET)) { in VbCmosWrite()
172 unsigned offs, blksz; in VbReadNvStorage() local
175 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbReadNvStorage()
182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbReadNvStorage()
190 unsigned offs, blksz; in VbWriteNvStorage() local
196 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0) in VbWriteNvStorage()
203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZE, vnc->raw)) in VbWriteNvStorage()
/external/lzma/C/
DPpmd7.h78 #define Ppmd7_GetPtr(p, offs) ((void *)((p)->Base + (offs))) argument
79 #define Ppmd7_GetContext(p, offs) ((CPpmd7_Context *)Ppmd7_GetPtr((p), (offs))) argument
/external/zlib/src/contrib/blast/
Dblast.c192 short offs[MAXBITS+1]; /* offsets in symbol table for each length */ in construct() local
224 offs[1] = 0; in construct()
226 offs[len + 1] = offs[len] + h->count[len]; in construct()
234 h->symbol[offs[length[symbol]]++] = symbol; in construct()
/external/elfutils/libdwfl/
Ddwfl_module_getdwarf.c661 GElf_Addr addrs[n], GElf_Off offs[n]) in find_offsets()
670 if (offs[j] == 0 in find_offsets()
674 offs[j] = addrs[j] - (phdr->p_vaddr + main_bias) + phdr->p_offset; in find_offsets()
701 GElf_Off offs[i_max] = { 0, }; in translate_offs() local
702 find_offsets (mod->main.elf, adjust, phnum, i_max, addrs, offs); in translate_offs()
705 if (offs[i_hash] != 0) in translate_offs()
711 offs[i_hash] + entsz, entsz, in translate_offs()
719 if (offs[i_gnu_hash] != 0 && mod->syments == 0) in translate_offs()
731 Elf_Data *data = elf_getdata_rawchunk (mod->main.elf, offs[i_gnu_hash], in translate_offs()
738 GElf_Off buckets_at = (offs[i_gnu_hash] + sizeof *header in translate_offs()
[all …]
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/
Dfifo.h134 static inline uint8_t *av_fifo_peek2(const AVFifoBuffer *f, int offs) in av_fifo_peek2() argument
136 uint8_t *ptr = f->rptr + offs; in av_fifo_peek2()
/external/zlib/src/contrib/puff/
Dpuff.c345 short offs[MAXBITS+1]; /* offsets in symbol table for each length */ in construct() local
365 offs[1] = 0; in construct()
367 offs[len + 1] = offs[len] + h->count[len]; in construct()
375 h->symbol[offs[length[symbol]]++] = symbol; in construct()
/external/pcre/dist/sljit/
DsljitNativeARM_64.c1067 sljit_si i, tmp, offs, prev, saved_regs_size; in sljit_emit_enter() local
1082 offs = (local_size - saved_regs_size) << (15 - 3); in sljit_emit_enter()
1084 offs = 0 << 15; in sljit_emit_enter()
1086 offs = 1 << 15; in sljit_emit_enter()
1098 if (!(offs & (1 << 15))) { in sljit_emit_enter()
1102 FAIL_IF(push_inst(compiler, STRI | RT(i) | RN(TMP_SP) | (offs >> 5))); in sljit_emit_enter()
1103 offs += 1 << 15; in sljit_emit_enter()
1106 FAIL_IF(push_inst(compiler, STP | RT(prev) | RT2(i) | RN(TMP_SP) | offs)); in sljit_emit_enter()
1107 offs += 2 << 15; in sljit_emit_enter()
1113 if (!(offs & (1 << 15))) { in sljit_emit_enter()
[all …]
/external/clang/include/clang/Edit/
DFileOffset.h24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } in FileOffset() argument
/external/valgrind/none/tests/ppc64/
Djm-insns.c5535 int i, offs, shift_offset = 0; in test_int_ld_one_reg_imm16() local
5545 offs = (i == 0) ? i : (i * sizeof(HWord_t)) - 1; in test_int_ld_one_reg_imm16()
5550 patch_op_imm(&func_buf[0], offs>>2, 2, 14); in test_int_ld_one_reg_imm16()
5552 patch_op_imm16(&func_buf[0], offs); in test_int_ld_one_reg_imm16()
5566 name, offs, iargs[i], res, r14-base, flags, xer); in test_int_ld_one_reg_imm16()
5573 offs = (i * sizeof(HWord_t)) + 1; in test_int_ld_one_reg_imm16()
5577 patch_op_imm16(&func_buf[0], offs); in test_int_ld_one_reg_imm16()
5591 name, offs, iargs[nb_iargs-1 + i], res, r14-base, flags, xer); in test_int_ld_one_reg_imm16()
5601 int i, offs; in test_int_ld_two_regs() local
5606 offs = i * sizeof(HWord_t); in test_int_ld_two_regs()
[all …]

1234