Home
last modified time | relevance | path

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

/PHP-8.0/ext/snmp/
H A Dsnmp.c410 char buf2[2048]; in php_snmp_internal() local
510 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
550 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
554 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
556 buf2[0] = '\0'; in php_snmp_internal()
560 strcat(buf2, buf); in php_snmp_internal()
563 buf2[strlen(buf2) - 1] = '\0'; /* remove trailing '.' */ in php_snmp_internal()
565 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
567 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
568 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
[all …]
/PHP-8.0/ext/pdo_odbc/
H A Dodbc_stmt.c686 char *buf2; in odbc_stmt_get_col() local
688 buf2 = emalloc(256); in odbc_stmt_get_col()
695 …rc = SQLGetData(S->stmt, colno+1, C->is_unicode ? SQL_C_BINARY : SQL_C_CHAR, buf2, 256, &C->fetche… in odbc_stmt_get_col()
710 memcpy(buf + used, buf2, 255); in odbc_stmt_get_col()
714 memcpy(buf + used, buf2, C->fetched_len); in odbc_stmt_get_col()
723 efree(buf2); in odbc_stmt_get_col()
/PHP-8.0/ext/standard/
H A Darray.c232 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_case_unstable_i() local
245 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_case_unstable_i()
246 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_case_unstable_i()
257 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_unstable_i() local
270 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_unstable_i()
271 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string_unstable_i()
282 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_natural_general() local
295 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_natural_general()
296 l2 = buf2 + sizeof(buf2) - 1 - s1; in php_array_key_compare_string_natural_general()
330 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_locale_unstable_i() local
[all …]
/PHP-8.0/ext/sodium/
H A Dlibsodium.c455 char *buf2; in PHP_FUNCTION() local
461 &buf2, &len2) == FAILURE) { in PHP_FUNCTION()
469 RETURN_LONG(sodium_memcmp(buf1, buf2, len1)); in PHP_FUNCTION()
2768 char *buf2; in PHP_FUNCTION() local
2774 &buf2, &len2) == FAILURE) { in PHP_FUNCTION()
2783 (const unsigned char *) buf2, (size_t) len1)); in PHP_FUNCTION()
/PHP-8.0/ext/ffi/
H A Dffi.c1609 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_pass_incompatible() local
1620 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_pass_incompatible()
1621 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_pass_incompatible()
1624 *buf2.end = 0; in zend_ffi_pass_incompatible()
1625 …, found '%s'", n + 1, ZSTR_VAL(EX(func)->internal_function.function_name), buf1.start, buf2.start); in zend_ffi_pass_incompatible()
1636 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_assign_incompatible() local
1647 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_assign_incompatible()
1648 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_assign_incompatible()
1651 *buf2.end = 0; in zend_ffi_assign_incompatible()
1652 …ption_ce, "Incompatible types when assigning to type '%s' from type '%s'", buf1.start, buf2.start); in zend_ffi_assign_incompatible()
/PHP-8.0/ext/fileinfo/
H A Dlibmagic.patch2234 - char buf2[BUFSIZ+BUFSIZ+4];
2257 - (void)strlcpy(buf2, fn, sizeof buf2);
2258 - buf2[tmp - fn + 1] = '\0';
2260 - (void)strlcat(buf2, buf, sizeof buf2);
2261 - tmp = buf2;

Completed in 56 milliseconds