/external/chromium_org/third_party/libvpx/source/libvpx/build/make/ |
H A D | obj_int_extract.c | 217 #define COPY_STRUCT(dst, buf, ofst, sz) do {\ 218 if(ofst + sizeof((*(dst))) > sz) goto bail;\ 219 memcpy(dst, buf+ofst, sizeof((*(dst))));\ 364 int parse_elf_symbol(elf_obj_t *elf, unsigned int ofst, Elf32_Sym *sym32, Elf64_Sym *sym64) { argument 366 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz); 374 COPY_STRUCT(sym64, elf->buf, ofst, elf->sz); 389 unsigned int ofst; local 445 for (ofst = shdr.sh_offset; 446 ofst < shdr.sh_offset + shdr.sh_size; 447 ofst [all...] |
/external/chromium_org/third_party/sqlite/amalgamation/ |
H A D | sqlite3.c | 22836 ** Apply advisory locks for all n bytes beginning at ofst. 22845 int ofst, /* Offset to first byte to be locked/unlocked */ 22857 area.lOffset = ofst; 23220 int ofst, /* First lock to acquire or release */ 23231 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); 23239 mask = (u32)((1U<<(ofst+n)) - (1U<<ofst)); 23240 assert( n>1 || mask==(1<<ofst) ); 23257 rc = os2ShmSystemLock(pShmNode, _SHM_UNLCK, ofst 22842 os2ShmSystemLock( os2ShmNode *pNode, int lockType, int ofst, int nByte ) argument 23218 os2ShmLock( sqlite3_file *id, int ofst, int n, int flags ) argument 27760 unixShmSystemLock( unixShmNode *pShmNode, int lockType, int ofst, int n ) argument 28137 unixShmLock( sqlite3_file *fd, int ofst, int n, int flags ) argument 32457 winShmSystemLock( winShmNode *pFile, int lockType, int ofst, int nByte ) argument 32709 winShmLock( sqlite3_file *fd, int ofst, int n, int flags ) argument 38660 i64 ofst = (pgno-1)*(i64)pPager->pageSize; local [all...] |
/external/chromium_org/third_party/sqlite/src/src/ |
H A D | os_os2.c | 824 ** Apply advisory locks for all n bytes beginning at ofst. 833 int ofst, /* Offset to first byte to be locked/unlocked */ 845 area.lOffset = ofst; 1208 int ofst, /* First lock to acquire or release */ 1219 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); 1227 mask = (u32)((1U<<(ofst+n)) - (1U<<ofst)); 1228 assert( n>1 || mask==(1<<ofst) ); 1245 rc = os2ShmSystemLock(pShmNode, _SHM_UNLCK, ofst 830 os2ShmSystemLock( os2ShmNode *pNode, int lockType, int ofst, int nByte ) argument 1206 os2ShmLock( sqlite3_file *id, int ofst, int n, int flags ) argument [all...] |
H A D | os_unix.c | 3614 ** Apply posix advisory locks for all bytes from ofst through ofst+n-1. 3622 int ofst, /* First byte of the locking range */ 3642 f.l_start = ofst; 3653 mask = (1<<(ofst+n)) - (1<<ofst); 3656 OSTRACE(("unlock %d ok", ofst)); 3660 OSTRACE(("read-lock %d ok", ofst)); 3665 OSTRACE(("write-lock %d ok", ofst)); 3671 OSTRACE(("unlock %d failed", ofst)); 3619 unixShmSystemLock( unixShmNode *pShmNode, int lockType, int ofst, int n ) argument 3996 unixShmLock( sqlite3_file *fd, int ofst, int n, int flags ) argument [all...] |
H A D | os_win.c | 1333 ** Apply advisory locks for all n bytes beginning at ofst. 1341 int ofst, /* Offset to first byte to be locked/unlocked */ 1356 ovlp.Offset = ofst; 1592 int ofst, /* First lock to acquire or release */ 1603 assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); 1611 mask = (u16)((1U<<(ofst+n)) - (1U<<ofst)); 1612 assert( n>1 || mask==(1<<ofst) ); 1626 rc = winShmSystemLock(pShmNode, _SHM_UNLCK, ofst 1338 winShmSystemLock( winShmNode *pFile, int lockType, int ofst, int nByte ) argument 1590 winShmLock( sqlite3_file *fd, int ofst, int n, int flags ) argument [all...] |
H A D | pager.c | 2230 i64 ofst = (pgno-1)*(i64)pPager->pageSize; local 2233 rc = sqlite3OsWrite(pPager->fd, (u8*)aData, pPager->pageSize, ofst);
|
H A D | test6.c | 526 static int cfShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ argument 527 return sqlite3OsShmLock(((CrashFile*)pFile)->pRealFile, ofst, n, flags);
|
H A D | test_demovfs.c | 168 off_t ofst; /* Return value from lseek() */ local 171 ofst = lseek(p->fd, iOfst, SEEK_SET); 172 if( ofst!=iOfst ){ 220 off_t ofst; /* Return value from lseek() */ local 235 ofst = lseek(p->fd, iOfst, SEEK_SET); 236 if( ofst!=iOfst ){
|
H A D | test_devsym.c | 238 static int devsymShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ argument 240 return sqlite3OsShmLock(p->pReal, ofst, n, flags);
|
H A D | test_multiplex.c | 851 int ofst, /* First lock to acquire or release */ 859 return pSubOpen->pMethods->xShmLock(pSubOpen, ofst, n, flags); 849 multiplexShmLock( sqlite3_file *pConn, int ofst, int n, int flags ) argument
|
H A D | test_osinst.c | 151 static int vfslogShmLock(sqlite3_file *pFile, int ofst, int n, int flags); 423 static int vfslogShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ argument 428 rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags);
|
H A D | test_quota.c | 541 int ofst, /* First lock to acquire or release */ 546 return pSubOpen->pMethods->xShmLock(pSubOpen, ofst, n, flags); 539 quotaShmLock( sqlite3_file *pConn, int ofst, int n, int flags ) argument
|
H A D | test_vfs.c | 826 int ofst, 837 sqlite3_snprintf(sizeof(zLock), zLock, "%d %d", ofst, n); local 864 u32 mask = (((1<<n)-1) << ofst); 824 tvfsShmLock( sqlite3_file *pFile, int ofst, int n, int flags ) argument
|
H A D | test_vfstrace.c | 218 vfstrace_printf(pInfo, "%s.xRead(%s,n=%d,ofst=%lld)", 237 vfstrace_printf(pInfo, "%s.xWrite(%s,n=%d,ofst=%lld)", 424 static int vfstraceShmLock(sqlite3_file *pFile, int ofst, int n, int flags){ argument 438 vfstrace_printf(pInfo, "%s.xShmLock(%s,ofst=%d,n=%d,%s)", 439 pInfo->zVfsName, p->zFName, ofst, n, &zLck[1]); 440 rc = p->pReal->pMethods->xShmLock(p->pReal, ofst, n, flags);
|
/external/chromium_org/third_party/sqlite/src/tool/ |
H A D | lemon.c | 3814 int ofst; local 3816 ofst = stp->iTknOfst; 3817 if( ofst==NO_OFFSET ) ofst = mnTknOfst - 1; 3819 fprintf(out, " %4d,", ofst); 3839 int ofst; local 3841 ofst = stp->iNtOfst; 3842 if( ofst==NO_OFFSET ) ofst = mnNtOfst - 1; 3844 fprintf(out, " %4d,", ofst); [all...] |
H A D | showdb.c | 58 static unsigned char *getContent(int ofst, int nByte){ argument 63 lseek(db, ofst, SEEK_SET); 72 int ofst, /* First byte in the range of bytes to print */ 92 aData = getContent(ofst, nByte); 131 int ofst, int nByte, /* Start and size of decode */ 135 int val = aData[ofst]; 137 sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]); 143 sprintf(&zBuf[i], " %02x", aData[ofst+j]); 144 val = val*256 + aData[ofst 71 print_byte_range( int ofst, int nByte, int printOfst ) argument 129 print_decode_line( unsigned char *aData, int ofst, int nByte, const char *zMsg ) argument 516 int ofst, nByte, hdrSize; local [all...] |
H A D | showjournal.c | 50 int ofst, int nByte, /* Start and size of decode */ 54 unsigned val = aData[ofst]; 56 sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]); 62 sprintf(&zBuf[i], " %02x", aData[ofst+j]); 63 val = val*256 + aData[ofst+j]; 48 print_decode_line( unsigned char *aData, int ofst, int nByte, const char *zMsg ) argument
|
H A D | showwal.c | 51 static unsigned char *getContent(int ofst, int nByte){ argument 55 lseek(fd, ofst, SEEK_SET); 64 int ofst, /* First byte in the range of bytes to print */ 108 int ofst, int nByte, /* Start and size of decode */ 113 int val = aData[ofst]; 115 sprintf(zBuf, " %03x: %02x", ofst, aData[ofst]); 121 sprintf(&zBuf[i], " %02x", aData[ofst+j]); 122 val = val*256 + aData[ofst+j]; 323 int ofst, nByt 63 print_byte_range( int ofst, int nByte, unsigned char *aData, int printOfst ) argument 106 print_decode_line( unsigned char *aData, int ofst, int nByte, int asHex, const char *zMsg ) argument [all...] |
/external/libhevc/decoder/ |
H A D | ihevcd_nal.c | 98 WORD32 ofst; local 103 ofst = -1; 107 while(ofst < (bytes_remaining - 1)) 109 ofst++; 110 if(pu1_buf[ofst] != 0) 117 if((pu1_buf[ofst + 1] == START_CODE_PREFIX_BYTE) && 121 ofst++; 128 if((START_CODE_PREFIX_BYTE == pu1_buf[ofst]) && 132 ofst++; 135 /* Since ofst starte [all...] |
H A D | ihevcd_parse_headers.c | 212 WORD32 ofst; local 219 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cb[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom); 220 ofst = value - ofst + shift; 222 ps_wt_ofst->i2_chroma_offset_l0_cb[i] = CLIP_S8(ofst); 229 ofst = ((shift * ps_wt_ofst->i2_chroma_weight_l0_cr[i]) >> ps_wt_ofst->i1_chroma_log2_weight_denom); 230 ofst = value - ofst + shift; 232 ps_wt_ofst->i2_chroma_offset_l0_cr[i] = CLIP_S8(ofst); 289 WORD32 ofst; local [all...] |
/external/libvpx/libvpx/build/make/ |
H A D | obj_int_extract.c | 217 #define COPY_STRUCT(dst, buf, ofst, sz) do {\ 218 if(ofst + sizeof((*(dst))) > sz) goto bail;\ 219 memcpy(dst, buf+ofst, sizeof((*(dst))));\ 364 int parse_elf_symbol(elf_obj_t *elf, unsigned int ofst, Elf32_Sym *sym32, Elf64_Sym *sym64) { argument 366 COPY_STRUCT(sym32, elf->buf, ofst, elf->sz); 374 COPY_STRUCT(sym64, elf->buf, ofst, elf->sz); 389 unsigned int ofst; local 445 for (ofst = shdr.sh_offset; 446 ofst < shdr.sh_offset + shdr.sh_size; 447 ofst [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonISelLowering.cpp | 110 unsigned ofst; local 116 ofst = State.AllocateStack(ArgFlags.getByValSize(), 4); 117 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); 131 ofst = State.AllocateStack(4, 4); 132 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo)); 136 ofst = State.AllocateStack(8, 8); 137 State.addLoc(CCValAssign::getMem(ValNo, ValVT, ofst, LocVT, LocInfo));
|
/external/openfst/src/bin/ |
H A D | fstcompose.cc | 70 VectorFstClass ofst(ifst1->ArcType()); 90 s::Compose(*ifst1, *ifst2, &ofst, opts); 92 ofst.Write(out_name);
|
H A D | fstconvert.cc | 48 FstClass *ofst = ifst; 49 if (!ofst) return 1; 51 if (ofst->FstType() != FLAGS_fst_type) { 52 ofst = s::Convert(*ifst, FLAGS_fst_type); 55 ofst->Write(out_name);
|
H A D | fstdeterminize.cc | 56 VectorFstClass ofst(ifst->ArcType()); 63 s::Determinize(*ifst, &ofst, opts); 65 ofst.Write(out_name);
|