Home
last modified time | relevance | path

Searched refs:cpy (Results 1 – 2 of 2) sorted by relevance

/sqlite-3.40.0/ext/wasm/
H A Dtester1.js464 let cpy = w.scopedAlloc(n+10);
465 let rc = w.cstrncpy(cpy, cStr, n+10);
467 assert("hello" === w.cstringToJs(cpy)).
468 assert(chr('o') === w.getMemValue(cpy+n-1)).
469 assert(0 === w.getMemValue(cpy+n));
471 rc = w.cstrncpy(cpy, cStr2, 3);
473 assert("HI!lo" === w.cstringToJs(cpy)).
474 assert(chr('!') === w.getMemValue(cpy+2)).
475 assert(chr('l') === w.getMemValue(cpy+3));
/sqlite-3.40.0/tool/
H A Dlemon.c5247 char *cpy; in Strsafe() local
5251 if( z==0 && (cpy=(char *)malloc( lemonStrlen(y)+1 ))!=0 ){ in Strsafe()
5252 lemon_strcpy(cpy,y); in Strsafe()
5253 z = cpy; in Strsafe()