Home
last modified time | relevance | path

Searched refs:closure (Results 1 - 25 of 145) sorted by relevance

123456

/third_party/protobuf/src/google/protobuf/stubs/
H A Dcommon_unittest.cc204 Closure* closure = NewCallback(&SetA123Function); in TEST_F() local
206 closure->Run(); in TEST_F()
211 Closure* closure = NewCallback(current_instance_, in TEST_F() local
214 closure->Run(); in TEST_F()
219 Closure* closure = NewCallback(&SetAFunction, 456); in TEST_F() local
221 closure->Run(); in TEST_F()
226 Closure* closure = NewCallback(current_instance_, in TEST_F() local
229 closure->Run(); in TEST_F()
234 Closure* closure = NewCallback(&SetCFunction, string("test")); in TEST_F() local
236 closure in TEST_F()
241 Closure* closure = NewCallback(current_instance_, TEST_F() local
250 Closure* closure = NewCallback(&SetABFunction, 789, cstr); TEST_F() local
260 Closure* closure = NewCallback(current_instance_, TEST_F() local
272 Closure* closure = NewPermanentCallback(&SetA123Function); TEST_F() local
283 Closure* closure = NewPermanentCallback(current_instance_, TEST_F() local
295 Closure* closure = NewPermanentCallback(&SetAFunction, 456); TEST_F() local
306 Closure* closure = NewPermanentCallback(current_instance_, TEST_F() local
319 Closure* closure = NewPermanentCallback(&SetABFunction, 789, cstr); TEST_F() local
335 Closure* closure = NewPermanentCallback(current_instance_, TEST_F() local
[all...]
/third_party/alsa-utils/axfer/
H A Dxfer-libasound-irq-rw.c61 struct rw_closure *closure = state->private_data; in read_frames() local
71 if (avail_count > frame_cache_get_count(&closure->cache)) { in read_frames()
72 avail_count -= frame_cache_get_count(&closure->cache); in read_frames()
76 if (closure->access == SND_PCM_ACCESS_RW_INTERLEAVED) { in read_frames()
78 closure->cache.buf_ptr, in read_frames()
82 closure->cache.buf_ptr, in read_frames()
89 frame_cache_increase_count(&closure->cache, handled_frame_count); in read_frames()
90 avail_count = frame_cache_get_count(&closure->cache); in read_frames()
95 err = mapper_context_process_frames(mapper, closure->cache.buf, in read_frames()
100 frame_cache_reduce(&closure in read_frames()
206 struct rw_closure *closure = state->private_data; write_frames() local
360 struct rw_closure *closure = state->private_data; irq_rw_pre_process() local
414 struct rw_closure *closure = state->private_data; irq_rw_process_frames() local
428 struct rw_closure *closure = state->private_data; irq_rw_post_process() local
[all...]
/third_party/protobuf/python/google/protobuf/pyext/
H A Ddescriptor.cc471 static PyObject* GetName(PyBaseDescriptor* self, void *closure) { in GetName() argument
475 static PyObject* GetFullName(PyBaseDescriptor* self, void *closure) { in GetFullName() argument
479 static PyObject* GetFile(PyBaseDescriptor *self, void *closure) { in GetFile() argument
483 static PyObject* GetConcreteClass(PyBaseDescriptor* self, void *closure) { in GetConcreteClass() argument
497 static PyObject* GetFieldsByName(PyBaseDescriptor* self, void *closure) { in GetFieldsByName() argument
502 void *closure) { in GetFieldsByCamelcaseName()
506 static PyObject* GetFieldsByNumber(PyBaseDescriptor* self, void *closure) { in GetFieldsByNumber() argument
510 static PyObject* GetFieldsSeq(PyBaseDescriptor* self, void *closure) { in GetFieldsSeq() argument
514 static PyObject* GetNestedTypesByName(PyBaseDescriptor* self, void *closure) { in GetNestedTypesByName() argument
518 static PyObject* GetNestedTypesSeq(PyBaseDescriptor* self, void *closure) { in GetNestedTypesSeq() argument
501 GetFieldsByCamelcaseName(PyBaseDescriptor* self, void *closure) GetFieldsByCamelcaseName() argument
522 GetExtensionsByName(PyBaseDescriptor* self, void *closure) GetExtensionsByName() argument
526 GetExtensions(PyBaseDescriptor* self, void *closure) GetExtensions() argument
530 GetEnumsSeq(PyBaseDescriptor* self, void *closure) GetEnumsSeq() argument
534 GetEnumTypesByName(PyBaseDescriptor* self, void *closure) GetEnumTypesByName() argument
538 GetEnumValuesByName(PyBaseDescriptor* self, void *closure) GetEnumValuesByName() argument
542 GetOneofsByName(PyBaseDescriptor* self, void *closure) GetOneofsByName() argument
546 GetOneofsSeq(PyBaseDescriptor* self, void *closure) GetOneofsSeq() argument
550 IsExtendable(PyBaseDescriptor *self, void *closure) IsExtendable() argument
558 GetExtensionRanges(PyBaseDescriptor *self, void *closure) GetExtensionRanges() argument
572 GetContainingType(PyBaseDescriptor *self, void *closure) GetContainingType() argument
582 SetContainingType(PyBaseDescriptor *self, PyObject *value, void *closure) SetContainingType() argument
587 GetHasOptions(PyBaseDescriptor *self, void *closure) GetHasOptions() argument
595 SetHasOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetHasOptions() argument
604 SetOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetOptions() argument
609 SetSerializedOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetSerializedOptions() argument
638 GetSyntax(PyBaseDescriptor *self, void *closure) GetSyntax() argument
745 GetFullName(PyBaseDescriptor* self, void *closure) GetFullName() argument
749 GetName(PyBaseDescriptor *self, void *closure) GetName() argument
753 GetCamelcaseName(PyBaseDescriptor* self, void *closure) GetCamelcaseName() argument
757 GetJsonName(PyBaseDescriptor* self, void *closure) GetJsonName() argument
761 GetFile(PyBaseDescriptor *self, void *closure) GetFile() argument
765 GetType(PyBaseDescriptor *self, void *closure) GetType() argument
769 GetCppType(PyBaseDescriptor *self, void *closure) GetCppType() argument
773 GetLabel(PyBaseDescriptor *self, void *closure) GetLabel() argument
777 GetNumber(PyBaseDescriptor *self, void *closure) GetNumber() argument
781 GetIndex(PyBaseDescriptor *self, void *closure) GetIndex() argument
785 GetID(PyBaseDescriptor *self, void *closure) GetID() argument
789 IsExtension(PyBaseDescriptor *self, void *closure) IsExtension() argument
793 HasDefaultValue(PyBaseDescriptor *self, void *closure) HasDefaultValue() argument
797 GetDefaultValue(PyBaseDescriptor *self, void *closure) GetDefaultValue() argument
864 GetCDescriptor(PyObject *self, void *closure) GetCDescriptor() argument
869 GetEnumType(PyBaseDescriptor *self, void *closure) GetEnumType() argument
878 SetEnumType(PyBaseDescriptor *self, PyObject *value, void *closure) SetEnumType() argument
882 GetMessageType(PyBaseDescriptor *self, void *closure) GetMessageType() argument
891 SetMessageType(PyBaseDescriptor *self, PyObject *value, void *closure) SetMessageType() argument
896 GetContainingType(PyBaseDescriptor *self, void *closure) GetContainingType() argument
906 SetContainingType(PyBaseDescriptor *self, PyObject *value, void *closure) SetContainingType() argument
911 GetExtensionScope(PyBaseDescriptor *self, void *closure) GetExtensionScope() argument
921 GetContainingOneof(PyBaseDescriptor *self, void *closure) GetContainingOneof() argument
931 SetContainingOneof(PyBaseDescriptor *self, PyObject *value, void *closure) SetContainingOneof() argument
936 GetHasOptions(PyBaseDescriptor *self, void *closure) GetHasOptions() argument
944 SetHasOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetHasOptions() argument
953 SetOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetOptions() argument
958 SetSerializedOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetSerializedOptions() argument
1060 GetFullName(PyBaseDescriptor* self, void *closure) GetFullName() argument
1064 GetName(PyBaseDescriptor *self, void *closure) GetName() argument
1068 GetFile(PyBaseDescriptor *self, void *closure) GetFile() argument
1072 GetEnumvaluesByName(PyBaseDescriptor* self, void *closure) GetEnumvaluesByName() argument
1076 GetEnumvaluesByNumber(PyBaseDescriptor* self, void *closure) GetEnumvaluesByNumber() argument
1080 GetEnumvaluesSeq(PyBaseDescriptor* self, void *closure) GetEnumvaluesSeq() argument
1084 GetContainingType(PyBaseDescriptor *self, void *closure) GetContainingType() argument
1094 SetContainingType(PyBaseDescriptor *self, PyObject *value, void *closure) SetContainingType() argument
1100 GetHasOptions(PyBaseDescriptor *self, void *closure) GetHasOptions() argument
1108 SetHasOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetHasOptions() argument
1117 SetOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetOptions() argument
1122 SetSerializedOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetSerializedOptions() argument
1215 GetName(PyBaseDescriptor *self, void *closure) GetName() argument
1219 GetNumber(PyBaseDescriptor *self, void *closure) GetNumber() argument
1223 GetIndex(PyBaseDescriptor *self, void *closure) GetIndex() argument
1227 GetType(PyBaseDescriptor *self, void *closure) GetType() argument
1231 GetHasOptions(PyBaseDescriptor *self, void *closure) GetHasOptions() argument
1239 SetHasOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetHasOptions() argument
1248 SetOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetOptions() argument
1253 SetSerializedOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetSerializedOptions() argument
1330 GetPool(PyFileDescriptor *self, void *closure) GetPool() argument
1337 GetName(PyFileDescriptor *self, void *closure) GetName() argument
1341 GetPackage(PyFileDescriptor *self, void *closure) GetPackage() argument
1345 GetSerializedPb(PyFileDescriptor *self, void *closure) GetSerializedPb() argument
1364 GetMessageTypesByName(PyFileDescriptor* self, void *closure) GetMessageTypesByName() argument
1368 GetEnumTypesByName(PyFileDescriptor* self, void *closure) GetEnumTypesByName() argument
1372 GetExtensionsByName(PyFileDescriptor* self, void *closure) GetExtensionsByName() argument
1376 GetServicesByName(PyFileDescriptor* self, void *closure) GetServicesByName() argument
1380 GetDependencies(PyFileDescriptor* self, void *closure) GetDependencies() argument
1384 GetPublicDependencies(PyFileDescriptor* self, void *closure) GetPublicDependencies() argument
1388 GetHasOptions(PyFileDescriptor *self, void *closure) GetHasOptions() argument
1396 SetHasOptions(PyFileDescriptor *self, PyObject *value, void *closure) SetHasOptions() argument
1405 SetOptions(PyFileDescriptor *self, PyObject *value, void *closure) SetOptions() argument
1410 SetSerializedOptions(PyFileDescriptor *self, PyObject *value, void *closure) SetSerializedOptions() argument
1415 GetSyntax(PyFileDescriptor *self, void *closure) GetSyntax() argument
1539 GetName(PyBaseDescriptor* self, void *closure) GetName() argument
1543 GetFullName(PyBaseDescriptor* self, void *closure) GetFullName() argument
1547 GetIndex(PyBaseDescriptor *self, void *closure) GetIndex() argument
1551 GetFields(PyBaseDescriptor* self, void *closure) GetFields() argument
1555 GetContainingType(PyBaseDescriptor *self, void *closure) GetContainingType() argument
1565 GetHasOptions(PyBaseDescriptor *self, void *closure) GetHasOptions() argument
1573 SetHasOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetHasOptions() argument
1582 SetOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetOptions() argument
1587 SetSerializedOptions(PyBaseDescriptor *self, PyObject *value, void *closure) SetSerializedOptions() argument
1661 GetName(PyBaseDescriptor* self, void *closure) GetName() argument
1665 GetFullName(PyBaseDescriptor* self, void *closure) GetFullName() argument
1669 GetFile(PyBaseDescriptor *self, void *closure) GetFile() argument
1673 GetIndex(PyBaseDescriptor *self, void *closure) GetIndex() argument
1677 GetMethods(PyBaseDescriptor* self, void *closure) GetMethods() argument
1681 GetMethodsByName(PyBaseDescriptor* self, void *closure) GetMethodsByName() argument
1788 GetName(PyBaseDescriptor* self, void *closure) GetName() argument
1792 GetFullName(PyBaseDescriptor* self, void *closure) GetFullName() argument
1796 GetIndex(PyBaseDescriptor *self, void *closure) GetIndex() argument
1800 GetContainingService(PyBaseDescriptor *self, void *closure) GetContainingService() argument
1806 GetInputType(PyBaseDescriptor *self, void *closure) GetInputType() argument
1811 GetOutputType(PyBaseDescriptor *self, void *closure) GetOutputType() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/util/
H A Dhelper-cairo.hh51 void *closure, in _cairo_eps_surface_create_for_stream()
57 surface = cairo_ps_surface_create_for_stream (write_func, closure, width, height); in _cairo_eps_surface_create_for_stream()
192 void *closure; member
199 finalize_ansi (finalize_closure_t *closure) in finalize_ansi() argument
202 status = helper_cairo_surface_write_to_ansi_stream (closure->surface, in finalize_ansi()
203 closure->write_func, in finalize_ansi()
204 closure->closure); in finalize_ansi()
212 void *closure, in _cairo_ansi_surface_create_for_stream()
243 ansi_closure->closure in _cairo_ansi_surface_create_for_stream()
50 _cairo_eps_surface_create_for_stream(cairo_write_func_t write_func, void *closure, double width, double height) _cairo_eps_surface_create_for_stream() argument
211 _cairo_ansi_surface_create_for_stream(cairo_write_func_t write_func, void *closure, double width, double height, cairo_content_t content, image_protocol_t protocol HB_UNUSED) _cairo_ansi_surface_create_for_stream() argument
258 byte_array_write_func(void *closure, const unsigned char *data, unsigned int size) byte_array_write_func() argument
267 finalize_png(finalize_closure_t *closure) finalize_png() argument
344 _cairo_png_surface_create_for_stream(cairo_write_func_t write_func, void *closure, double width, double height, cairo_content_t content, image_protocol_t protocol) _cairo_png_surface_create_for_stream() argument
391 stdio_write_func(void *closure, const unsigned char *data, unsigned int size) stdio_write_func() argument
572 finalize_closure_t *closure = (finalize_closure_t *) helper_cairo_destroy_context() local
[all...]
H A Doptions.hh113 Type *closure, in add_group()
117 static_cast<gpointer>(closure), nullptr); in add_group()
126 Type *closure) in add_main_group()
129 static_cast<gpointer>(closure), nullptr); in add_main_group()
/third_party/mesa3d/src/compiler/glsl/
H A Dstring_to_uint_map.h49 void (*callback)(const char *key, unsigned value, void *closure);
50 void *closure; member
86 void iterate(void (*func)(const char *, unsigned, void *), void *closure) in iterate()
96 wrapper->closure = closure; in iterate()
154 static void delete_key(const void *key, void *data, void *closure) in delete_key()
157 (void) closure; in delete_key()
162 static void subtract_one_wrapper(const void *key, void *data, void *closure) in subtract_one_wrapper()
165 (struct string_map_iterate_wrapper_closure *) closure; in subtract_one_wrapper()
170 wrapper->callback((const char *) key, value, wrapper->closure); in subtract_one_wrapper()
[all...]
H A Dir_function_detect_recursion.cpp248 remove_unlinked_functions(const void *key, void *data, void *closure) in remove_unlinked_functions() argument
250 has_recursion_visitor *visitor = (has_recursion_visitor *) closure; in remove_unlinked_functions()
272 emit_errors_unlinked(const void *key, void *data, void *closure) in emit_errors_unlinked() argument
275 (struct _mesa_glsl_parse_state *) closure; in emit_errors_unlinked()
294 emit_errors_linked(const void *key, void *data, void *closure) in emit_errors_linked() argument
297 (struct gl_shader_program *) closure; in emit_errors_linked()
H A Dlower_output_reads.cpp133 emit_return_copy(const void *key, void *data, void *closure) in emit_return_copy() argument
135 ir_return *ir = (ir_return *) closure; in emit_return_copy()
141 emit_main_copy(const void *key, void *data, void *closure) in emit_main_copy() argument
143 ir_function_signature *sig = (ir_function_signature *) closure; in emit_main_copy()
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dencode_decode.c196 static void *startseq_handler(void* closure, const void* hd) { in startseq_handler() argument
197 MessageHeader* msg = closure; in startseq_handler()
204 static bool append##type##_handler(void *closure, const void *hd, \
206 VALUE ary = (VALUE)closure; \
220 static void* appendstr_handler(void *closure, in appendstr_handler() argument
223 VALUE ary = (VALUE)closure; in appendstr_handler()
230 static void set_hasbit(void *closure, int32_t hasbit) { in set_hasbit() argument
232 uint8_t* storage = closure; in set_hasbit()
238 static void* appendbytes_handler(void *closure, in appendbytes_handler() argument
241 VALUE ary = (VALUE)closure; in appendbytes_handler()
249 str_handler(void *closure, const void *hd, size_t size_hint) str_handler() argument
263 bytes_handler(void *closure, const void *hd, size_t size_hint) bytes_handler() argument
276 stringdata_handler(void* closure, const void* hd, const char* str, size_t len, const upb_bufhandle* handle) stringdata_handler() argument
284 stringdata_end_handler(void* closure, const void* hd) stringdata_end_handler() argument
290 appendstring_end_handler(void* closure, const void* hd) appendstring_end_handler() argument
297 appendsubmsg_handler(void *closure, const void *hd) appendsubmsg_handler() argument
310 appendwrapper_handler(void *closure, const void *hd) appendwrapper_handler() argument
321 submsg_handler(void *closure, const void *hd) submsg_handler() argument
340 startwrapper(void* closure, const void* hd) startwrapper() argument
419 startmap_handler(void *closure, const void *hd) startmap_handler() argument
436 endmap_handler(void *closure, const void *hd) endmap_handler() argument
444 endmapentry_handler(void* closure, const void* hd, upb_status* s) endmapentry_handler() argument
509 oneofstr_handler(void *closure, const void *hd, size_t size_hint) oneofstr_handler() argument
522 oneofbytes_handler(void *closure, const void *hd, size_t size_hint) oneofbytes_handler() argument
535 oneofstring_end_handler(void* closure, const void* hd) oneofstring_end_handler() argument
542 oneofsubmsg_handler(void *closure, const void *hd) oneofsubmsg_handler() argument
569 oneof_startwrapper(void* closure, const void* hd) oneof_startwrapper() argument
629 doublewrapper_handler(void* closure, const void* hd, double val) doublewrapper_handler() argument
635 floatwrapper_handler(void* closure, const void* hd, float val) floatwrapper_handler() argument
641 int64wrapper_handler(void* closure, const void* hd, int64_t val) int64wrapper_handler() argument
647 uint64wrapper_handler(void* closure, const void* hd, uint64_t val) uint64wrapper_handler() argument
653 int32wrapper_handler(void* closure, const void* hd, int32_t val) int32wrapper_handler() argument
659 uint32wrapper_handler(void* closure, const void* hd, uint32_t val) uint32wrapper_handler() argument
665 startstringwrapper_handler(void* closure, const void* hd, size_t size_hint) startstringwrapper_handler() argument
674 stringwrapper_handler(void* closure, const void* hd, const char* ptr, size_t len, const upb_bufhandle* handle) stringwrapper_handler() argument
682 startbyteswrapper_handler(void* closure, const void* hd, size_t size_hint) startbyteswrapper_handler() argument
691 byteswrapper_handler(void* closure, const void* hd, const char* ptr, size_t len, const upb_bufhandle* handle) byteswrapper_handler() argument
699 boolwrapper_handler(void* closure, const void* hd, bool val) boolwrapper_handler() argument
882 unknown_field_handler(void* closure, const void* hd, const char* buf, size_t size) unknown_field_handler() argument
901 add_handlers_for_message(const void *closure, upb_handlers *h) add_handlers_for_message() argument
[all...]
H A Dupb.c5485 /* Check that the given closure type matches the closure type that has been in doset()
5526 /* Returns the effective closure type for this handler (which will propagate
5529 * the effective closure type is unspecified (either no handler was registered
5530 * to specify it or the handler that was registered did not specify the closure
5564 * the return closure type of this handler's attr. */
5785 const void *closure; member
5804 c->callback(c->closure, h); in upb_handlercache_get()
5828 const void *closure) { in upb_handlercache_new()
5836 cache->closure in upb_handlercache_new()
5827 upb_handlercache_new(upb_handlers_callback *callback, const void *closure) upb_handlercache_new() argument
7816 upb_pbdecoder_startbc(void *closure, const void *pc, size_t size_hint) upb_pbdecoder_startbc() argument
7828 upb_pbdecoder_end(void *closure, const void *handler_data) upb_pbdecoder_end() argument
8418 newhandlers_callback(const void *closure, upb_handlers *h) newhandlers_callback() argument
8706 textprinter_putbool(void *closure, const void *handler_data, bool val) textprinter_putbool() argument
8731 textprinter_putenum(void *closure, const void *handler_data, int32_t val) textprinter_putenum() argument
8748 textprinter_startstr(void *closure, const void *handler_data, size_t size_hint) textprinter_startstr() argument
8758 textprinter_endstr(void *closure, const void *handler_data) textprinter_endstr() argument
8766 textprinter_putstr(void *closure, const void *hd, const char *buf, size_t len, const upb_bufhandle *handle) textprinter_putstr() argument
8777 textprinter_startsubmsg(void *closure, const void *handler_data) textprinter_startsubmsg() argument
8788 textprinter_endsubmsg(void *closure, const void *handler_data) textprinter_endsubmsg() argument
11796 parse(void *closure, const void *hd, const char *buf, size_t size, const upb_bufhandle *handle) parse() argument
12207 end(void *closure, const void *hd) end() argument
12627 putkey(void *closure, const void *handler_data) putkey() argument
12700 scalar_enum(void *closure, const void *handler_data, int32_t val) scalar_enum() argument
12733 repeated_enum(void *closure, const void *handler_data, int32_t val) repeated_enum() argument
12744 mapvalue_enum(void *closure, const void *handler_data, int32_t val) mapvalue_enum() argument
12754 scalar_startsubmsg(void *closure, const void *handler_data) scalar_startsubmsg() argument
12758 repeated_startsubmsg(void *closure, const void *handler_data) repeated_startsubmsg() argument
12776 printer_startmsg(void *closure, const void *handler_data) printer_startmsg() argument
12786 printer_endmsg(void *closure, const void *handler_data, upb_status *s) printer_endmsg() argument
12797 startseq(void *closure, const void *handler_data) startseq() argument
12806 endseq(void *closure, const void *handler_data) endseq() argument
12814 startmap(void *closure, const void *handler_data) startmap() argument
12823 endmap(void *closure, const void *handler_data) endmap() argument
12831 putstr(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) putstr() argument
12841 putbytes(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) putbytes() argument
12904 scalar_startstr(void *closure, const void *handler_data, size_t size_hint) scalar_startstr() argument
12914 scalar_str(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) scalar_str() argument
12921 scalar_endstr(void *closure, const void *handler_data) scalar_endstr() argument
12928 repeated_startstr(void *closure, const void *handler_data, size_t size_hint) repeated_startstr() argument
12938 repeated_str(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) repeated_str() argument
12945 repeated_endstr(void *closure, const void *handler_data) repeated_endstr() argument
12952 mapkeyval_startstr(void *closure, const void *handler_data, size_t size_hint) mapkeyval_startstr() argument
12961 mapkey_str(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) mapkey_str() argument
12968 mapkey_endstr(void *closure, const void *handler_data) mapkey_endstr() argument
12975 mapvalue_endstr(void *closure, const void *handler_data) mapvalue_endstr() argument
12982 scalar_bytes(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) scalar_bytes() argument
12990 repeated_bytes(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) repeated_bytes() argument
12999 mapkey_bytes(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) mapkey_bytes() argument
13031 printer_sethandlers_mapentry(const void *closure, bool preserve_fieldnames, upb_handlers *h) printer_sethandlers_mapentry() argument
13117 putseconds(void *closure, const void *handler_data, int64_t seconds) putseconds() argument
13125 putnanos(void *closure, const void *handler_data, int32_t nanos) putnanos() argument
13133 scalar_startstr_nokey(void *closure, const void *handler_data, size_t size_hint) scalar_startstr_nokey() argument
13142 putstr_nokey(void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) putstr_nokey() argument
13154 startseq_nokey(void *closure, const void *handler_data) startseq_nokey() argument
13163 startseq_fieldmask(void *closure, const void *handler_data) startseq_fieldmask() argument
13171 endseq_fieldmask(void *closure, const void *handler_data) endseq_fieldmask() argument
13178 repeated_startstr_fieldmask( void *closure, const void *handler_data, size_t size_hint) repeated_startstr_fieldmask() argument
13188 repeated_str_fieldmask( void *closure, const void *handler_data, const char *str, size_t len, const upb_bufhandle *handle) repeated_str_fieldmask() argument
13212 startmap_nokey(void *closure, const void *handler_data) startmap_nokey() argument
13221 putnull(void *closure, const void *handler_data, int32_t null) putnull() argument
13230 printer_startdurationmsg(void *closure, const void *handler_data) printer_startdurationmsg() argument
13242 printer_enddurationmsg(void *closure, const void *handler_data, upb_status *s) printer_enddurationmsg() argument
13299 printer_starttimestampmsg(void *closure, const void *handler_data) printer_starttimestampmsg() argument
13312 printer_endtimestampmsg(void *closure, const void *handler_data, upb_status *s) printer_endtimestampmsg() argument
13374 printer_startmsg_noframe(void *closure, const void *handler_data) printer_startmsg_noframe() argument
13383 printer_endmsg_noframe( void *closure, const void *handler_data, upb_status *s) printer_endmsg_noframe() argument
13394 printer_startmsg_fieldmask( void *closure, const void *handler_data) printer_startmsg_fieldmask() argument
13405 printer_endmsg_fieldmask( void *closure, const void *handler_data, upb_status *s) printer_endmsg_fieldmask() argument
13417 scalar_startstr_onlykey( void *closure, const void *handler_data, size_t size_hint) scalar_startstr_onlykey() argument
13426 printer_sethandlers_any(const void *closure, upb_handlers *h) printer_sethandlers_any() argument
13461 printer_sethandlers_fieldmask(const void *closure, upb_handlers *h) printer_sethandlers_fieldmask() argument
13480 printer_sethandlers_duration(const void *closure, upb_handlers *h) printer_sethandlers_duration() argument
13500 printer_sethandlers_timestamp(const void *closure, upb_handlers *h) printer_sethandlers_timestamp() argument
13518 printer_sethandlers_value(const void *closure, upb_handlers *h) printer_sethandlers_value() argument
13597 printer_sethandlers_structvalue(const void *closure, upb_handlers *h) printer_sethandlers_structvalue() argument
13614 printer_sethandlers(const void *closure, upb_handlers *h) printer_sethandlers() argument
[all...]
/third_party/python/Modules/_ctypes/libffi_osx/x86/
H A Dx86-ffi_darwin.c240 ffi_closure_SYSV_inner (closure, respp, args) in ffi_closure_SYSV_inner()
241 ffi_closure *closure; in ffi_closure_SYSV_inner()
249 cif = closure->cif;
260 (closure->fun) (cif, *respp, arg_area, closure->user_data);
321 ffi_prep_closure (ffi_closure* closure, in ffi_prep_closure() argument
329 FFI_INIT_TRAMPOLINE (&closure->tramp[0], \ in ffi_prep_closure()
331 (void*)closure); in ffi_prep_closure()
333 closure->cif = cif; in ffi_prep_closure()
334 closure in ffi_prep_closure()
345 ffi_prep_raw_closure_loc(ffi_raw_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*,void*,ffi_raw*,void*), void *user_data, void *codeloc) ffi_prep_raw_closure_loc() argument
[all...]
H A Dx86-ffi64.c589 ffi_closure* closure, in ffi_prep_closure()
599 tramp = (volatile unsigned short*)&closure->tramp[0]; in ffi_prep_closure()
604 *(void* volatile*)&tramp[6] = closure; in ffi_prep_closure()
611 closure->cif = cif; in ffi_prep_closure()
612 closure->fun = fun; in ffi_prep_closure()
613 closure->user_data = user_data; in ffi_prep_closure()
622 ffi_closure* closure, in ffi_closure_unix64_inner()
628 ffi_cif* cif = closure->cif; in ffi_closure_unix64_inner()
646 /* The return value goes in memory. Arrange for the closure in ffi_closure_unix64_inner()
730 /* Invoke the closure in ffi_closure_unix64_inner()
588 ffi_prep_closure( ffi_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*, void*, void**, void*), void* user_data) ffi_prep_closure() argument
621 ffi_closure_unix64_inner( ffi_closure* closure, void* rvalue, RegisterArgs* reg_args, char* argp) ffi_closure_unix64_inner() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dhb-face.cc102 * @reference_table_func: (closure user_data) (destroy destroy) (scope notified): Table-referencing function
152 hb_face_for_data_closure_t *closure; in _hb_face_for_data_closure_create() local
154 closure = (hb_face_for_data_closure_t *) hb_calloc (1, sizeof (hb_face_for_data_closure_t)); in _hb_face_for_data_closure_create()
155 if (unlikely (!closure)) in _hb_face_for_data_closure_create()
158 closure->blob = blob; in _hb_face_for_data_closure_create()
159 closure->index = index; in _hb_face_for_data_closure_create()
161 return closure; in _hb_face_for_data_closure_create()
167 hb_face_for_data_closure_t *closure = (hb_face_for_data_closure_t *) data; in _hb_face_for_data_closure_destroy() local
169 hb_blob_destroy (closure->blob); in _hb_face_for_data_closure_destroy()
170 hb_free (closure); in _hb_face_for_data_closure_destroy()
217 hb_face_for_data_closure_t *closure = _hb_face_for_data_closure_create (blob, index); hb_face_create() local
[all...]
H A Dhb-font.cc1837 * @klass: (closure font_data) (destroy destroy) (scope notified): The font-functions structure.
2259 hb_trampoline_closure_t closure; /* Must be first. */ member
2276 trampoline->closure.user_data = user_data; in trampoline_create()
2277 trampoline->closure.destroy = destroy; in trampoline_create()
2278 trampoline->closure.ref_count = 1; in trampoline_create()
2285 trampoline_reference (hb_trampoline_closure_t *closure) in trampoline_reference() argument
2287 closure->ref_count++; in trampoline_reference()
2293 hb_trampoline_closure_t *closure = (hb_trampoline_closure_t *) user_data; in trampoline_destroy() local
2295 if (--closure->ref_count) in trampoline_destroy()
2298 if (closure in trampoline_destroy()
[all...]
/third_party/node/deps/v8/src/codegen/
H A Doptimized-compilation-info.cc26 Handle<JSFunction> closure, CodeKind code_kind, BytecodeOffset osr_offset, in OptimizedCompilationInfo()
33 DCHECK_EQ(*shared, closure->shared()); in OptimizedCompilationInfo()
38 closure_ = closure; in OptimizedCompilationInfo()
192 return !closure().is_null(); in has_context()
197 return closure()->context(); in context()
201 return !closure().is_null() && !closure()->native_context().is_null(); in has_native_context()
206 return closure()->native_context(); in native_context()
24 OptimizedCompilationInfo( Zone* zone, Isolate* isolate, Handle<SharedFunctionInfo> shared, Handle<JSFunction> closure, CodeKind code_kind, BytecodeOffset osr_offset, JavaScriptFrame* osr_frame) OptimizedCompilationInfo() argument
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/table/opentype/
H A DRuleTests.java25 * util/hb-ot-shape-closure --no-glyph-names NotoSansMalayalam.ttf <text>
84 GlyphGroup closure = Rule.closure(glyphRulesMap, glyphGroup); in aFont()
86 System.err.println(closure); in aFont()
97 GlyphGroup closure = Rule.closure(glyphRulesMap, glyphGroup); in assertClosure()
99 if (expected.size() == 0 && closure.size() > 0) { in assertClosure()
101 } else if (!expected.equals(closure)) { in assertClosure()
102 System.err.printf("'%s' failed:\n %s HB\n %s Snftly\n\n", word, expected, closure); in assertClosure()
103 //Assert.assertEquals(word, expected, closure); in assertClosure()
[all...]
/third_party/python/Objects/
H A Dfuncobject.c257 PyFunction_SetClosure(PyObject *op, PyObject *closure) in PyFunction_SetClosure() argument
263 if (closure == Py_None) in PyFunction_SetClosure()
264 closure = NULL; in PyFunction_SetClosure()
265 else if (PyTuple_Check(closure)) { in PyFunction_SetClosure()
266 Py_INCREF(closure); in PyFunction_SetClosure()
270 "expected tuple for closure, got '%.100s'", in PyFunction_SetClosure()
271 Py_TYPE(closure)->tp_name); in PyFunction_SetClosure()
275 Py_XSETREF(((PyFunctionObject *)op)->func_closure, closure); in PyFunction_SetClosure()
584 The closure must correspond to the free variables of the code object.
587 closure
611 func_new_impl(PyTypeObject *type, PyCodeObject *code, PyObject *globals, PyObject *name, PyObject *defaults, PyObject *closure) func_new_impl() argument
937 cm_get___isabstractmethod__(classmethod *cm, void *closure) cm_get___isabstractmethod__() argument
1135 sm_get___isabstractmethod__(staticmethod *sm, void *closure) sm_get___isabstractmethod__() argument
[all...]
/third_party/python/Objects/clinic/
H A Dfuncobject.c.h6 "function(code, globals, name=None, argdefs=None, closure=None)\n"
19 " closure\n"
24 PyObject *name, PyObject *defaults, PyObject *closure);
30 static const char * const _keywords[] = {"code", "globals", "name", "argdefs", "closure", NULL}; in func_new()
40 PyObject *closure = Py_None; in func_new() local
71 closure = fastargs[4]; in func_new()
73 return_value = func_new_impl(type, code, globals, name, defaults, closure); in func_new()
/third_party/node/deps/v8/src/snapshot/
H A Dcontext-serializer.cc181 JSFunction closure = JSFunction::cast(*obj); in SerializeObjectImpl() local
182 closure.ResetIfCodeFlushed(); in SerializeObjectImpl()
183 if (closure.is_compiled()) { in SerializeObjectImpl()
184 if (closure.shared().HasBaselineCode()) { in SerializeObjectImpl()
185 closure.shared().FlushBaselineCode(); in SerializeObjectImpl()
187 closure.set_code(closure.shared().GetCode(), kReleaseStore); in SerializeObjectImpl()
/third_party/rust/crates/proc-macro-error/proc-macro-error-attr/src/
H A Dlib.rs89 let closure = if settings.is_set(AssertUnwindSafe) { in gen_body()
95 quote!( ::proc_macro_error::entry_point(#closure, #is_proc_macro_hack) ) in gen_body()
100 // Considering this is the closure's return type the unwind safety check would fail
101 // for virtually every closure possible, the check is meaningless.
105 let closure = quote!(::std::panic::AssertUnwindSafe(|| #block )); in gen_body()
106 quote!( ::proc_macro_error::entry_point(#closure, #is_proc_macro_hack) ) in gen_body()
/third_party/node/deps/v8/src/compiler/
H A Djs-context-specialization.h31 // Additionally, constant-folds the function parameter if {closure} is given,
41 MaybeHandle<JSFunction> closure) in JSContextSpecialization()
45 closure_(closure), in JSContextSpecialization()
70 MaybeHandle<JSFunction> closure() const { return closure_; } in closure() function in v8::internal::compiler::final
39 JSContextSpecialization(Editor* editor, JSGraph* jsgraph, JSHeapBroker* broker, Maybe<OuterContext> outer, MaybeHandle<JSFunction> closure) JSContextSpecialization() argument
/third_party/python/Doc/includes/
H A Dcustom4.c90 Custom_getfirst(CustomObject *self, void *closure) in Custom_getfirst() argument
97 Custom_setfirst(CustomObject *self, PyObject *value, void *closure) in Custom_setfirst() argument
115 Custom_getlast(CustomObject *self, void *closure) in Custom_getlast() argument
122 Custom_setlast(CustomObject *self, PyObject *value, void *closure) in Custom_setlast() argument
H A Dcustom3.c74 Custom_getfirst(CustomObject *self, void *closure) in Custom_getfirst() argument
81 Custom_setfirst(CustomObject *self, PyObject *value, void *closure) in Custom_setfirst() argument
101 Custom_getlast(CustomObject *self, void *closure) in Custom_getlast() argument
108 Custom_setlast(CustomObject *self, PyObject *value, void *closure) in Custom_setlast() argument
/third_party/python/Modules/_ctypes/libffi_osx/powerpc/
H A Dppc-ffi_darwin.c715 ffi_closure* closure, in ffi_prep_closure()
726 unsigned int* tramp = (unsigned int*)&closure->tramp[0]; in ffi_prep_closure()
738 *(unsigned long*)&tramp[10] = (unsigned long)closure; in ffi_prep_closure()
749 tramp[9] = (unsigned long)closure; in ffi_prep_closure()
754 closure->cif = cif; in ffi_prep_closure()
755 closure->fun = fun; in ffi_prep_closure()
756 closure->user_data = user_data; in ffi_prep_closure()
760 sys_icache_invalidate(closure->tramp, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure()
762 flush_range(closure->tramp, FFI_TRAMPOLINE_SIZE); in ffi_prep_closure()
773 (ffi_aix_trampoline_struct*)(closure in ffi_prep_closure()
714 ffi_prep_closure( ffi_closure* closure, ffi_cif* cif, void (*fun)(ffi_cif*, void*, void**, void*), void* user_data) ffi_prep_closure() argument
814 ffi_closure_helper_DARWIN( ffi_closure* closure, void* rvalue, unsigned long* pgr, ffi_dblfl* pfr) ffi_closure_helper_DARWIN() argument
[all...]
/third_party/python/Modules/_sha3/
H A Dsha3module.c328 SHA3_get_block_size(SHA3object *self, void *closure) in SHA3_get_block_size() argument
336 SHA3_get_name(SHA3object *self, void *closure) in SHA3_get_name() argument
363 SHA3_get_digest_size(SHA3object *self, void *closure) in SHA3_get_digest_size() argument
370 SHA3_get_capacity_bits(SHA3object *self, void *closure) in SHA3_get_capacity_bits() argument
378 SHA3_get_rate_bits(SHA3object *self, void *closure) in SHA3_get_rate_bits() argument
385 SHA3_get_suffix(SHA3object *self, void *closure) in SHA3_get_suffix() argument
524 SHAKE_get_digest_size(SHA3object *self, void *closure) in SHAKE_get_digest_size() argument
530 SHAKE_get_suffix(SHA3object *self, void *closure) in SHAKE_get_suffix() argument

Completed in 38 milliseconds

123456