Changeset a2d3c2c in git
- Timestamp:
- 2006-05-25T02:38:27Z (14 years ago)
- Branches:
- 1.0, 1.1, 1.2, 1.3, 3.0, 3.1, 3.2, master, trunk
- Children:
- e59d43c
- Parents:
- d7d6864
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
const_string.c
r4389208 ra2d3c2c 25 25 }; 26 26 27 intxc_get_op_type_count()27 zend_uchar xc_get_op_type_count() 28 28 { 29 29 return sizeof(op_type_names) / sizeof(op_type_names[0]); … … 71 71 }; 72 72 73 intxc_get_data_type_count()73 zend_uchar xc_get_data_type_count() 74 74 { 75 75 return sizeof(data_type_names) / sizeof(data_type_names[0]); … … 102 102 #endif 103 103 104 intxc_get_opcode_count()104 zend_uchar xc_get_opcode_count() 105 105 { 106 106 return sizeof(xc_opcode_names) / sizeof(xc_opcode_names[0]); -
const_string.h
r4389208 ra2d3c2c 1 1 #include "php.h" 2 2 3 intxc_get_op_type_count();3 zend_uchar xc_get_op_type_count(); 4 4 const char *xc_get_op_type(zend_uchar op_type); 5 intxc_get_data_type_count();5 zend_uchar xc_get_data_type_count(); 6 6 const char *xc_get_data_type(zend_uchar data_type); 7 intxc_get_opcode_count();7 zend_uchar xc_get_opcode_count(); 8 8 const char *xc_get_opcode(zend_uchar opcode); -
opcode_spec.c
r93e9226 ra2d3c2c 13 13 #include "opcode_spec_def.h" 14 14 15 intxc_get_opcode_spec_count()15 zend_uchar xc_get_opcode_spec_count() 16 16 { 17 17 return sizeof(xc_opcode_spec) / sizeof(xc_opcode_spec[0]); … … 31 31 static const char *xc_op_spec[] = { OPSPECS(OPSPECS_DEF_NAME) }; 32 32 33 intxc_get_op_spec_count()33 zend_uchar xc_get_op_spec_count() 34 34 { 35 35 return sizeof(xc_op_spec) / sizeof(xc_op_spec[0]); -
opcode_spec.h
r4389208 ra2d3c2c 39 39 40 40 const xc_opcode_spec_t *xc_get_opcode_spec(zend_uchar opcode); 41 intxc_get_opcode_spec_count();42 intxc_get_op_spec_count();41 zend_uchar xc_get_opcode_spec_count(); 42 zend_uchar xc_get_op_spec_count(); 43 43 const char *xc_get_op_spec(zend_uchar spec); -
xcache.c
rd7d6864 ra2d3c2c 830 830 typedef struct { 831 831 const char *prefix; 832 int(*getsize)();832 zend_uchar (*getsize)(); 833 833 const char *(*get)(zend_uchar i); 834 834 } xc_meminfo_t; … … 841 841 }; 842 842 xc_meminfo_t* p; 843 int i;843 zend_uchar i, count; 844 844 char const_name[96]; 845 845 int const_name_len; … … 847 847 848 848 for (p = nameinfos; p->getsize; p ++) { 849 for (i = p->getsize() - 1; i >= 0; i --) { 849 count = p->getsize(); 850 for (i = 0; i < count; i ++) { 850 851 const char *name = p->get(i); 851 852 if (!name) continue;
Note: See TracChangeset
for help on using the changeset viewer.