Home
last modified time | relevance | path

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

/PHP-8.1/ext/snmp/
H A Dsnmp.c409 char buf2[2048]; in php_snmp_internal() local
504 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal()
544 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
548 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
550 buf2[0] = '\0'; in php_snmp_internal()
554 strcat(buf2, buf); in php_snmp_internal()
557 buf2[strlen(buf2) - 1] = '\0'; /* remove trailing '.' */ in php_snmp_internal()
559 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
561 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal()
562 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal()
[all …]
/PHP-8.1/ext/pdo_odbc/
H A Dodbc_stmt.c674 char *buf2 = emalloc(256); in odbc_stmt_get_col() local
681 …rc = SQLGetData(S->stmt, colno+1, C->is_unicode ? SQL_C_BINARY : SQL_C_CHAR, buf2, 256, &C->fetche… in odbc_stmt_get_col()
696 memcpy(ZSTR_VAL(str) + used, buf2, 256); in odbc_stmt_get_col()
700 memcpy(ZSTR_VAL(str) + used, buf2, C->fetched_len); in odbc_stmt_get_col()
709 efree(buf2); in odbc_stmt_get_col()
/PHP-8.1/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.1/ext/sodium/
H A Dlibsodium.c486 char *buf2; in PHP_FUNCTION() local
492 &buf2, &len2) == FAILURE) { in PHP_FUNCTION()
500 RETURN_LONG(sodium_memcmp(buf1, buf2, len1)); in PHP_FUNCTION()
2943 char *buf2; in PHP_FUNCTION() local
2949 &buf2, &len2) == FAILURE) { in PHP_FUNCTION()
2958 (const unsigned char *) buf2, (size_t) len1)); in PHP_FUNCTION()
/PHP-8.1/ext/ffi/
H A Dffi.c1616 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_pass_incompatible() local
1627 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_pass_incompatible()
1628 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_pass_incompatible()
1631 *buf2.end = 0; in zend_ffi_pass_incompatible()
1632 …, found '%s'", n + 1, ZSTR_VAL(EX(func)->internal_function.function_name), buf1.start, buf2.start); in zend_ffi_pass_incompatible()
1643 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_assign_incompatible() local
1654 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_assign_incompatible()
1655 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_assign_incompatible()
1658 *buf2.end = 0; in zend_ffi_assign_incompatible()
1659 …ption_ce, "Incompatible types when assigning to type '%s' from type '%s'", buf1.start, buf2.start); in zend_ffi_assign_incompatible()
/PHP-8.1/ext/fileinfo/
H A Dlibmagic.patch2014 - char buf2[BUFSIZ+BUFSIZ+4];
2037 - (void)strlcpy(buf2, fn, sizeof buf2);
2038 - buf2[tmp - fn + 1] = '\0';
2040 - (void)strlcat(buf2, buf, sizeof buf2);
2041 - tmp = buf2;

Completed in 86 milliseconds