Home
last modified time | relevance | path

Searched refs:mem0 (Results 1 – 4 of 4) sorted by relevance

/freebsd/lib/libc/string/
H A Dstrstr.c76 size_t l, ip, jp, k, p, ms, p0, mem, mem0; in twoway_strstr() local
136 mem0 = 0; in twoway_strstr()
139 mem0 = l - p; in twoway_strstr()
190 mem = mem0; in twoway_strstr()
H A Dmemmem.c79 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local
137 mem0 = 0; in twoway_memmem()
140 mem0 = l - p; in twoway_memmem()
179 mem = mem0; in twoway_memmem()
/freebsd/crypto/openssh/openbsd-compat/
H A Dmemmem.c83 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local
133 mem0 = 0; in twoway_memmem()
135 } else mem0 = l-p; in twoway_memmem()
169 mem = mem0; in twoway_memmem()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c30784 } mem0 = { 0, SQLITE_MAX_MEMORY, SQLITE_MAX_MEMORY, 0 }; variable
30786 #define mem0 GLOBAL(struct Mem0Global, mem0) macro
30792 return mem0.mutex; in sqlite3MallocMutex()
30832 sqlite3_mutex_enter(mem0.mutex); in sqlite3_soft_heap_limit64()
30833 priorLimit = mem0.alarmThreshold; in sqlite3_soft_heap_limit64()
30835 sqlite3_mutex_leave(mem0.mutex); in sqlite3_soft_heap_limit64()
30838 if( mem0.hardLimit>0 && (n>mem0.hardLimit || n==0) ){ in sqlite3_soft_heap_limit64()
30839 n = mem0.hardLimit; in sqlite3_soft_heap_limit64()
30841 mem0.alarmThreshold = n; in sqlite3_soft_heap_limit64()
30843 AtomicStore(&mem0.nearlyFull, n>0 && n<=nUsed); in sqlite3_soft_heap_limit64()
[all …]