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.c81 size_t i, ip, jp, k, p, ms, p0, mem, mem0; in twoway_memmem() local
131 mem0 = 0; in twoway_memmem()
133 } else mem0 = l-p; in twoway_memmem()
167 mem = mem0; in twoway_memmem()
/freebsd/contrib/sqlite3/
H A Dsqlite3.c31532 } mem0 = { 0, SQLITE_MAX_MEMORY, SQLITE_MAX_MEMORY, 0 }; variable
31534 #define mem0 GLOBAL(struct Mem0Global, mem0) macro
31540 return mem0.mutex; in sqlite3MallocMutex()
31580 sqlite3_mutex_enter(mem0.mutex); in sqlite3_soft_heap_limit64()
31581 priorLimit = mem0.alarmThreshold; in sqlite3_soft_heap_limit64()
31583 sqlite3_mutex_leave(mem0.mutex); in sqlite3_soft_heap_limit64()
31586 if( mem0.hardLimit>0 && (n>mem0.hardLimit || n==0) ){ in sqlite3_soft_heap_limit64()
31587 n = mem0.hardLimit; in sqlite3_soft_heap_limit64()
31589 mem0.alarmThreshold = n; in sqlite3_soft_heap_limit64()
31591 AtomicStore(&mem0.nearlyFull, n>0 && n<=nUsed); in sqlite3_soft_heap_limit64()
[all …]