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

12345

/PHP_5_5/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_5_5/ext/xmlrpc/libxmlrpc/
H A Dbase64.h16 char *ptr; member in struct:buffer_st
/PHP_5_5/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_5_5/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_5_5/ext/pcre/pcrelib/
H A Dpcre_newline.c62 /* It is guaranteed that the initial value of ptr is less than the end of the
66 ptr pointer to possible newline
76 PRIV(is_newline)(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR endptr, int *lenptr, argument
84 GETCHAR(c, ptr);
88 c = *ptr;
95 case CHAR_CR: *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1;
112 *lenptr = (ptr < endptr - 1 && ptr[1] == CHAR_LF)? 2 : 1;
137 /* It is guaranteed that the initial value of ptr i
151 was_newline(PCRE_PUCHAR ptr, int type, PCRE_PUCHAR startptr, int *lenptr, BOOL utf) argument
[all...]
/PHP_5_5/ext/fileinfo/libmagic/
H A Dcdf_time.c172 char *ptr = ctime_r(sec, buf); local
173 if (ptr != NULL)
/PHP_5_5/ext/opcache/Optimizer/
H A Dpass1_5.c142 char *ptr; variable
166 ptr = (char *)emalloc(final_length + 1);
167 ptr[final_length] = '\0';
171 ZEND_OP2_LITERAL(opline).value.str.val = ptr;
172 ptr[0] = chval;
175 ptr++;
177 memcpy(ptr, Z_STRVAL(ZEND_OP2_LITERAL(opline)), Z_STRLEN(ZEND_OP2_LITERAL(opline)));
181 Z_STRVAL(ZEND_OP2_LITERAL(opline)) = ptr;
182 ptr += Z_STRLEN(ZEND_OP2_LITERAL(opline));
188 memcpy(ptr, ZEND_OP2_LITERA
[all...]
/PHP_5_5/ext/pdo_dblib/
H A Ddblib_stmt.c215 static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, argument
229 *ptr = dbdata(H->link, colno+1);
231 if (*len == 0 && *ptr == NULL) {
244 memcpy(tmp_ptr, *ptr, *len);
246 *ptr = tmp_ptr;
252 dbconvert(NULL, coltype, *ptr, *len, SQLFLT8, (LPBYTE)&money_value, 8);
254 *ptr = tmp_ptr;
262 *len = dbconvert(NULL, SQLUNIQUE, *ptr, *len, SQLCHAR, tmp_ptr, *len);
264 *ptr = tmp_ptr;
271 *len = dbconvert(NULL, coltype, *ptr, *le
[all...]
/PHP_5_5/ext/pdo_sqlite/
H A Dsqlite_statement.c249 static int pdo_sqlite_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int *caller_frees TSRMLS_DC) argument
262 *ptr = NULL;
267 *ptr = (char*)sqlite3_column_blob(S->stmt, colno);
272 *ptr = (char*)sqlite3_column_text(S->stmt, colno);
/PHP_5_5/ext/sysvshm/
H A Dphp_sysvshm.h58 sysvshm_chunk_head *ptr; /* memory address of shared memory */ member in struct:__anon280
H A Dsysvshm.c119 static int php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len);
120 static long php_check_shm_data(sysvshm_chunk_head *ptr, long key);
121 static int php_remove_shm_data(sysvshm_chunk_head *ptr, long shm_varpos);
127 sysvshm_shm *shm_ptr = (sysvshm_shm *) rsrc->ptr;
128 shmdt((void *) shm_ptr->ptr);
198 shm_list_ptr->ptr = chunk_ptr;
267 ret = php_put_shm_data(shm_list_ptr->ptr, shm_key, shm_var.c, shm_var.len);
299 shm_varpos = php_check_shm_data((shm_list_ptr->ptr), shm_key);
305 shm_var = (sysvshm_chunk*) ((char *)shm_list_ptr->ptr + shm_varpos);
329 RETURN_BOOL(php_check_shm_data(shm_list_ptr->ptr, shm_ke
359 php_put_shm_data(sysvshm_chunk_head *ptr, long key, const char *data, long len) argument
388 php_check_shm_data(sysvshm_chunk_head *ptr, long key) argument
415 php_remove_shm_data(sysvshm_chunk_head *ptr, long shm_varpos) argument
[all...]
/PHP_5_5/ext/xmlreader/
H A Dphp_xmlreader.h36 xmlTextReaderPtr ptr; member in struct:_xmlreader_object
/PHP_5_5/ext/xmlwriter/
H A Dphp_xmlwriter.h38 xmlTextWriterPtr ptr; member in struct:_xmlwriter_object
/PHP_5_5/ext/xsl/
H A Dphp_xsl.h58 void *ptr; member in struct:_xsl_object
/PHP_5_5/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_5_5/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_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_5_5/ext/com_dotnet/
H A Dcom_extension.c282 char *modifier, *ptr; local
304 ptr = typelib_name + strlen(typelib_name) - 1;
305 while ((ptr != typelib_name) && isspace(*ptr)) {
306 *ptr = '\0';
307 ptr--;
/PHP_5_5/ext/dom/
H A Dxml_common.h31 void *ptr; member in struct:_dom_object
74 if (!(__ptr = (__prtype)__intern->document->ptr)) { \
/PHP_5_5/ext/mysqlnd/
H A Dmysqlnd_loaddata.c30 int mysqlnd_local_infile_init(void ** ptr, char * filename, void ** userdata 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_5_5/sapi/embed/
H A Dphp_embed.c66 const char *ptr = str; local
71 ret = php_embed_single_write(ptr, remaining);
75 ptr += ret;

Completed in 46 milliseconds

12345