Lines Matching refs:value
718 * Start with interpreting the value passed
738 /* Ensure the value wasn't truncated. */
749 * Okay, the value overflowed a signed long. If it
764 * but this value would get interpreted as (uid_t)-1 by chown
772 /* Ensure the value wasn't truncated. */
824 * Start with interpreting the value passed
845 /* Ensure the value wasn't truncated. */
856 * Okay, the value overflowed a signed long. If it
871 * but this value would get interpreted as (gid_t)-1 by chown
879 /* Ensure the value wasn't truncated. */
925 * without the int cast, the value gets interpreted as uint (4291925331),
1177 /* Only call this here so that we don't treat the return value of
1625 _NSGetEnviron to resolve it. The value changes if you add environment
1626 variables between calls to Py_Initialize, so don't cache the value. */
2773 # to support a default value, you'll need to override initialize().
2784 def strify(value):
2785 if isinstance(value, str):
2786 return value
2787 return str(int(bool(value)))
4588 value is first masked out.
4698 int value;
4711 value = nice(increment);
4713 if (value == 0)
4714 value = getpriority(PRIO_PROCESS, 0);
4716 if (value == -1 && errno != 0)
4719 return PyLong_FromLong((long) value);
5201 PyObject *value;
5210 value = PyStructSequence_New((PyTypeObject *)UnameResultType);
5211 if (value == NULL)
5218 Py_DECREF(value); \
5221 PyStructSequence_SET_ITEM(value, i, o); \
5232 return value;
6332 * copy the value of path for some old versions of glibc (<2.20).
6415 If the value is `true` the POSIX_SPAWN_RESETIDS will be activated.
6417 If the value is `true` the POSIX_SPAWN_SETSID or POSIX_SPAWN_SETSID_NP will be activated.
6461 If the value is `True` the POSIX_SPAWN_RESETIDS will be activated.
6463 If the value is `True` the POSIX_SPAWN_SETSID or POSIX_SPAWN_SETSID_NP will be activated.
7064 Return value is an instance of sched_param.
7940 /* We could cache the ulong value in a static variable. */
8397 #define SET_INT(result, index, value)\
8398 PyStructSequence_SET_ITEM(result, index, PyLong_FromLong(value))
9063 PyObject *value = PyStructSequence_New((PyTypeObject *)TimesResultType);
9064 if (value == NULL)
9071 Py_DECREF(value); \
9074 PyStructSequence_SET_ITEM(value, i, o); \
9085 return value;
9114 of a 64-bit value expressed in 100 nanosecond units.
10459 set a limit (sysconf() value SC_IOV_MAX) on the number of buffers that can be used.
10585 PyErr_SetString(PyExc_ValueError, "negative value for 'count' not allowed");
10654 PyErr_SetString(PyExc_ValueError, "negative value for 'count' not allowed");
11060 win32_putenv(PyObject *name, PyObject *value)
11071 if (value != NULL) {
11072 unicode = PyUnicode_FromFormat("%U=%U", name, value);
11121 value: unicode
11128 os_putenv_impl(PyObject *module, PyObject *name, PyObject *value)
11131 if (PySys_Audit("os.putenv", "OO", name, value) < 0) {
11134 return win32_putenv(name, value);
11141 value: FSConverter
11148 os_putenv_impl(PyObject *module, PyObject *name, PyObject *value)
11152 const char *value_string = PyBytes_AS_STRING(value);
11159 if (PySys_Audit("os.putenv", "OO", name, value) < 0) {
11373 Return the signal that terminated the process that provided the status value.
11393 Return the signal that stopped the process that provided the status value.
11605 int value;
11613 int value = _PyLong_AsInt(arg);
11614 if (value == -1 && PyErr_Occurred())
11616 *valuep = value;
11620 /* look up the value in the table using a binary search */
11642 *valuep = table[mid].value;
12549 long value;
12552 value = sysconf(name);
12553 if (value == -1 && errno != 0)
12555 return value;
12560 /* This code is used to ensure that the tables of configuration value names
12594 PyObject *o = PyLong_FromLong(table[i].value);
12903 Return the value of extended attribute attribute on path.
12974 value: Py_buffer
12979 Set extended attribute attribute on path to value.
12990 Py_buffer *value, int flags, int follow_symlinks)
12999 value->buf, value->len, flags) < 0) {
13006 value->buf, value->len, flags);
13009 value->buf, value->len, flags);
13012 value->buf, value->len, flags);
13265 Read eventfd value
13272 eventfd_t value;
13275 result = eventfd_read(fd, &value);
13280 return PyLong_FromUnsignedLongLong(value);
13287 value: unsigned_long_long
13289 Write eventfd value.
13293 os_eventfd_write_impl(PyObject *module, int fd, unsigned long long value)
13298 result = eventfd_write(fd, value);
14703 Returns an opaque value that may be passed to os.remove_dll_directory
14747 The parameter is an opaque value that was returned from
15930 ticks_per_second = 60; /* magic fallback value; may be bogus */