Home
last modified time | relevance | path

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

/PHP-5.5/ext/ereg/regex/
H A Dregerror.c75 char convbuf[50]; in regerror() local
78 s = regatoi(preg, convbuf, sizeof(convbuf)); in regerror()
86 (void) strncpy(convbuf, r->name, sizeof(convbuf) - 1); in regerror()
87 convbuf[sizeof(convbuf) - 1] = '\0'; in regerror()
89 snprintf(convbuf, sizeof(convbuf), "REG_0x%x", target); in regerror()
91 assert(strlen(convbuf) < sizeof(convbuf)); in regerror()
92 s = convbuf; in regerror()
/PHP-5.5/ext/ereg/
H A Dregex.patch13 char convbuf[50];
16 - s = regatoi(preg, convbuf);
17 + s = regatoi(preg, convbuf, sizeof(convbuf));
25 - (void) strcpy(convbuf, r->name);
27 - sprintf(convbuf, "REG_0x%x", target);
29 + (void) strncpy(convbuf, r->name, sizeof(convbuf) - 1);
30 + convbuf[sizeof(convbuf) - 1] = '\0';
32 + snprintf(convbuf, sizeof(convbuf), "REG_0x%x", target);
34 assert(strlen(convbuf) < sizeof(convbuf));
35 s = convbuf;
/PHP-5.5/ext/pdo_odbc/
H A Dodbc_stmt.c78 S->convbuf = erealloc(S->convbuf, S->convbufsize); in pdo_odbc_utf82ucs2()
81 …ret = MultiByteToWideChar(CP_UTF8, 0, buf, buflen, (LPWSTR)S->convbuf, S->convbufsize / sizeof(WCH… in pdo_odbc_utf82ucs2()
110 S->convbuf = erealloc(S->convbuf, S->convbufsize); in pdo_odbc_ucs22utf8()
113 …ret = WideCharToMultiByte(CP_UTF8, 0, (LPCWSTR)buf, buflen/sizeof(WCHAR), S->convbuf, S->convbufsi… in pdo_odbc_ucs22utf8()
119 S->convbuf[*outlen] = '\0'; in pdo_odbc_ucs22utf8()
154 if (S->convbuf) { in odbc_stmt_dtor()
155 efree(S->convbuf); in odbc_stmt_dtor()
199 SQLPutData(S->stmt, S->convbuf, ulen); in odbc_stmt_execute()
460 memcpy(P->outbuf, S->convbuf, P->len); in odbc_stmt_param_hook()
492 srcbuf = S->convbuf; in odbc_stmt_param_hook()
[all …]
H A Dphp_pdo_odbc_int.h152 char *convbuf; member

Completed in 12 milliseconds