Searched refs:offs (Results 1 - 25 of 74) sorted by relevance

123

/external/vboot_reference/firmware/2lib/
H A D2common.c36 uintptr_t offs = p & (align - 1); local
38 if (offs) {
39 offs = align - offs;
41 if (*size < offs)
44 *ptr += offs;
45 *size -= offs;
H A D2nvstorage.c73 #define GETBIT(offs, mask) (p[offs] & mask ? 1 : 0)
164 #define SETBIT(offs, mask) \
165 { if (value) p[offs] |= mask; else p[offs] &= ~mask; }
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
H A Dgenlingware.pl273 $offs = 0;
284 $offs += print_offs(@svoxheader);
286 print "offset after svoxheader: $offs\n";
299 #fill should make the whole header 4-byte aligned, i.e. the current offs
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
[all...]
/external/svox/pico/lib/
H A Dpicokfst.c148 picoos_int32 offs; local
169 BytesToNum(kfst->fstStream,& curpos,& offs);
170 kfst->alphaHashTabPos = kfst->hdrLen + offs;
172 BytesToNum(kfst->fstStream,& curpos,& offs);
173 kfst->transTabPos = kfst->hdrLen + offs;
174 BytesToNum(kfst->fstStream,& curpos,& offs);
175 kfst->inEpsStateTabPos = kfst->hdrLen + offs;
176 BytesToNum(kfst->fstStream,& curpos,& offs);
177 kfst->accStateTabPos = kfst->hdrLen + offs;
276 picoos_int32 offs; local
367 picoos_int32 offs; local
[all...]
/external/libopus/celt/
H A Dentcode.h71 opus_uint32 offs; member in struct:ec_ctx
88 return _this->offs;
H A Dentenc.c61 if(_this->offs+_this->end_offs>=_this->storage)return -1;
62 _this->buf[_this->offs++]=(unsigned char)_value;
67 if(_this->offs+_this->end_offs>=_this->storage)return -1;
119 _this->offs=0;
220 if(_this->offs>0){
238 celt_assert(_this->offs+_this->end_offs<=_size);
277 OPUS_CLEAR(_this->buf+_this->offs,
278 _this->storage-_this->offs-_this->end_offs);
286 if(_this->offs+_this->end_offs>=_this->storage&&l<used){
H A Dentdec.c92 return _this->offs<_this->storage?_this->buf[_this->offs++]:0;
130 _this->offs=0;
/external/lzma/Asm/x86/
H A DAesOpt.asm63 LOAD_OP macro op:req, offs:req
64 op xmm0, [r1 + r3 offs]
67 LOAD_OP_W macro op:req, offs:req
68 movdqa xmm7, [r1 + r3 offs]
75 CBC_DEC_UPDATE macro reg, offs
77 movdqa xmm6, [rD + offs]
78 movdqa [rD + offs], reg
170 XOR_UPD_1 macro reg, offs
171 pxor reg, [rD + offs]
174 XOR_UPD_2 macro reg, offs
[all...]
/external/deqp/framework/delibs/decpp/
H A DdePoolArray.hpp134 const T& operator[] (deUintptr offs) const throw() { return (*m_array)[this->m_ndx+offs]; }
145 PoolArrayConstIterator<T, Alignment>& operator+= (deIntptr offs) { this->m_ndx += offs; return *this; } argument
146 PoolArrayConstIterator<T, Alignment>& operator-= (deIntptr offs) { this->m_ndx -= offs; return *this; } argument
170 T& operator[] (deUintptr offs) const throw() { return (*m_array)[this->m_ndx+offs]; }
181 PoolArrayIterator<T, Alignment>& operator+= (deIntptr offs) { this->m_ndx += offs; retur argument
182 operator -=(deIntptr offs) argument
447 operator +(const PoolArrayConstIterator<T, Alignment>& iter, deIntptr offs) argument
453 operator +(deUintptr offs, const PoolArrayConstIterator<T, Alignment>& iter) argument
459 operator -(const PoolArrayConstIterator<T, Alignment>& iter, deIntptr offs) argument
494 operator +(const PoolArrayIterator<T, Alignment>& iter, deIntptr offs) argument
500 operator +(deUintptr offs, const PoolArrayIterator<T, Alignment>& iter) argument
506 operator -(const PoolArrayIterator<T, Alignment>& iter, deIntptr offs) argument
[all...]
/external/clang/include/clang/Edit/
H A DFileOffset.h24 FileOffset(FileID fid, unsigned offs) : FID(fid), Offs(offs) { } argument
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dfx_zlib_inftrees.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/
H A 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/clang/lib/Edit/
H A DEditedSource.cpp268 SourceLocation Loc, FileOffset offs,
276 StringRef buffer = SM.getBufferData(offs.getFID(), &Invalid);
280 unsigned begin = offs.getOffset();
313 StringRef text, FileOffset offs, unsigned len,
315 assert(!offs.getFID().isInvalid());
316 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID());
317 Loc = Loc.getLocWithOffset(offs.getOffset());
321 adjustRemoval(SM, LangOpts, Loc, offs, len, text);
354 FileOffset offs = I->first;
356 assert(offs >
267 adjustRemoval(const SourceManager &SM, const LangOptions &LangOpts, SourceLocation Loc, FileOffset offs, unsigned &len, StringRef &text) argument
[all...]
H A DCommit.cpp220 bool Commit::canInsert(SourceLocation loc, FileOffset &offs) { argument
241 offs = FileOffset(locInfo.first, locInfo.second);
242 return canInsertInOffset(loc, offs);
245 bool Commit::canInsertAfterToken(SourceLocation loc, FileOffset &offs, argument
276 offs = FileOffset(locInfo.first, locInfo.second);
277 return canInsertInOffset(loc, offs);
/external/lzma/C/
H A DPpmd7.h78 #define Ppmd7_GetPtr(p, offs) ((void *)((p)->Base + (offs)))
79 #define Ppmd7_GetContext(p, offs) ((CPpmd7_Context *)Ppmd7_GetPtr((p), (offs)))
/external/libvncserver/webclients/novnc/include/
H A Djsunzip.js305 var offs = new Array(16);
319 offs[i] = sum;
326 if (lengths[loffset + i]) t.trans[offs[lengths[loffset + i]]++] = i;
497 var length, dist, offs;
508 offs = d.history.length - this.read_bits(d, this.dist_bits[dist], this.dist_base[dist]);
510 if (offs < 0)
511 throw ("Invalid zlib offset " + offs);
514 for (i = offs; i < offs + length; ++i) {
/external/zlib/src/contrib/blast/
H A Dblast.c192 short offs[MAXBITS+1]; /* offsets in symbol table for each length */ local
224 offs[1] = 0;
226 offs[len + 1] = offs[len] + h->count[len];
234 h->symbol[offs[length[symbol]]++] = symbol;
/external/zlib/src/contrib/infback9/
H A 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/vboot_reference/host/arch/x86/lib/
H A Dcrossystem_arch.c123 static int VbCmosRead(unsigned offs, size_t size, void *ptr) { argument
131 if (0 != fseek(f, offs, SEEK_SET)) {
147 static int VbCmosWrite(unsigned offs, size_t size, const void *ptr) { argument
155 if (0 != fseek(f, offs, SEEK_SET)) {
172 unsigned offs, blksz; local
175 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0)
182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw))
190 unsigned offs, blksz; local
196 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0)
203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZ
[all...]
/external/vboot_reference/host/arch/x86_64/lib/
H A Dcrossystem_arch.c123 static int VbCmosRead(unsigned offs, size_t size, void *ptr) { argument
131 if (0 != fseek(f, offs, SEEK_SET)) {
147 static int VbCmosWrite(unsigned offs, size_t size, const void *ptr) { argument
155 if (0 != fseek(f, offs, SEEK_SET)) {
172 unsigned offs, blksz; local
175 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0)
182 if (0 != VbCmosRead(offs, VBNV_BLOCK_SIZE, vnc->raw))
190 unsigned offs, blksz; local
196 if (ReadFileInt(ACPI_VBNV_PATH ".0", &offs) < 0)
203 if (0 != VbCmosWrite(offs, VBNV_BLOCK_SIZ
[all...]
/external/zlib/src/contrib/puff/
H A Dpuff.c39 * - Simplify offs[] index in construct()
345 short offs[MAXBITS+1]; /* offsets in symbol table for each length */ local
365 offs[1] = 0;
367 offs[len + 1] = offs[len] + h->count[len];
375 h->symbol[offs[length[symbol]]++] = symbol;
/external/elfutils/src/libdwfl/
H A Ddwfl_module_getdwarf.c629 GElf_Addr addrs[n], GElf_Off offs[n])
638 if (offs[j] == 0
642 offs[j] = addrs[j] - (phdr->p_vaddr + main_bias) + phdr->p_offset;
729 GElf_Off offs[i_max] = { 0, }; local
730 find_offsets (mod->main.elf, adjust, phnum, i_max, addrs, offs);
733 if (offs[i_hash] != 0)
739 offs[i_hash] + entsz, entsz,
747 if (offs[i_gnu_hash] != 0 && mod->syments == 0)
759 data = elf_getdata_rawchunk (mod->main.elf, offs[i_gnu_hash],
766 GElf_Off buckets_at = (offs[i_gnu_has
628 find_offsets(Elf *elf, GElf_Addr main_bias, size_t phnum, size_t n, GElf_Addr addrs[n], GElf_Off offs[n]) argument
[all...]
/external/linux-tools-perf/src/tools/perf/util/
H A Ddwarf-aux.h63 extern int die_get_data_member_location(Dwarf_Die *mb_die, Dwarf_Word *offs);
/external/v8/src/
H A Ddisassembler.cc58 int offs = static_cast<int>(pc - code_->instruction_start()); local
60 if (0 <= offs && offs < code_->instruction_size()) {
61 SNPrintF(v8_buffer_, "%d (%p)", offs, pc);
/external/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeonsi_pm4.c111 unsigned offs = state->last_pm4 + 1; local
114 if (state->ndw == offs) {
124 si_pm4_cmd_add(state, offs << 2);

Completed in 1671 milliseconds

123