Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 6 of 6) sorted by relevance

/PHP-7.4/ext/snmp/
H A Dsnmp.c678 char buf2[2048]; in php_snmp_internal() local
777 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
817 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
821 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
823 buf2[0] = '\0'; in php_snmp_internal()
827 strcat(buf2, buf); in php_snmp_internal()
830 buf2[strlen(buf2) - 1] = '\0'; /* remove trailing '.' */ in php_snmp_internal()
832 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
834 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
835 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
[all …]
/PHP-7.4/ext/pdo_odbc/
H A Dodbc_stmt.c688 char *buf2; in odbc_stmt_get_col() local
690 buf2 = emalloc(256); in odbc_stmt_get_col()
697 …rc = SQLGetData(S->stmt, colno+1, C->is_unicode ? SQL_C_BINARY : SQL_C_CHAR, buf2, 256, &C->fetche… in odbc_stmt_get_col()
712 memcpy(buf + used, buf2, 255); in odbc_stmt_get_col()
716 memcpy(buf + used, buf2, C->fetched_len); in odbc_stmt_get_col()
725 efree(buf2); in odbc_stmt_get_col()
/PHP-7.4/ext/standard/
H A Darray.c220 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_case() local
233 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_case()
234 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_case()
253 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string() local
266 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string()
267 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string()
286 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_natural_general() local
299 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_natural_general()
300 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_natural_general()
336 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_locale() local
[all …]
/PHP-7.4/ext/sodium/
H A Dlibsodium.c749 char *buf2; in PHP_FUNCTION() local
755 &buf2, &len2) == FAILURE) { in PHP_FUNCTION()
763 RETURN_LONG(sodium_memcmp(buf1, buf2, len1)); in PHP_FUNCTION()
3183 char *buf2; in PHP_FUNCTION() local
3189 &buf2, &len2) == FAILURE) { in PHP_FUNCTION()
3198 (const unsigned char *) buf2, (size_t) len1)); in PHP_FUNCTION()
/PHP-7.4/ext/ffi/
H A Dffi.c1579 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_pass_incompatible() local
1590 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_pass_incompatible()
1591 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_pass_incompatible()
1594 *buf2.end = 0; in zend_ffi_pass_incompatible()
1595 …, found '%s'", n + 1, ZSTR_VAL(EX(func)->internal_function.function_name), buf1.start, buf2.start); in zend_ffi_pass_incompatible()
1606 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_assign_incompatible() local
1617 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_assign_incompatible()
1618 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_assign_incompatible()
1621 *buf2.end = 0; in zend_ffi_assign_incompatible()
1622 …ption_ce, "Incompatible types when assigning to type '%s' from type '%s'", buf1.start, buf2.start); in zend_ffi_assign_incompatible()
/PHP-7.4/ext/fileinfo/
H A Dlibmagic.patch2176 - char buf2[BUFSIZ+BUFSIZ+4];
2199 - (void)strlcpy(buf2, fn, sizeof buf2);
2200 - buf2[tmp - fn + 1] = '\0';
2202 - (void)strlcat(buf2, buf, sizeof buf2);
2203 - tmp = buf2;

Completed in 72 milliseconds