Searched refs:buf2 (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/snmp/ |
H A D | snmp.c | 392 char buf2[2048]; in php_snmp_internal() local 487 snprint_value(buf2, sizeof(buf2), vars->name, vars->name_length, vars); in php_snmp_internal() 527 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal() 531 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal() 533 buf2[0] = '\0'; in php_snmp_internal() 537 strcat(buf2, buf); in php_snmp_internal() 540 buf2[strlen(buf2) - 1] = '\0'; /* remove trailing '.' */ in php_snmp_internal() 542 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal() 544 snprint_objid(buf2, sizeof(buf2), vars->name, vars->name_length); in php_snmp_internal() 545 add_assoc_zval(return_value, buf2, &snmpval); in php_snmp_internal() [all …]
|
/php-src/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 683 char *buf2 = emalloc(256); in odbc_stmt_get_col() local 690 …rc = SQLGetData(S->stmt, colno+1, C->is_unicode ? SQL_C_BINARY : SQL_C_CHAR, buf2, 256, &C->fetche… in odbc_stmt_get_col() 706 memcpy(ZSTR_VAL(str) + used, buf2, 256); in odbc_stmt_get_col() 710 memcpy(ZSTR_VAL(str) + used, buf2, C->fetched_len); in odbc_stmt_get_col() 719 efree(buf2); in odbc_stmt_get_col()
|
/php-src/ext/standard/ |
H A D | array.c | 172 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_case_unstable_i() local 185 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_case_unstable_i() 186 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string_case_unstable_i() 197 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_unstable_i() local 210 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_unstable_i() 211 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string_unstable_i() 222 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_natural_general() local 235 s2 = zend_print_long_to_buf(buf2 + sizeof(buf2) - 1, s->h); in php_array_key_compare_string_natural_general() 236 l2 = buf2 + sizeof(buf2) - 1 - s2; in php_array_key_compare_string_natural_general() 270 char buf2[MAX_LENGTH_OF_LONG + 1]; in php_array_key_compare_string_locale_unstable_i() local [all …]
|
/php-src/ext/sodium/ |
H A D | libsodium.c | 271 char *buf2; in PHP_FUNCTION() local 277 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 285 RETURN_LONG(sodium_memcmp(buf1, buf2, len1)); in PHP_FUNCTION() 3007 char *buf2; in PHP_FUNCTION() local 3013 &buf2, &len2) == FAILURE) { in PHP_FUNCTION() 3022 (const unsigned char *) buf2, (size_t) len1)); in PHP_FUNCTION()
|
/php-src/ext/ffi/ |
H A D | ffi.c | 1681 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_pass_incompatible() local 1692 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_pass_incompatible() 1693 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_pass_incompatible() 1696 *buf2.end = 0; in zend_ffi_pass_incompatible() 1697 …, found '%s'", n + 1, ZSTR_VAL(EX(func)->internal_function.function_name), buf1.start, buf2.start); in zend_ffi_pass_incompatible() 1708 zend_ffi_ctype_name_buf buf1, buf2; in zend_ffi_assign_incompatible() local 1719 buf2.start = buf2.end = buf2.buf + ((MAX_TYPE_NAME_LEN * 3) / 4); in zend_ffi_assign_incompatible() 1720 if (!zend_ffi_ctype_name(&buf2, type)) { in zend_ffi_assign_incompatible() 1723 *buf2.end = 0; in zend_ffi_assign_incompatible() 1724 …ption_ce, "Incompatible types when assigning to type '%s' from type '%s'", buf1.start, buf2.start); in zend_ffi_assign_incompatible()
|
/php-src/ext/fileinfo/ |
H A D | libmagic.patch | 1820 - char buf2[BUFSIZ+BUFSIZ+4]; 1843 - (void)strlcpy(buf2, fn, sizeof buf2); 1844 - buf2[tmp - fn + 1] = '\0'; 1846 - (void)strlcat(buf2, buf, sizeof buf2); 1847 - tmp = buf2;
|
Completed in 57 milliseconds