/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/ |
D | genlingware.pl | 273 $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/chromium_org/native_client_sdk/src/libraries/nacl_io/ |
D | fifo_char.cc | 63 size_t offs = tail_; in Peek() local 65 size_t read_len = std::min(len, size_ - offs); in Peek() 66 memcpy(ptr, &buffer_[offs], read_len); in Peek() 69 offs += read_len; in Peek() 71 if (offs == size_) in Peek() 72 offs = 0; in Peek() 96 size_t offs = (tail_ + avail_) % size_; in Write() local 98 size_t write_len = std::min(len, size_ - offs); in Write() 99 memcpy(&buffer_[offs], ptr, write_len); in Write() 102 offs += write_len; in Write() [all …]
|
D | getdents_helper.cc | 61 Error GetDentsHelper::GetDents(size_t offs, in GetDents() argument 83 if (offs >= max) { in GetDents() 88 if (offs + size >= max) in GetDents() 89 size = max - offs; in GetDents() 91 memcpy(pdir, reinterpret_cast<const char*>(dirents_.data()) + offs, size); in GetDents()
|
D | kernel_handle.cc | 48 Error error = node_->GetSize(&handle_attr_.offs); in Init() 72 base = handle_attr_.offs; in Seek() 94 *out_offset = handle_attr_.offs = new_offset; in Seek() 104 handle_attr_.offs += *cnt; in Read() 114 handle_attr_.offs += *cnt; in Write() 120 Error error = node_->GetDents(handle_attr_.offs, pdir, nbytes, cnt); in GetDents() 122 handle_attr_.offs += *cnt; in GetDents()
|
/external/chromium_org/native_client_sdk/src/examples/tutorial/debugging/ |
D | example.js | 25 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), property 98 orderedMap.sort(function(a, b) { return a.offs - b.offs; });
|
/external/svox/pico/lib/ |
D | picokfst.c | 148 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/ |
D | dePoolArray.hpp | 134 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/chromium_org/native_client_sdk/src/examples/api/websocket/ |
D | websocket.cc | 49 uint32_t offs = 0; in ArrayToString() local 52 for (offs = 0; offs < array.ByteLength() && offs < MAX_TO_CONVERT; offs++) in ArrayToString() 53 sprintf(&tmp[offs * BYTES_PER_CHAR], "%02Xh ", data[offs]); in ArrayToString() 55 sprintf(&tmp[offs * BYTES_PER_CHAR], "..."); in ArrayToString()
|
/external/chromium_org/third_party/tcmalloc/chromium/src/tests/ |
D | addressmap_unittest.cc | 103 int offs = rnd.Uniform(ptrs_and_sizes[i].size); in main() local 104 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); in main() 108 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); in main() 129 int offs = rnd.Uniform(ptrs_and_sizes[i].size); in main() local 130 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); in main() 141 int offs = rnd.Uniform(ptrs_and_sizes[i].size); in main() local 142 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); in main() 146 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); in main()
|
/external/chromium_org/third_party/tcmalloc/vendor/src/tests/ |
D | addressmap_unittest.cc | 103 int offs = rnd.Uniform(ptrs_and_sizes[i].size); in main() local 104 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); in main() 108 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); in main() 129 int offs = rnd.Uniform(ptrs_and_sizes[i].size); in main() local 130 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); in main() 141 int offs = rnd.Uniform(ptrs_and_sizes[i].size); in main() local 142 CHECK(!map.FindInside(&SizeFunc, kMaxSize, p + offs, &res_p)); in main() 146 CHECK(result = map.FindInside(&SizeFunc, kMaxRealSize, p + offs, &res_p)); in main()
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/memfs/ |
D | mem_fs_node.cc | 55 if (attr.offs + count > size) { in Read() 56 count = size - attr.offs; in Read() 59 memcpy(buf, data_ + attr.offs, count); in Read() 74 off_t new_size = attr.offs + count; in Write() 84 memcpy(data_ + attr.offs, buf, count); in Write()
|
/external/libopus/celt/ |
D | entenc.c | 61 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()
|
/external/chromium_org/third_party/opus/src/celt/ |
D | entenc.c | 61 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()
|
/external/clang/lib/Edit/ |
D | EditedSource.cpp | 268 SourceLocation Loc, FileOffset offs, in adjustRemoval() argument 276 StringRef buffer = SM.getBufferData(offs.getFID(), &Invalid); in adjustRemoval() 280 unsigned begin = offs.getOffset(); in adjustRemoval() 305 StringRef text, FileOffset offs, unsigned len, in applyRewrite() argument 307 assert(!offs.getFID().isInvalid()); in applyRewrite() 308 SourceLocation Loc = SM.getLocForStartOfFile(offs.getFID()); in applyRewrite() 309 Loc = Loc.getLocWithOffset(offs.getOffset()); in applyRewrite() 313 adjustRemoval(SM, LangOpts, Loc, offs, len, text); in applyRewrite() 346 FileOffset offs = I->first; in applyRewrites() local 348 assert(offs >= CurEnd); in applyRewrites() [all …]
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/httpfs/ |
D | http_fs_node.cc | 165 Error HttpFsNode::GetDents(size_t offs, in GetDents() argument 429 if (attr.offs + count > size) in ReadPartialFromCache() 430 count = size - attr.offs; in ReadPartialFromCache() 435 memcpy(buf, &cached_data_.data()[attr.offs], count); in ReadPartialFromCache() 453 attr.offs, in DownloadPartial() 454 attr.offs + count - 1); in DownloadPartial() 484 if (attr.offs >= content_length) in DownloadPartial() 488 if (attr.offs + count > content_length) { in DownloadPartial() 489 count = content_length - attr.offs; in DownloadPartial() 498 if (read_start > attr.offs || read_start > read_end) { in DownloadPartial() [all …]
|
/external/zlib/src/ |
D | inftrees.c | 59 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/core/src/fxcodec/fx_zlib/zlib_v128/ |
D | fx_zlib_inftrees.c | 59 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/qemu/distrib/zlib-1.2.8/ |
D | inftrees.c | 59 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/chromium_org/third_party/zlib/ |
D | inftrees.c | 59 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/contrib/infback9/ |
D | inftree9.c | 59 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/lzma/C/ |
D | Ppmd7.h | 78 #define Ppmd7_GetPtr(p, offs) ((void *)((p)->Base + (offs))) argument 79 #define Ppmd7_GetContext(p, offs) ((CPpmd7_Context *)Ppmd7_GetPtr((p), (offs))) argument
|
/external/elfutils/0.153/libdwfl/ |
D | dwfl_module_getdwarf.c | 628 GElf_Addr addrs[n], GElf_Off offs[n]) in find_offsets() 637 if (offs[j] == 0 in find_offsets() 641 offs[j] = addrs[j] - phdr->p_vaddr + phdr->p_offset; in find_offsets() 725 GElf_Off offs[i_max] = { 0, }; in find_dynsym() local 726 find_offsets (mod->main.elf, phnum, i_max, addrs, offs); in find_dynsym() 729 if (offs[i_hash] != 0) in find_dynsym() 735 offs[i_hash] + entsz, entsz, in find_dynsym() 743 if (offs[i_gnu_hash] != 0 && mod->syments == 0) in find_dynsym() 755 data = elf_getdata_rawchunk (mod->main.elf, offs[i_gnu_hash], in find_dynsym() 762 GElf_Off buckets_at = (offs[i_gnu_hash] + sizeof *header in find_dynsym() [all …]
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/ |
D | js_fs_node.cc | 185 "offset", attr.offs)) { in Read() 265 "offset", attr.offs)) { in Write() 287 Error JsFsNode::GetDents(size_t offs, in GetDents() argument 296 size_t first = offs / sizeof(dirent); in GetDents() 297 size_t last = (offs + count + sizeof(dirent) - 1) / sizeof(dirent); in GetDents() 360 size_t dirents_offs = offs - first * sizeof(dirent); in GetDents()
|
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/passthroughfs/ |
D | real_node.cc | 34 int err = _real_lseek(real_fd_, attr.offs, 0, &new_offset); in Read() 56 err = _real_lseek(real_fd_, attr.offs, 0, &new_offset); in Write() 74 Error RealNode::GetDents(size_t offs, in GetDents() argument
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | http_fs_test.cc | 106 attr.offs = 10; in TEST_P() 113 attr.offs = 100; in TEST_P() 136 attr.offs = 10; in TEST_P() 143 attr.offs = 100; in TEST_P() 157 attr.offs = 3; in TEST_P() 219 attr.offs = size - 7; in TEST_P() 226 attr.offs = size + 100; in TEST_P()
|