Home
last modified time | relevance | path

Searched refs:METH_O (Results 1 – 25 of 81) sorted by relevance

1234

/external/python/cpython2/Modules/
Dmathmodule.c1571 {"acos", math_acos, METH_O, math_acos_doc},
1572 {"acosh", math_acosh, METH_O, math_acosh_doc},
1573 {"asin", math_asin, METH_O, math_asin_doc},
1574 {"asinh", math_asinh, METH_O, math_asinh_doc},
1575 {"atan", math_atan, METH_O, math_atan_doc},
1577 {"atanh", math_atanh, METH_O, math_atanh_doc},
1578 {"ceil", math_ceil, METH_O, math_ceil_doc},
1580 {"cos", math_cos, METH_O, math_cos_doc},
1581 {"cosh", math_cosh, METH_O, math_cosh_doc},
1582 {"degrees", math_degrees, METH_O, math_degrees_doc},
[all …]
Dfuture_builtins.c72 {"hex", builtin_hex, METH_O, hex_doc},
73 {"oct", builtin_oct, METH_O, oct_doc},
74 {"ascii", builtin_ascii, METH_O, ascii_doc},
D_weakref.c81 {"getweakrefcount", weakref_getweakrefcount, METH_O,
83 {"getweakrefs", weakref_getweakrefs, METH_O,
Dgrpmodule.c159 {"getgrgid", grp_getgrgid, METH_O,
163 {"getgrnam", grp_getgrnam, METH_O,
Dstropmodule.c1217 {"capitalize", strop_capitalize, METH_O, capitalize__doc__},
1223 {"lstrip", strop_lstrip, METH_O, lstrip__doc__},
1224 {"lower", strop_lower, METH_O, lower__doc__},
1228 {"rstrip", strop_rstrip, METH_O, rstrip__doc__},
1231 {"strip", strop_strip, METH_O, strip__doc__},
1232 {"swapcase", strop_swapcase, METH_O, swapcase__doc__},
1234 {"upper", strop_upper, METH_O, upper__doc__},
Darraymodule.c1597 {"append", (PyCFunction)array_append, METH_O,
1605 {"count", (PyCFunction)array_count, METH_O,
1607 {"__deepcopy__",(PyCFunction)array_copy, METH_O,
1609 {"extend", (PyCFunction)array_extend, METH_O,
1613 {"fromlist", (PyCFunction)array_fromlist, METH_O,
1621 {"index", (PyCFunction)array_index, METH_O,
1631 {"remove", (PyCFunction)array_remove, METH_O,
1637 {"tofile", (PyCFunction)array_tofile, METH_O,
1647 {"write", (PyCFunction)array_tofile_as_write, METH_O,
D_collectionsmodule.c1152 METH_O, append_doc},
1154 METH_O, appendleft_doc},
1160 METH_O, count_doc},
1162 METH_O, extend_doc},
1164 METH_O, extendleft_doc},
1172 METH_O, remove_doc},
1538 {"__missing__", (PyCFunction)defdict_missing, METH_O,
D_randommodule.c526 {"setstate", (PyCFunction)random_setstate, METH_O,
528 {"jumpahead", (PyCFunction)random_jumpahead, METH_O,
D_heapqmodule.c554 METH_O, heappop_doc},
558 METH_O, heapify_doc},
D_csv.c1275 { "writerow", (PyCFunction)csv_writerow, METH_O, csv_writerow_doc},
1276 { "writerows", (PyCFunction)csv_writerows, METH_O, csv_writerows_doc},
1585 METH_O, csv_unregister_dialect_doc},
1587 METH_O, csv_get_dialect_doc},
/external/protobuf/python/google/protobuf/pyext/
Ddescriptor_pool.cc468 { "Add", (PyCFunction)Add, METH_O,
470 { "AddSerializedFile", (PyCFunction)AddSerializedFile, METH_O,
475 { "AddFileDescriptor", (PyCFunction)AddFileDescriptor, METH_O,
477 { "AddDescriptor", (PyCFunction)AddDescriptor, METH_O,
479 { "AddEnumDescriptor", (PyCFunction)AddEnumDescriptor, METH_O,
482 { "FindFileByName", (PyCFunction)FindFileByName, METH_O,
484 { "FindMessageTypeByName", (PyCFunction)FindMessageByName, METH_O,
486 { "FindFieldByName", (PyCFunction)FindFieldByName, METH_O,
488 { "FindExtensionByName", (PyCFunction)FindExtensionByName, METH_O,
490 { "FindEnumTypeByName", (PyCFunction)FindEnumTypeByName, METH_O,
[all …]
Dextension_dict.cc285 EDMETHOD(ClearExtension, METH_O, "Clears an extension from the object."),
286 EDMETHOD(HasExtension, METH_O, "Checks if the object has an extension."),
287 EDMETHOD(_FindExtensionByName, METH_O,
289 EDMETHOD(_FindExtensionByNumber, METH_O,
Dmessage.cc2577 { "__setstate__", (PyCFunction)SetState, METH_O, in CheckAndGetInteger()
2585 { "ClearExtension", (PyCFunction)ClearExtension, METH_O, in CheckAndGetInteger()
2587 { "ClearField", (PyCFunction)ClearField, METH_O, in CheckAndGetInteger()
2589 { "CopyFrom", (PyCFunction)CopyFrom, METH_O, in CheckAndGetInteger()
2596 { "FromString", (PyCFunction)FromString, METH_O | METH_CLASS, in CheckAndGetInteger()
2598 { "HasExtension", (PyCFunction)HasExtension, METH_O, in CheckAndGetInteger()
2600 { "HasField", (PyCFunction)HasField, METH_O, in CheckAndGetInteger()
2606 { "MergeFrom", (PyCFunction)MergeFrom, METH_O, in CheckAndGetInteger()
2608 { "MergeFromString", (PyCFunction)MergeFromString, METH_O, in CheckAndGetInteger()
2610 { "ParseFromString", (PyCFunction)ParseFromString, METH_O, in CheckAndGetInteger()
[all …]
Drepeated_composite_container.cc556 { "extend", (PyCFunction) Extend, METH_O,
560 { "remove", (PyCFunction) Remove, METH_O,
564 { "MergeFrom", (PyCFunction) MergeFrom, METH_O,
Dmap_container.cc524 { "__contains__", MapReflectionFriend::Contains, METH_O,
775 { "__contains__", (PyCFunction)MapReflectionFriend::Contains, METH_O,
781 { "get_or_create", MapReflectionFriend::MessageMapGetItem, METH_O,
Drepeated_scalar_container.cc754 { "append", (PyCFunction)Append, METH_O,
756 { "extend", (PyCFunction)Extend, METH_O,
762 { "remove", (PyCFunction)Remove, METH_O,
/external/libmojo/third_party/markupsafe/
D_speedups.c186 {"escape", (PyCFunction)escape, METH_O,
191 {"escape_silent", (PyCFunction)escape_silent, METH_O,
194 {"soft_unicode", (PyCFunction)soft_unicode, METH_O,
/external/python/cpython2/Objects/
Dsetobject.c2031 {"add", (PyCFunction)set_add, METH_O,
2035 {"__contains__",(PyCFunction)set_direct_contains, METH_O | METH_COEXIST,
2039 {"discard", (PyCFunction)set_discard, METH_O,
2049 {"isdisjoint", (PyCFunction)set_isdisjoint, METH_O,
2051 {"issubset", (PyCFunction)set_issubset, METH_O,
2053 {"issuperset", (PyCFunction)set_issuperset, METH_O,
2059 {"remove", (PyCFunction)set_remove, METH_O,
2063 {"symmetric_difference",(PyCFunction)set_symmetric_difference, METH_O,
2065 {"symmetric_difference_update",(PyCFunction)set_symmetric_difference_update, METH_O,
2169 {"__contains__",(PyCFunction)set_direct_contains, METH_O | METH_COEXIST,
[all …]
Ddescrobject.c798 {"has_key", (PyCFunction)proxy_has_key, METH_O,
1201 {"getter", property_getter, METH_O, getter_doc},
1202 {"setter", property_setter, METH_O, setter_doc},
1203 {"deleter", property_deleter, METH_O, deleter_doc},
/external/python/cpython2/Tools/framer/framer/
Dfunction.py6 METH_O = "METH_O" variable
74 self.ml_meth = METH_O
/external/python/cpython2/Python/
Dcodecs.c950 METH_O, in _PyCodecRegistry_Init()
961 METH_O, in _PyCodecRegistry_Init()
971 METH_O, in _PyCodecRegistry_Init()
981 METH_O, in _PyCodecRegistry_Init()
992 METH_O, in _PyCodecRegistry_Init()
Dbltinmodule.c2616 {"abs", builtin_abs, METH_O, abs_doc},
2617 {"all", builtin_all, METH_O, all_doc},
2618 {"any", builtin_any, METH_O, any_doc},
2620 {"bin", builtin_bin, METH_O, bin_doc},
2621 {"callable", builtin_callable, METH_O, callable_doc},
2636 {"hash", builtin_hash, METH_O, hash_doc},
2637 {"hex", builtin_hex, METH_O, hex_doc},
2638 {"id", builtin_id, METH_O, id_doc},
2644 {"len", builtin_len, METH_O, len_doc},
2650 {"oct", builtin_oct, METH_O, oct_doc},
[all …]
/external/python/cpython2/Modules/_ctypes/
Dcallproc.c1921 {"POINTER", POINTER, METH_O },
1922 {"pointer", pointer, METH_O },
1924 {"_buffer_info", buffer_info, METH_O,
1945 {"alignment", align_func, METH_O, alignment_doc},
1946 {"sizeof", sizeof_func, METH_O, sizeof_doc},
1948 {"addressof", addressof, METH_O, addressof_doc},
1952 {"Py_INCREF", My_Py_INCREF, METH_O },
1953 {"Py_DECREF", My_Py_DECREF, METH_O },
/external/python/cpython2/Modules/_io/
Dbytesio.c847 {"write", (PyCFunction)bytesio_write, METH_O, write_doc},
848 {"writelines", (PyCFunction)bytesio_writelines, METH_O, writelines_doc},
849 {"read1", (PyCFunction)bytesio_read1, METH_O, read1_doc},
858 {"__setstate__", (PyCFunction)bytesio_setstate, METH_O, NULL},
/external/python/cpython2/Include/
Dmethodobject.h58 #define METH_O 0x0008 macro

1234