Home
last modified time | relevance | path

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

/PHP-7.0/ext/pdo/
H A Dpdo_sql_parser.c401 char *ptr, *newbuffer; in pdo_parse_params() local
607 newbuffer = emalloc(newbuffer_len + 1); in pdo_parse_params()
608 *outquery = newbuffer; in pdo_parse_params()
617 memcpy(newbuffer, ptr, t); in pdo_parse_params()
618 newbuffer += t; in pdo_parse_params()
620 memcpy(newbuffer, plc->quoted, plc->qlen); in pdo_parse_params()
621 newbuffer += plc->qlen; in pdo_parse_params()
629 memcpy(newbuffer, ptr, t); in pdo_parse_params()
630 newbuffer += t; in pdo_parse_params()
632 *newbuffer = '\0'; in pdo_parse_params()
[all …]
H A Dpdo_sql_parser.re87 char *ptr, *newbuffer;
293 newbuffer = emalloc(newbuffer_len + 1);
294 *outquery = newbuffer;
303 memcpy(newbuffer, ptr, t);
304 newbuffer += t;
306 memcpy(newbuffer, plc->quoted, plc->qlen);
307 newbuffer += plc->qlen;
315 memcpy(newbuffer, ptr, t);
316 newbuffer += t;
318 *newbuffer = '\0';
[all …]

Completed in 6 milliseconds