Searched defs:ptr (Results 1 - 25 of 122) sorted by relevance

12345

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dstr2num.c47 char *ptr, *nptr; local
54 ptr = str;
58 if ( (*ptr == '+') || (*ptr == '-')) ptr++; /* Sign */
59 while (*ptr == '0') ptr++; /* Skip leading zeros. */
60 while (isdigit((int)*ptr)) ptr++, digits++; /* digits */
61 if (*ptr
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dbase64.h16 char *ptr; member in struct:buffer_st
/PHP_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_allocators.c79 static void *__mbfl__realloc(void *ptr, unsigned int sz) argument
81 return realloc(ptr, sz);
89 static void __mbfl__free(void *ptr) argument
91 free(ptr);
/PHP_TRUNK/ext/mbstring/libmbfl/tests/
H A Dconv_encoding.c13 static void hexdump(const mbfl_string *ptr) argument
17 for (i = 0; i < ptr->len; i++) {
18 printf("%%%02x", ptr->val[i]);
21 printf(" (%u)\n", ptr->len);
H A Dconv_kana.c13 static void hexdump(const mbfl_string *ptr) argument
17 for (i = 0; i < ptr->len; i++) {
18 printf("%%%02x", ptr->val[i]);
21 printf(" (%u)\n", ptr->len);
H A Demoji.c13 static void hexdump(const mbfl_string *ptr) argument
17 for (i = 0; i < ptr->len; i++) {
18 printf("%%%02x", ptr->val[i]);
21 printf(" (%u)\n", ptr->len);
H A Dstrcut.c14 static void hexdump(const mbfl_string *ptr) argument
18 for (i = 0; i < ptr->len; i++) {
19 printf("%%%02x", ptr->val[i]);
22 printf(" (%u)\n", ptr->len);
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dcdf_time.c172 char *ptr = ctime_r(sec, buf); local
173 if (ptr != NULL)
/PHP_TRUNK/Zend/
H A Dzend_ptr_stack.c43 va_list ptr; local
48 va_start(ptr, count);
50 elem = va_arg(ptr, void *);
55 va_end(ptr);
61 va_list ptr; local
64 va_start(ptr, count);
66 elem = va_arg(ptr, void **);
71 va_end(ptr);
H A Dzend_ptr_stack.h100 static zend_always_inline void zend_ptr_stack_push(zend_ptr_stack *stack, void *ptr) argument
105 *(stack->top_element++) = ptr;
H A Dzend_arena.h29 char *ptr; member in struct:_zend_arena
38 arena->ptr = (char*) arena + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena));
58 char *ptr = arena->ptr; local
62 if (EXPECTED(size <= (size_t)(arena->end - ptr))) {
63 arena->ptr = ptr + size;
71 ptr = (char*) new_arena + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena));
72 new_arena->ptr = (char*) new_arena + ZEND_MM_ALIGNED_SIZE(sizeof(zend_arena)) + size;
78 return (void*) ptr;
[all...]
H A Dzend_objects_API.c103 void *ptr = ((char*)obj) - obj->handlers->offset; local
105 efree(ptr);
138 void *ptr = ((char*)object) - object->handlers->offset; local
141 efree(ptr);
173 void *ptr; local
188 ptr = ((char*)object) - object->handlers->offset;
190 efree(ptr);
H A Dzend_highlight.c59 const unsigned char *ptr = (const unsigned char*)s, *end = ptr + len; local
64 LANG_SCNG(output_filter)(&filtered, &filtered_len, ptr, len TSRMLS_CC);
65 ptr = filtered;
69 while (ptr<end) {
70 if (*ptr==' ') {
72 zend_html_putc(*ptr);
73 } while ((++ptr < end) && (*ptr==' '));
75 zend_html_putc(*ptr
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_newline.c60 /* It is guaranteed that the initial value of ptr is less than the end of the
64 ptr pointer to possible newline
74 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr, argument
82 GETCHAR(c, ptr);
86 c = *ptr;
93 case CHAR_CR: *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1;
110 *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1;
135 /* It is guaranteed that the initial value of ptr i
149 was_newline(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr, BOOL utf) argument
[all...]
/PHP_TRUNK/ext/pcre/pcrelib/sljit/
H A DsljitUtils.c207 void *ptr; member in union:__anon138
240 base.ptr = VirtualAlloc(NULL, max_limit, MEM_RESERVE, PAGE_READWRITE);
241 if (!base.ptr) {
254 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_ANON, -1, 0);
262 base.ptr = mmap(NULL, max_limit, PROT_READ | PROT_WRITE, MAP_PRIVATE, dev_zero, 0);
264 if (base.ptr == MAP_FAILED) {
/PHP_TRUNK/TSRM/
H A Dtsrm_nw.c58 char *ptr = NULL; local
127 ptr = tsrm_strtok_r((char*)commandline, WHITESPACE, NULL);
128 ptrLen = strlen(ptr);
136 strcpy (command, ptr);
138 ptr = tsrm_strtok_r(NULL, WHITESPACE, NULL);
139 while (ptr && (argc < MAX_ARGS)) {
140 ptrLen = strlen(ptr);
156 strcpy (argv[argc], ptr);
158 ptr = tsrm_strtok_r(NULL, WHITESPACE, NULL);
/PHP_TRUNK/ext/dom/
H A Dxml_common.h30 void *ptr; member in struct:_dom_object
80 if (!(__ptr = (__prtype)__intern->document->ptr)) { \
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_loaddata.c30 int mysqlnd_local_infile_init(void ** ptr, const char * const filename TSRMLS_DC) argument
42 *ptr = info;
69 int mysqlnd_local_infile_read(void * ptr, zend_uchar * buf, unsigned int buf_len TSRMLS_DC) argument
71 MYSQLND_INFILE_INFO *info = (MYSQLND_INFILE_INFO *)ptr;
90 int mysqlnd_local_infile_error(void * ptr, char *error_buf, unsigned int error_buf_len TSRMLS_DC) argument
92 MYSQLND_INFILE_INFO *info = (MYSQLND_INFILE_INFO *)ptr;
111 void mysqlnd_local_infile_end(void * ptr TSRMLS_DC)
113 MYSQLND_INFILE_INFO *info = (MYSQLND_INFILE_INFO *)ptr;
/PHP_TRUNK/ext/pdo_sqlite/
H A Dsqlite_statement.c262 static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, zend_ulong *len, int *caller_frees TSRMLS_DC) argument
275 *ptr = NULL;
280 *ptr = (char*)sqlite3_column_blob(S->stmt, colno);
285 *ptr = (char*)sqlite3_column_text(S->stmt, colno);
/PHP_TRUNK/ext/xmlreader/
H A Dphp_xmlreader.h35 xmlTextReaderPtr ptr; member in struct:_xmlreader_object
/PHP_TRUNK/ext/pdo_dblib/
H A Ddblib_stmt.c209 static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, argument
223 *ptr = dbdata(H->link, colno+1);
225 if (*len == 0 && *ptr == NULL) {
238 memcpy(tmp_ptr, *ptr, *len);
240 *ptr = tmp_ptr;
246 dbconvert(NULL, coltype, *ptr, *len, SQLFLT8, (LPBYTE)&money_value, 8);
248 *ptr = tmp_ptr;
254 *len = dbconvert(NULL, SQLUNIQUE, *ptr, *len, SQLCHAR, tmp_ptr, *len);
257 *ptr = tmp_ptr;
264 *len = dbconvert(NULL, coltype, *ptr, *le
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_btree.h28 void *ptr; member in struct:__anon4
60 int phpdbg_btree_insert_or_update(phpdbg_btree *tree, zend_ulong idx, void *ptr, int flags);
61 #define phpdbg_btree_insert(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BTREE_INSERT)
62 #define phpdbg_btree_update(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BTREE_UPDATE)
63 #define phpdbg_btree_overwrite(tree, idx, ptr) phpdbg_btree_insert_or_update(tree, idx, ptr, PHPDBG_BTREE_OWERWRITE)
H A Dphpdbg_sigsafe.c28 static void zend_mm_mem_free(zend_mm_storage *storage, void *ptr, size_t size) { argument
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_extension.c284 char *modifier, *ptr; local
306 ptr = typelib_name + strlen(typelib_name) - 1;
307 while ((ptr != typelib_name) && isspace(*ptr)) {
308 *ptr = '\0';
309 ptr--;
/PHP_TRUNK/ext/xmlwriter/
H A Dphp_xmlwriter.h38 xmlTextWriterPtr ptr; member in struct:_xmlwriter_object

Completed in 95 milliseconds

12345