Home
last modified time | relevance | path

Searched refs:opaque (Results 1 – 25 of 101) sorted by relevance

12345

/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dioapi.c31 voidpf opaque,
36 voidpf opaque,
42 voidpf opaque,
48 voidpf opaque,
52 voidpf opaque,
58 voidpf opaque,
62 voidpf opaque,
66 voidpf opaque; in fopen_file_func()
85 voidpf opaque; in fread_file_func()
96 voidpf opaque; in fwrite_file_func()
[all …]
A Diowin32.c27 voidpf opaque,
32 voidpf opaque,
38 voidpf opaque,
44 voidpf opaque,
48 voidpf opaque,
54 voidpf opaque,
58 voidpf opaque,
68 voidpf opaque; in win32_open_file_func()
120 voidpf opaque; in win32_read_file_func()
143 voidpf opaque; in win32_write_file_func()
[all …]
A Dzutil.c240 void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) in zcfree() argument
258 ptr = opaque; /* just to make some compilers happy */ in zcfree()
277 if (opaque) opaque = 0; /* to make compiler happy */ in zcalloc()
281 void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) in zcfree() argument
283 if (opaque) opaque = 0; /* to make compiler happy */ in zcfree()
300 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) in zcalloc() argument
301 voidpf opaque; in zcalloc()
305 if (opaque) items += size - size; /* make compiler happy */
310 void ZLIB_INTERNAL zcfree (opaque, ptr) in zcfree() argument
311 voidpf opaque; in zcfree()
[all …]
/AliOS-Things-master/components/py_engine/external/unzip/internal/
A Dioapi.h36 typedef voidpf(ZCALLBACK* open_file_func) OF((voidpf opaque, const char* filename, int mode));
37 typedef uLong(ZCALLBACK* read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size));
38 typedef uLong(ZCALLBACK* write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong …
39 typedef long(ZCALLBACK* tell_file_func) OF((voidpf opaque, voidpf stream));
40 typedef long(ZCALLBACK* seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin)…
41 typedef int(ZCALLBACK* close_file_func) OF((voidpf opaque, voidpf stream));
42 typedef int(ZCALLBACK* testerror_file_func) OF((voidpf opaque, voidpf stream));
52 voidpf opaque; member
59 #define ZTELL(filefunc, filestream) ((*((filefunc).ztell_file))((filefunc).opaque, filestream))
61 #define ZCLOSE(filefunc, filestream) ((*((filefunc).zclose_file))((filefunc).opaque, filestream))
[all …]
A Dzutil.h265 voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
267 void ZLIB_INTERNAL zcfree OF((voidpf opaque, voidpf ptr));
270 (*((strm)->zalloc))((strm)->opaque, (items), (size))
271 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
/AliOS-Things-master/components/freetype/src/gzip/
A Dzutil.c83 voidpf zcalloc (voidpf opaque, unsigned items, unsigned size) in zcalloc() argument
107 void zcfree (voidpf opaque, voidpf ptr) in zcfree() argument
125 ptr = opaque; /* just to make some compilers happy */ in zcfree()
144 if (opaque) opaque = 0; /* to make compiler happy */ in zcalloc()
148 void zcfree (voidpf opaque, voidpf ptr) in zcfree() argument
150 if (opaque) opaque = 0; /* to make compiler happy */ in zcfree()
164 voidpf zcalloc (opaque, items, size) in zcalloc() argument
165 voidpf opaque; in zcalloc()
173 void zcfree (opaque, ptr) in zcfree() argument
174 voidpf opaque; in zcfree()
[all …]
A Dzlib.h63 typedef voidpf (*alloc_func) OF((voidpf opaque, uInt items, uInt size));
64 typedef void (*free_func) OF((voidpf opaque, voidpf address));
82 voidpf opaque; /* private data object passed to zalloc and zfree */ member
A Dzutil.h207 local voidpf zcalloc OF((voidpf opaque, unsigned items, unsigned size));
208 local void zcfree OF((voidpf opaque, voidpf ptr));
211 (*((strm)->zalloc))((strm)->opaque, (items), (size))
212 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
A Dftgzip.c143 zcalloc ( voidpf opaque, in zcalloc() argument
147 return ft_gzip_alloc( (FT_Memory)opaque, items, size ); in zcalloc()
151 zcfree( voidpf opaque, in zcfree() argument
154 ft_gzip_free( (FT_Memory)opaque, ptr ); in zcfree()
303 zstream->opaque = stream->memory; in ft_gzip_file_init()
328 zstream->opaque = NULL; in ft_gzip_file_done()
713 stream.opaque = memory; in FT_Gzip_Uncompress()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/minizip/
A Dioapi.c80 p_filefunc64_32->zfile_func64.opaque = p_filefunc32->opaque; in fill_zlib_filefunc64_32_def_from_filefunc32()
90 static ZPOS64_T ZCALLBACK ftell64_file_func OF((voidpf opaque, voidpf stream));
92 static int ZCALLBACK fclose_file_func OF((voidpf opaque, voidpf stream));
93 static int ZCALLBACK ferror_file_func OF((voidpf opaque, voidpf stream));
95 static voidpf ZCALLBACK fopen_file_func (voidpf opaque, const char* filename, int mode) in fopen_file_func() argument
146 static long ZCALLBACK ftell_file_func (voidpf opaque, voidpf stream) in ftell_file_func() argument
154 static ZPOS64_T ZCALLBACK ftell64_file_func (voidpf opaque, voidpf stream) in ftell64_file_func() argument
210 static int ZCALLBACK fclose_file_func (voidpf opaque, voidpf stream) in fclose_file_func() argument
217 static int ZCALLBACK ferror_file_func (voidpf opaque, voidpf stream) in ferror_file_func() argument
234 pzlib_filefunc_def->opaque = NULL;
[all …]
A Dioapi.h135 typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque, const char* filename, int mode…
136 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLon…
137 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf…
138 typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream));
139 typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream));
141 typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream));
142 typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, i…
155 voidpf opaque; member
158 typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream));
160 typedef voidpf (ZCALLBACK *open64_file_func) OF((voidpf opaque, const void* filename, int mode…
[all …]
A Diowin32.c39 ZPOS64_T ZCALLBACK win32_tell64_file_func OF((voidpf opaque, voidpf stream));
41 int ZCALLBACK win32_close_file_func OF((voidpf opaque, voidpf stream));
42 int ZCALLBACK win32_error_file_func OF((voidpf opaque, voidpf stream));
261 long ZCALLBACK win32_tell_file_func (voidpf opaque,voidpf stream) in win32_tell_file_func() argument
284 ZPOS64_T ZCALLBACK win32_tell64_file_func (voidpf opaque, voidpf stream) in win32_tell64_file_func() argument
386 int ZCALLBACK win32_close_file_func (voidpf opaque, voidpf stream) in win32_close_file_func() argument
404 int ZCALLBACK win32_error_file_func (voidpf opaque,voidpf stream) in win32_error_file_func() argument
423 pzlib_filefunc_def->opaque = NULL; in fill_win32_filefunc()
435 pzlib_filefunc_def->opaque = NULL; in fill_win32_filefunc64()
448 pzlib_filefunc_def->opaque = NULL; in fill_win32_filefunc64A()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dzutil.c223 (void)opaque; in zcalloc()
244 void ZLIB_INTERNAL zcfree (voidpf opaque, voidpf ptr) in zcfree() argument
248 (void)opaque; in zcfree()
283 (void)opaque; in zcalloc()
289 (void)opaque; in zcfree()
306 voidpf ZLIB_INTERNAL zcalloc (opaque, items, size) in zcalloc() argument
307 voidpf opaque; in zcalloc()
311 (void)opaque;
316 void ZLIB_INTERNAL zcfree (opaque, ptr) in zcfree() argument
317 voidpf opaque; in zcfree()
[all …]
A Dzutil.h257 voidpf ZLIB_INTERNAL zcalloc OF((voidpf opaque, unsigned items,
259 void ZLIB_INTERNAL zcfree OF((voidpf opaque, voidpf ptr));
263 (*((strm)->zalloc))((strm)->opaque, (items), (size))
264 #define ZFREE(strm, addr) (*((strm)->zfree))((strm)->opaque, (voidpf)(addr))
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/imageio/
A Dtiffdec.c76 static int MyClose(thandle_t opaque) { in MyClose() argument
77 (void)opaque; in MyClose()
81 static toff_t MySize(thandle_t opaque) { in MySize() argument
82 const MyData* const my_data = (MyData*)opaque; in MySize()
86 static toff_t MySeek(thandle_t opaque, toff_t offset, int whence) { in MySeek() argument
87 MyData* const my_data = (MyData*)opaque; in MySeek()
96 static int MyMapFile(thandle_t opaque, void** base, toff_t* size) { in MyMapFile() argument
97 (void)opaque; in MyMapFile()
103 (void)opaque; in MyUnmapFile()
108 static tsize_t MyRead(thandle_t opaque, void* dst, tsize_t size) { in MyRead() argument
[all …]
/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/
A Dcutils.c84 static void *dbuf_default_realloc(void *opaque, void *ptr, size_t size) in dbuf_default_realloc() argument
94 s->opaque = opaque; in dbuf_init2()
114 new_buf = s->realloc_func(s->opaque, s->buf, new_size); in dbuf_realloc()
199 s->realloc_func(s->opaque, s->buf, 0); in dbuf_free()
322 typedef int (*cmp_f)(const void *, const void *, void *opaque);
474 if (cmp(basep + r, basep + c, opaque) > 0) in heapsortx()
485 if (cmp(basep + r, basep + c, opaque) > 0) in heapsortx()
495 return cmp(a, b, opaque) < 0 ? in med3()
496 (cmp(b, c, opaque) < 0 ? b : (cmp(a, c, opaque) < 0 ? c : a )) : in med3()
497 (cmp(b, c, opaque) > 0 ? b : (cmp(a, c, opaque) < 0 ? a : c )); in med3()
[all …]
A Dlibregexp.h44 void *opaque);
49 int cbuf_type, void *opaque);
55 LRE_BOOL lre_check_stack_overflow(void *opaque, size_t alloca_size);
56 void *lre_realloc(void *opaque, void *ptr, size_t size);
A Dlibunicode.h54 void *(*realloc_func)(void *opaque, void *ptr, size_t size);
63 void cr_init(CharRange *cr, void *mem_opaque, void *(*realloc_func)(void *opaque, void *ptr, size_t…
111 void *opaque, void *(*realloc_func)(void *opaque, void *ptr, size_t size));
A Dquickjs-libc.h47 const char *module_name, void *opaque);
52 JS_BOOL is_handled, void *opaque);
A Dquickjs.h319 void *opaque; /* user opaque */ member
337 JSRuntime *JS_NewRuntime2(const JSMallocFunctions *mf, void *opaque);
340 void JS_SetRuntimeOpaque(JSRuntime *rt, void *opaque);
350 void JS_SetContextOpaque(JSContext *ctx, void *opaque);
795 void JS_SetOpaque(JSValue obj, void *opaque);
810 JSFreeArrayBufferDataFunc *free_func, void *opaque,
820 void *(*sab_alloc)(void *opaque, size_t size);
821 void (*sab_free)(void *opaque, void *ptr);
822 void (*sab_dup)(void *opaque, void *ptr);
837 typedef int JSInterruptHandler(JSRuntime *rt, void *opaque);
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/pascal/
A Dexample.pas193 c_stream.opaque := NIL;
238 d_stream.opaque := NIL;
279 c_stream.opaque := NIL;
333 d_stream.opaque := NIL;
377 c_stream.opaque := NIL;
416 d_stream.opaque := NIL;
456 c_stream.opaque := NIL;
493 d_stream.opaque := NIL;
A Dzlibpas.pas17 alloc_func = function(opaque: Pointer; items, size: Integer): Pointer; in paque()
19 free_func = procedure(opaque, address: Pointer);
22 in_func = function(opaque: Pointer; var buf: PByte): Integer; in paque()
24 out_func = function(opaque: Pointer; buf: PByte; size: Integer): Integer; in paque()
42 opaque: Pointer; (* private data object passed to zalloc and zfree *)
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/test/
A Dexample.c210 c_stream.opaque = (voidpf)0;
249 d_stream.opaque = (voidpf)0;
288 c_stream.opaque = (voidpf)0;
345 d_stream.opaque = (voidpf)0;
385 c_stream.opaque = (voidpf)0;
424 d_stream.opaque = (voidpf)0;
466 c_stream.opaque = (voidpf)0;
505 d_stream.opaque = (voidpf)0;
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngread.c1308 if (image->opaque == NULL) in png_image_read_init()
1336 image->opaque = control; in png_image_read_init()
1410 png_structrp png_ptr = image->opaque->png_ptr; in png_image_read_header()
1411 png_inforp info_ptr = image->opaque->info_ptr; in png_image_read_header()
1484 image->opaque->png_ptr->io_ptr = file; in png_image_begin_read_from_stdio()
1515 image->opaque->owned_file = 1; in png_image_begin_read_from_file()
1548 png_controlp cp = image->opaque; in png_image_memory_read()
1584 image->opaque->size = size; in png_image_begin_read_from_memory()
2096 png_structrp png_ptr = image->opaque->png_ptr; in png_image_read_colormap()
2949 png_structrp png_ptr = image->opaque->png_ptr; in png_image_read_and_map()
[all …]
A Dpngerror.c903 if (image->opaque != NULL && image->opaque->error_buf != NULL)
904 longjmp(png_control_jmp_buf(image->opaque), 1);
944 saved_error_buf = image->opaque->error_buf; in png_safe_execute()
950 image->opaque->error_buf = safe_jmpbuf; in png_safe_execute()
954 image->opaque->error_buf = saved_error_buf; in png_safe_execute()

Completed in 38 milliseconds

12345