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

/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 Dfile.c2328 char buff[META_DEF_BUFSIZE + 1]; local
2330 memset((void *)buff, 0, META_DEF_BUFSIZE + 1);
2363 buff[(md->token_len)++] = ch;
2379 memcpy(md->token_data, buff, md->token_len+1);
2397 buff[(md->token_len)++] = ch;
2399 buff[(md->token_len)++] = ch;
2413 memcpy(md->token_data, buff, md->token_len+1);
H A Dstreamsfuncs.c1347 size_t buff; local
1356 buff = arg2;
1358 /* if buff is 0 then set to non-buffered */
1359 if (buff == 0) {
1362 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_WRITE_BUFFER, PHP_STREAM_BUFFER_FULL, &buff);
1410 size_t buff; local
1419 buff = arg2;
1421 /* if buff is 0 then set to non-buffered */
1422 if (buff == 0) {
1425 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_READ_BUFFER, PHP_STREAM_BUFFER_FULL, &buff);
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_study.c642 pcre_uchar buff[6]; local
644 (void)PRIV(ord2utf)(c, buff);
645 SET_BIT(buff[0]);
726 pcre_uchar buff[6]; local
727 (void)PRIV(ord2utf)(c, buff);
728 SET_BIT(buff[0]);
931 pcre_uchar buff[6]; local
932 (void)PRIV(ord2utf)(c, buff);
933 c = buff[0];
/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);
123 efree(buff);
/PHP_TRUNK/Zend/
H A Dzend_virtual_cwd.h260 #define VCWD_GETCWD(buff, size) virtual_getcwd(buff, size)
271 #define VCWD_STAT(path, buff) virtual_stat(path, buff)
272 # define VCWD_LSTAT(path, buff) virtual_lstat(path, buff)
292 #define VCWD_GETCWD(buff, size) getcwd(buff, size)
307 #define VCWD_STAT(path, buff) php_sys_stat(path, buff)
[all...]
/PHP_TRUNK/ext/spl/
H A Dspl_directory.c1225 char buff[MAXPATHLEN]; local
1244 ret = php_sys_readlink(expanded_path, buff, MAXPATHLEN - 1);
1246 ret = php_sys_readlink(intern->file_name, buff, MAXPATHLEN-1);
1257 buff[ret] = '\0';
1259 RETVAL_STRINGL(buff, ret);
1272 char buff[MAXPATHLEN]; local
1293 if (filename && VCWD_REALPATH(filename, buff)) {
1295 if (VCWD_ACCESS(buff, F_OK)) {
1299 RETVAL_STRING(buff);
/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, (const char *) xmlOutputBufferGetContent(buff), xmlOutputBufferGetSize(buff));
196 smart_str_appendl(&ret_buf, (char *) buff->buffer->content, buff->buffer->use);
199 (void)xmlOutputBufferClose(buff);
/PHP_TRUNK/ext/gd/
H A Dgd.c2330 zend_string *buff; local
2333 buff = php_stream_copy_to_mem(stream, PHP_STREAM_COPY_ALL, 0);
2335 if (!buff) {
2341 pstr = pestrndup(ZSTR_VAL(buff), ZSTR_LEN(buff), 1);
2342 io_ctx = gdNewDynamicCtxEx(ZSTR_LEN(buff), pstr, 0);
2345 zend_string_release(buff);
2357 zend_string_release(buff);
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd.c1471 zend_uchar buff[MYSQLND_MAX_ALLOWED_DB_LEN * 2 + 1 + 1], *p; local
1479 p = buff;
1494 if (PASS != conn->m->simple_command(conn, COM_FIELD_LIST, buff, p - buff,
1785 zend_uchar buff[4]; local
1791 int4store(buff, pid);
1795 ret = conn->m->simple_command(conn, COM_PROCESS_KILL, buff, 4, PROT_OK_PACKET, FALSE, TRUE);
1801 } else if (PASS == (ret = conn->m->simple_command(conn, COM_PROCESS_KILL, buff, 4, PROT_LAST, FALSE, TRUE))) {
/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);

Completed in 40 milliseconds