Lines Matching refs:value

105 // The value must be the same in fileutils.c.
272 unicode_fill(enum PyUnicode_Kind kind, void *data, Py_UCS4 value,
279 assert(value <= 0xff);
280 Py_UCS1 ch = (unsigned char)value;
286 assert(value <= 0xffff);
287 Py_UCS2 ch = (Py_UCS2)value;
294 assert(value <= MAX_UNICODE);
295 Py_UCS4 ch = value;
705 /* Subtype -- return genuine unicode string with the same value. */
1923 references (key and value) which were ignored by
4077 else { // PyOS_FSPath() guarantees its returned value is bytes or str.
4616 /* given that c is a base-64 character, what is its base-64 value? */
4742 /* we have enough bits for a UTF-16 value */
5054 size_t value = *(const size_t *) _p;
5055 if (value & ASCII_CHAR_MASK)
5057 *((size_t *)q) = value;
5077 size_t value = *(const size_t *) _p;
5078 if (value & ASCII_CHAR_MASK)
6324 length after conversion to the true value.
6731 length after conversion to the true value. (But decoding error
8193 x = 0xfffe; /* invalid value */
8263 long value = PyLong_AS_LONG(item);
8264 if (value == 0xFFFE)
8266 if (value < 0 || value > MAX_UNICODE) {
8273 if (_PyUnicodeWriter_WriteCharInline(writer, value) < 0)
8280 Py_UCS4 value = PyUnicode_READ_CHAR(item, 0);
8281 if (value == 0xFFFE)
8283 if (_PyUnicodeWriter_WriteCharInline(writer, value) < 0)
8293 /* wrong return value */
8457 PyObject *key, *value;
8462 value = PyLong_FromLong(i);
8463 if (!key || !value)
8465 if (PyDict_SetItem(result, key, value) == -1)
8468 Py_DECREF(value);
8473 Py_XDECREF(value);
8569 long value = PyLong_AS_LONG(x);
8570 if (value < 0 || value > 255) {
8581 /* wrong return value */
9004 long value = PyLong_AS_LONG(x);
9005 if (value < 0 || value > MAX_UNICODE) {
9020 /* wrong return value */
9493 * Return value: -1 on error, number of characters otherwise.
11822 /* Believe it or not, this produces the same value for ASCII strings
12813 -1 (the default value) means replace all occurrences.
13161 When set to None (the default value), will split on any whitespace
13166 -1 (the default value) means no limit.
13436 PyObject *new = NULL, *key, *value;
13467 value = PyLong_FromLong(PyUnicode_READ(y_kind, y_data, i));
13468 if (!value) {
13472 res = PyDict_SetItem(new, key, value);
13474 Py_DECREF(value);
13503 while (PyDict_Next(x, &i, &key, &value)) {
13517 res = PyDict_SetItem(new, newkey, value);
13523 if (PyDict_SetItem(new, key, value) < 0)
13742 /* use a value smaller than PyUnicode_1BYTE_KIND() so
13762 /* use a value smaller than PyUnicode_1BYTE_KIND() so
14407 * Return value: a new PyUnicodeObject*, or NULL if error.
14701 /* Get argument value from a dictionary. Example: "%(name)s". */
15576 /* The two references in interned dict (key and value) are not counted by
15590 // The function has no return value, the exception cannot
15649 // Restore the two references (key and value) ignored