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

123456

/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dfifo_char.cc63 size_t offs = tail_; local
65 size_t read_len = std::min(len, size_ - offs);
66 memcpy(ptr, &buffer_[offs], read_len);
69 offs += read_len;
71 if (offs == size_)
72 offs = 0;
96 size_t offs = (tail_ + avail_) % size_; local
98 size_t write_len = std::min(len, size_ - offs);
99 memcpy(&buffer_[offs], ptr, write_len);
102 offs
[all...]
H A Dgetdents_helper.cc61 Error GetDentsHelper::GetDents(size_t offs, argument
83 if (offs >= max) {
88 if (offs + size >= max)
89 size = max - offs;
91 memcpy(pdir, reinterpret_cast<const char*>(dirents_.data()) + offs, size);
H A Dgetdents_helper.h23 Error GetDents(size_t offs, dirent* pdir, size_t size, int* out_bytes) const;
H A Dkernel_handle.cc48 Error error = node_->GetSize(&handle_attr_.offs);
72 base = handle_attr_.offs;
94 *out_offset = handle_attr_.offs = new_offset;
104 handle_attr_.offs += *cnt;
114 handle_attr_.offs += *cnt;
120 Error error = node_->GetDents(handle_attr_.offs, pdir, nbytes, cnt);
122 handle_attr_.offs += *cnt;
/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/chromium_org/native_client_sdk/src/examples/tutorial/debugging/
H A Dexample.js25 if (addr < map[0].offs) {
30 if (addr < map[i].offs) {
31 var offs = addr - map[i - 1].offs;
45 return filename + ' ' + map[i - 1].name + ' + 0x' + offs.toString(16);
50 return filename + ' ' + map[last].name + ' + 0x' + offs.toString(16);
81 offs: parseInt(vals[0], 16),
98 orderedMap.sort(function(a, b) { return a.offs - b.offs; });
/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/chromium_org/third_party/opus/src/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){
/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){
/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/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/
H A Dmem_fs_node.cc55 if (attr.offs + count > size) {
56 count = size - attr.offs;
59 memcpy(buf, data_ + attr.offs, count);
74 off_t new_size = attr.offs + count;
84 memcpy(data_ + attr.offs, buf, count);
/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/chromium_org/native_client_sdk/src/libraries/nacl_io/passthroughfs/
H A Dreal_node.cc34 int err = _real_lseek(real_fd_, attr.offs, 0, &new_offset);
56 err = _real_lseek(real_fd_, attr.offs, 0, &new_offset);
74 Error RealNode::GetDents(size_t offs, argument
H A Dreal_node.h32 virtual Error GetDents(size_t offs,
/external/chromium_org/native_client_sdk/src/examples/api/websocket/
H A Dwebsocket.cc49 uint32_t offs = 0; local
52 for (offs = 0; offs < array.ByteLength() && offs < MAX_TO_CONVERT; offs++)
53 sprintf(&tmp[offs * BYTES_PER_CHAR], "%02Xh ", data[offs]);
55 sprintf(&tmp[offs * BYTES_PER_CHAR], "...");
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/
H A Daddressmap_unittest.cc103 int offs = rnd.Uniform(ptrs_and_sizes[i].size); local
104 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p));
108 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p));
129 int offs = rnd.Uniform(ptrs_and_sizes[i].size); local
130 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p));
141 int offs = rnd.Uniform(ptrs_and_sizes[i].size); local
142 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p));
146 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p));
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/
H A Daddressmap_unittest.cc103 int offs = rnd.Uniform(ptrs_and_sizes[i].size); local
104 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p));
108 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p));
129 int offs = rnd.Uniform(ptrs_and_sizes[i].size); local
130 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p));
141 int offs = rnd.Uniform(ptrs_and_sizes[i].size); local
142 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p));
146 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p));
/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/qemu/distrib/zlib-1.2.8/
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/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();
305 StringRef text, FileOffset offs, unsigned len,
307 assert(!offs.getFID().isInvalid());
308 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID());
309 Loc = Loc.getLocWithOffset(offs.getOffset());
313 adjustRemoval(SM, LangOpts, Loc, offs, len, text);
346 FileOffset offs = I->first; local
348 assert(offs >
267 adjustRemoval(const SourceManager &SM, const LangOptions &LangOpts, SourceLocation Loc, FileOffset offs, unsigned &len, StringRef &text) argument
304 applyRewrite(EditsReceiver &receiver, StringRef text, FileOffset offs, unsigned len, const SourceManager &SM, const LangOptions &LangOpts) argument
[all...]
/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)))

Completed in 9555 milliseconds

123456