Home
last modified time | relevance | path

Searched refs:newi (Results 1 – 3 of 3) sorted by relevance

/external/compiler-rt/lib/BlocksRuntime/
Druntime.c57 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { in OSAtomicCompareAndSwapInt() argument
59 int original = InterlockedCompareExchange(dst, newi, oldi); in OSAtomicCompareAndSwapInt()
76 static __inline bool OSAtomicCompareAndSwapInt(int oldi, int newi, int volatile *dst) { in OSAtomicCompareAndSwapInt() argument
77 return __sync_bool_compare_and_swap(dst, oldi, newi); in OSAtomicCompareAndSwapInt()
/external/sqlite/dist/
Dsqlite3.c18885 u32 newi, x; in memsys3FromMaster() local
18886 newi = mem3.iMaster + mem3.szMaster - nBlock; in memsys3FromMaster()
18887 assert( newi > mem3.iMaster+1 ); in memsys3FromMaster()
18890 mem3.aPool[newi-1].u.hdr.size4x = nBlock*4 + 1; in memsys3FromMaster()
18892 mem3.aPool[newi-1].u.hdr.prevSize = mem3.szMaster; in memsys3FromMaster()
18898 return (void*)&mem3.aPool[newi]; in memsys3FromMaster()
/external/sqlite/dist/orig/
Dsqlite3.c18885 u32 newi, x; in memsys3FromMaster() local
18886 newi = mem3.iMaster + mem3.szMaster - nBlock; in memsys3FromMaster()
18887 assert( newi > mem3.iMaster+1 ); in memsys3FromMaster()
18890 mem3.aPool[newi-1].u.hdr.size4x = nBlock*4 + 1; in memsys3FromMaster()
18892 mem3.aPool[newi-1].u.hdr.prevSize = mem3.szMaster; in memsys3FromMaster()
18898 return (void*)&mem3.aPool[newi]; in memsys3FromMaster()