Home
last modified time | relevance | path

Searched refs:uint8_t (Results 1 – 25 of 191) sorted by relevance

12345678

/php-src/ext/gd/libgd/
H A Dgd_tga.h10 uint8_t identsize; // size of ID field that follows 18 uint8_t header (0 usually)
11uint8_t colormaptype; // type of colour map 0=none, 1=has palette [IGNORED] Adrian requested …
12 uint8_t imagetype; // type of image 0=none,1=indexed,2=rgb,3=grey,+8=rle packed
16uint8_t colormapbits; // number of bits per palette entry 15,16,24,32 [IGNORED] Adrian request…
22 uint8_t bits; // image bits per pixel 8,16,24,32
23 uint8_t alphabits; // alpha bits (low 4bits of header 17)
24 uint8_t fliph; // horizontal or vertical
25 uint8_t flipv; // flip
H A Dgd_webp.c42 uint8_t *filedata = NULL; in gdImageCreateFromWebpCtx()
43 uint8_t *argb = NULL; in gdImageCreateFromWebpCtx()
47 uint8_t *p; in gdImageCreateFromWebpCtx()
90 register uint8_t a = gdAlphaMax - (*(p++) >> 1); in gdImageCreateFromWebpCtx()
91 register uint8_t r = *(p++); in gdImageCreateFromWebpCtx()
92 register uint8_t g = *(p++); in gdImageCreateFromWebpCtx()
93 register uint8_t b = *(p++); in gdImageCreateFromWebpCtx()
106 uint8_t *argb; in gdImageWebpCtx()
108 uint8_t *p; in gdImageWebpCtx()
109 uint8_t *out; in gdImageWebpCtx()
[all …]
/php-src/ext/opcache/jit/ir/
H A Dir_elf.h18 uint8_t emagic[4];
19 uint8_t eclass;
20 uint8_t eendian;
21 uint8_t eversion;
22 uint8_t eosabi;
23 uint8_t eabiversion;
24 uint8_t epad[7];
71 uint8_t info;
72 uint8_t other;
80 uint8_t info;
[all …]
H A Dir_patch.c14 static uint32_t _asm_x86_inslen(const uint8_t* p) in _asm_x86_inslen()
16 static const uint8_t map_op1[256] = { in _asm_x86_inslen()
42 static const uint8_t map_op2[256] = { in _asm_x86_inslen()
151 uint8_t *p, *end; in ir_patch_code()
153 p = (uint8_t*)code; in ir_patch_code()
156 …if ((*(unaligned_uint16_t*)p & 0xf0ff) == 0x800f && p + *(unaligned_int32_t*)(p+2) == (uint8_t*)fr… in ir_patch_code()
157 *(unaligned_int32_t*)(p+2) = ((uint8_t*)to_addr - (p + 6)); in ir_patch_code()
159 } else if (*p == 0xe9 && p + *(unaligned_int32_t*)(p+1) == (uint8_t*)from_addr - 5) { in ir_patch_code()
160 *(unaligned_int32_t*)(p+1) = ((uint8_t*)to_addr - (p + 5)); in ir_patch_code()
176 uint8_t *p, *end; in ir_patch_code()
[all …]
H A Dir_gdb.c195 uint8_t *p = ctx->p; in ir_gdbjit_strz()
198 *p++ = (uint8_t)*str; in ir_gdbjit_strz()
207 uint8_t *p = ctx->p; in ir_gdbjit_uleb128()
210 *p++ = (uint8_t)v; in ir_gdbjit_uleb128()
217 uint8_t *p = ctx->p; in ir_gdbjit_sleb128()
220 *p++ = (uint8_t)(v & 0x7f); in ir_gdbjit_sleb128()
304 uint8_t *p = ctx->p; in ir_gdbjit_ehframe()
305 uint8_t *framep = p; in ir_gdbjit_ehframe()
360 uint8_t *p = ctx->p; in ir_gdbjit_debuginfo()
379 uint8_t *p = ctx->p; in ir_gdbjit_debugabbrev()
[all …]
/php-src/ext/standard/
H A Dcrypt_freesec.c72 static const uint8_t IP[64] = {
214 uint8_t inv_key_perm[64]; in _crypt_extended_init()
215 uint8_t inv_comp_perm[56]; in _crypt_extended_init()
217 uint8_t u_sbox[8][64]; in _crypt_extended_init()
218 uint8_t un_pbox[32]; in _crypt_extended_init()
377 (uint32_t)(uint8_t)key[3] | in des_setkey()
583 (uint32_t)(uint8_t)in[3] | in des_cipher()
588 (uint32_t)(uint8_t)in[7] | in des_cipher()
613 uint8_t *p, *q; in _crypt_extended_r()
622 q = (uint8_t *) keybuf; in _crypt_extended_r()
[all …]
/php-src/ext/pcre/pcre2lib/
H A Dpcre2_maketables.c74 static const uint8_t *maketables(void)
76 uint8_t *yield = (uint8_t *)malloc(TABLES_LENGTH);
79 PCRE2_EXP_DEFN const uint8_t * PCRE2_CALL_CONVENTION
82 uint8_t *yield = (uint8_t *)((gcontext != NULL)?
88 uint8_t *p;
156 pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables)
H A Dpcre2_serialize.c73 uint8_t **serialized_bytes, PCRE2_SIZE *serialized_size, in pcre2_serialize_encode()
76 uint8_t *bytes; in pcre2_serialize_encode()
77 uint8_t *dst_bytes; in pcre2_serialize_encode()
81 const uint8_t *tables; in pcre2_serialize_encode()
164 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode()
170 const uint8_t *src_bytes; in pcre2_serialize_decode()
172 uint8_t *tables; in pcre2_serialize_decode()
230 memcpy(((uint8_t *)dst_re) + sizeof(pcre2_memctl), in pcre2_serialize_decode()
259 pcre2_serialize_get_number_of_codes(const uint8_t *bytes) in pcre2_serialize_get_number_of_codes()
277 pcre2_serialize_free(uint8_t *bytes) in pcre2_serialize_free()
H A Dpcre2_intmodedep.h569 const uint8_t *tables;
622 const uint8_t *tables; /* The character tables */
668 uint8_t flags; /* Various flags */
724 const uint8_t *lcc; /* Points to lower casing table */
725 const uint8_t *fcc; /* Points to case-flipping table */
727 const uint8_t *ctypes; /* Points to table of type maps */
804 uint8_t op; /* Processing opcode */
873 const uint8_t *lcc; /* Points to lower casing table */
874 const uint8_t *fcc; /* Points to case-flipping table */
875 const uint8_t *ctypes; /* Points to table of type maps */
[all …]
/php-src/Zend/
H A Dzend_vm_opcodes.c451 ZEND_API const char* ZEND_FASTCALL zend_get_opcode_name(uint8_t opcode) { in zend_get_opcode_name()
457 ZEND_API uint32_t ZEND_FASTCALL zend_get_opcode_flags(uint8_t opcode) { in zend_get_opcode_flags()
463 ZEND_API uint8_t zend_get_opcode_id(const char *name, size_t length) { in zend_get_opcode_id()
464 uint8_t opcode; in zend_get_opcode_id()
H A Dzend_generators.h96 uint8_t flags;
99 static const uint8_t ZEND_GENERATOR_CURRENTLY_RUNNING = 0x1;
100 static const uint8_t ZEND_GENERATOR_FORCED_CLOSE = 0x2;
101 static const uint8_t ZEND_GENERATOR_AT_FIRST_YIELD = 0x4;
102 static const uint8_t ZEND_GENERATOR_DO_INIT = 0x8;
103 static const uint8_t ZEND_GENERATOR_IN_FIBER = 0x10;
/php-src/ext/fileinfo/libmagic/
H A Dder.c137 static uint8_t
138 getclass(uint8_t c) in getclass()
143 static uint8_t
144 gettype(uint8_t c) in gettype()
186 uint8_t digits, i; in getlength()
241 const uint8_t *d = CAST(const uint8_t *, q); in der_data()
268 const uint8_t *b = RCAST(const uint8_t *, ms->search.s); in der_offs()
307 const uint8_t *b = RCAST(const uint8_t *, ms->search.s); in der_cmp()
390 const uint8_t *d = q; in printtag()
415 const uint8_t *q; in printdata()
[all …]
H A Dfile.h188 uint8_t b;
205 uint8_t flag;
216 uint8_t factor;
219 uint8_t reln; /* relation (0=eq, '>'=gt, etc) */
221 uint8_t type; /* comparison type (FILE_*) */
222 uint8_t in_type; /* type of indirection */
305 uint8_t in_op; /* operator for indirection */
306 uint8_t mask_op; /* operator for mask */
308 uint8_t cond; /* conditional type */
310 uint8_t dummy;
[all …]
/php-src/ext/standard/libavifinfo/
H A Davifinfo.c138 uint8_t tile_item_id;
139 uint8_t parent_item_id;
143 uint8_t property_index;
144 uint8_t item_id;
148 uint8_t property_index;
153 uint8_t property_index;
164 uint8_t num_tiles;
166 uint8_t num_props;
168 uint8_t num_dim_props;
255 const uint8_t* data; in AvifInfoInternalParseBox()
[all …]
H A Davifinfo.h50 AvifInfoStatus AvifInfoIdentify(const uint8_t* data, size_t data_size);
56 AvifInfoStatus AvifInfoGetFeatures(const uint8_t* data, size_t data_size,
69 typedef const uint8_t* (*read_stream_t)(void* stream, size_t num_bytes);
/php-src/ext/mysqlnd/
H A Dmysqlnd_wireprotocol.h62 uint8_t protocol_version;
69 uint8_t charset_no;
91 uint8_t charset_no;
103 uint8_t response_code;
133 uint8_t field_count; /* always 0x0 */
158 uint8_t field_count; /* 0xFE */
282 uint8_t response_code;
283 uint8_t result;
284 uint8_t request;
/php-src/main/streams/
H A Dphp_stream_filter_api.h47 uint8_t own_buf;
48 uint8_t is_persistent;
66 …stream_bucket_new(php_stream *stream, char *buf, size_t buflen, uint8_t own_buf, uint8_t buf_persi…
130 …p_stream_filter_alloc(const php_stream_filter_ops *fops, void *abstract, uint8_t persistent STREAM…
141 …php_stream_filter *(*create_filter)(const char *filtername, zval *filterparams, uint8_t persistent…
148 …m_filter *php_stream_filter_create(const char *filtername, zval *filterparams, uint8_t persistent);
/php-src/ext/ffi/tests/
H A Ddeprecations.phpt10 $p1 = FFI::new("uint8_t[2]");
16 FFI::new("uint8_t[2]");
36 $p = FFI::cast("uint8_t[2]", $p1);
41 FFI::cast("uint8_t[2]", $p1);
50 object(FFI\CData:uint8_t[2])#1 (2) {
H A D033.phpt11 $p1 = $ffi->new("uint8_t[2]");
32 object(FFI\CData:uint8_t[2])#%d (2) {
44 object(FFI\CType:uint8_t[2])#%d (0) {
46 object(FFI\CData:uint8_t[2])#%d (2) {
H A Dbug77768.phpt19 typedef unsigned int uint8_t;
35 var_dump(FFI::sizeof($x->new("uint8_t")));
36 var_dump(FFI::sizeof(FFI::cdef()->new("uint8_t")));
H A D022.phpt22 test_size(3, "struct {char a; uint8_t b; uint8_t c;}");
29 test_size(6, "struct {char a; uint8_t b; uint8_t c;}[2]");
36 test_align(1, "union {char a; uint8_t b; uint8_t c;}");
/php-src/ext/opcache/jit/
H A Dzend_jit.h106 uint8_t trigger;
107 uint8_t opt_level;
138 uint8_t bad_root_cache_count[ZEND_JIT_TRACE_BAD_ROOT_SLOTS];
139 uint8_t bad_root_cache_stop[ZEND_JIT_TRACE_BAD_ROOT_SLOTS];
142 uint8_t *exit_counters;
/php-src/ext/dom/lexbor/lexbor/core/
H A Dmraw.c22 &((uint8_t *) (data))[ lexbor_mraw_meta_size() ]
106 uint8_t *data; in lexbor_mraw_mem_alloc()
193 uint8_t *real_data = ((uint8_t *) data) - lexbor_mraw_meta_size(); in lexbor_mraw_alloc()
285 memcpy(new_data, data, sizeof(uint8_t) * size); in lexbor_mraw_realloc_tail()
321 begin = ((uint8_t *) data) - lexbor_mraw_meta_size(); in lexbor_mraw_realloc()
363 begin = &((uint8_t *) data)[diff]; in lexbor_mraw_realloc()
383 memcpy(begin, data, sizeof(uint8_t) * size); in lexbor_mraw_realloc()
397 uint8_t *real_data = ((uint8_t *) data) - lexbor_mraw_meta_size(); in lexbor_mraw_free()
H A Darray_obj.c32 array->list = lexbor_malloc(sizeof(uint8_t *) in lexbor_array_obj_init()
68 uint8_t *
71 uint8_t *list; in lexbor_array_obj_expand()
80 list = lexbor_realloc(array->list, sizeof(uint8_t *) in lexbor_array_obj_expand()
173 sizeof(uint8_t *) in lexbor_array_obj_delete()
/php-src/sapi/fuzzer/
H A Dfuzzer-mbstring.c23 zend_string* convert_encoding(const uint8_t *Data, size_t Size, const mbfl_encoding *FromEncoding, … in convert_encoding()
51 int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) { in LLVMFuzzerTestOneInput()
52 const uint8_t *Comma1 = memchr(Data, ',', Size); in LLVMFuzzerTestOneInput()
62 const uint8_t *Comma2 = memchr(Data, ',', Size); in LLVMFuzzerTestOneInput()

Completed in 74 milliseconds

12345678