Lines Matching refs:value

38    Returns the attribute value on success, or NULL on failure.
58 Returns the attribute value on success, or NULL on failure.
67 Set the value of the attribute named attr_name, for object 'o',
68 to the value 'v'. Raise an exception and return -1 on failure; return 0 on
78 Set the value of the attribute named attr_name, for object 'o', to the value
292 /* Map the object 'key' to the value 'v' into 'o'.
390 returning the next value.
400 /* Takes generator, coroutine or iterator object and sends the value into it.
403 'result' parameter is filled with return value
407 'result' parameter is filled with yielded value. */
480 /* Returns the absolute value of 'o', or NULL on failure.
531 overflow error is cleared and the value is clipped. */
733 /* Return the number of occurrences on value on 'o', that is, return
734 the number of keys for which o[key] == value.
737 o.count(value). */
738 PyAPI_FUNC(Py_ssize_t) PySequence_Count(PyObject *o, PyObject *value);
748 /* Determine if the sequence 'o' contains 'value'. If an item in 'o' is equal
749 to 'value', return 1, otherwise return 0. On error, return -1.
751 This is equivalent to the Python expression: value in o. */
752 PyAPI_FUNC(int) PySequence_In(PyObject *o, PyObject *value);
758 /* Return the first index for which o[i] == value.
761 This is equivalent to the Python expression: o.index(value). */
762 PyAPI_FUNC(Py_ssize_t) PySequence_Index(PyObject *o, PyObject *value);
841 where each item is a tuple containing a key-value pair. On failure, return
851 /* Map the string 'key' to the value 'v' in the mapping 'o'.
856 PyObject *value);