Searched refs:buff (Results 1 - 12 of 12) sorted by relevance

/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_study.c606 pcre_uchar buff[6]; local
608 (void)PRIV(ord2utf)(c, buff);
609 SET_BIT(buff[0]);
690 pcre_uchar buff[6]; local
691 (void)PRIV(ord2utf)(c, buff);
692 SET_BIT(buff[0]);
/PHP_TRUNK/ext/dom/
H A Ddocumenttype.c187 xmlOutputBuffer *buff = xmlAllocOutputBuffer(NULL); local
189 if (buff != NULL) {
190 xmlNodeDumpOutput (buff, NULL, cur, 0, 0, NULL);
191 xmlOutputBufferFlush(buff);
194 smart_str_appendl(&ret_buf, xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize(buff));
196 smart_str_appendl(&ret_buf, buff->buffer->content, buff->buffer->use);
199 (void)xmlOutputBufferClose(buff);
/PHP_TRUNK/ext/intl/idn/
H A Didn.c118 char *buff; local
119 spprintf(&buff, 0, "%s: %s",
122 intl_error_set_custom_msg(NULL, buff, 1 TSRMLS_CC);
123 efree(buff);
/PHP_TRUNK/ext/oci8/
H A Doci8_collection.c482 oratext buff[1024]; local
520 PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, element, 0, 0, 0, 0, &buff_len, buff));
528 ZVAL_STRINGL(result_element, (char *)buff, buff_len);
H A Doci8_statement.c1023 oratext buff[1024]; local
1026 memset((void*)buff,0,sizeof(buff));
1029 PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, &(((OCIDate *)(bind->array.elements))[i]), 0, 0, 0, 0, &buff_len, buff));
1038 ZVAL_STRINGL(entry, (char *)buff, buff_len);
1042 PHP_OCI_CALL_RETURN(errstatus, OCIDateToText, (connection->err, &(((OCIDate *)(bind->array.elements))[i]), 0, 0, 0, 0, &buff_len, buff));
1049 add_next_index_stringl(&bind->zval, (char *)buff, buff_len);
/PHP_TRUNK/ext/standard/
H A Dlink.c59 char buff[MAXPATHLEN]; local
70 ret = php_sys_readlink(link, buff, MAXPATHLEN-1);
77 buff[ret] = '\0';
79 RETURN_STRING(buff);
H A Dstreamsfuncs.c1341 size_t buff; local
1350 buff = arg2;
1352 /* if buff is 0 then set to non-buffered */
1353 if (buff == 0) {
1356 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_WRITE_BUFFER, PHP_STREAM_BUFFER_FULL, &buff);
1404 size_t buff; local
1413 buff = arg2;
1415 /* if buff is 0 then set to non-buffered */
1416 if (buff == 0) {
1419 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_READ_BUFFER, PHP_STREAM_BUFFER_FULL, &buff);
[all...]
H A Dfile.c2368 char buff[META_DEF_BUFSIZE + 1]; local
2370 memset((void *)buff, 0, META_DEF_BUFSIZE + 1);
2403 buff[(md->token_len)++] = ch;
2419 memcpy(md->token_data, buff, md->token_len+1);
2437 buff[(md->token_len)++] = ch;
2439 buff[(md->token_len)++] = ch;
2453 memcpy(md->token_data, buff, md->token_len+1);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1458 zend_uchar buff[MYSQLND_MAX_ALLOWED_DB_LEN * 2 + 1 + 1], *p; local
1466 p = buff;
1481 if (PASS != conn->m->simple_command(conn, COM_FIELD_LIST, buff, p - buff,
1772 zend_uchar buff[4]; local
1778 int4store(buff, pid);
1782 ret = conn->m->simple_command(conn, COM_PROCESS_KILL, buff, 4, PROT_OK_PACKET, FALSE, TRUE TSRMLS_CC);
1788 } else if (PASS == (ret = conn->m->simple_command(conn, COM_PROCESS_KILL, buff, 4, PROT_LAST, FALSE, TRUE TSRMLS_CC))) {
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1228 char buff[MAXPATHLEN]; local
1247 ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1);
1249 ret = php_sys_readlink(intern->file_name, buff, MAXPATHLEN-1);
1260 buff[ret] = '\0';
1262 RETVAL_STRINGL(buff, ret);
1275 char buff[MAXPATHLEN]; local
1296 if (filename && VCWD_REALPATH(filename, buff)) {
1298 if (VCWD_ACCESS(buff, F_OK)) {
1302 RETVAL_STRING(buff);
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.h260 #define VCWD_GETCWD(buff, size) virtual_getcwd(buff, size TSRMLS_CC)
271 #define VCWD_STAT(path, buff) virtual_stat(path, buff TSRMLS_CC)
272 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff TSRMLS_CC)
292 #define VCWD_GETCWD(buff, size) getcwd(buff, size)
307 #define VCWD_STAT(path, buff) php_sys_stat(path, buff)
[all...]
/PHP_TRUNK/ext/gd/
H A Dgd.c2377 zend_string *buff; local
2380 buff = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
2382 if (!buff) {
2388 pstr = pestrndup(buff->val, buff->len, 1);
2389 io_ctx = gdNewDynamicCtxEx(buff->len, pstr, 0);
2392 zend_string_release(buff);
2404 zend_string_release(buff);

Completed in 36 milliseconds