Lines Matching refs:buf
1130 smart_str buf = {0}; in SPL_METHOD() local
1143 php_var_serialize(&buf, &flags, &var_hash); in SPL_METHOD()
1147 smart_str_appendc(&buf, ':'); in SPL_METHOD()
1150 php_var_serialize(&buf, ¤t->data, &var_hash); in SPL_METHOD()
1155 smart_str_0(&buf); in SPL_METHOD()
1160 if (buf.s) { in SPL_METHOD()
1161 RETURN_NEW_STR(buf.s); in SPL_METHOD()
1174 char *buf; in SPL_METHOD() local
1179 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &buf, &buf_len) == FAILURE) { in SPL_METHOD()
1193 s = p = (const unsigned char*)buf; in SPL_METHOD()
1225 …spl_ce_UnexpectedValueException, 0, "Error at offset %zd of %zd bytes", ((char*)p - buf), buf_len); in SPL_METHOD()