Lines Matching defs:value
238 long value;
240 value = (unsigned char)PyBytes_AsString(obj)[0];
250 value = PyUnicode_READ_CHAR(obj, 0);
251 if (128 < value) {
262 value = (unsigned char)PyBytes_AS_STRING(bytes)[0];
264 value = -1;
266 if (value < 0)
272 value = PyLong_AsLongAndOverflow(obj, &long_overflow);
282 *ch = (chtype)value;
283 if ((long)*ch != value)
312 long value;
333 value = (unsigned char)PyBytes_AsString(obj)[0];
337 value = PyLong_AsLongAndOverflow(obj, &overflow);
351 *ch = (chtype)value;
352 if ((long)*ch != value) {
567 ERGSTR - format string for construction of the return value
1076 strings. A 0 value for any parameter will cause the default character to be
1190 position (y, x) if supplied. If no value of num is given or num = -1, the
2448 PyCursesWindow_set_encoding(PyCursesWindowObject *self, PyObject *value, void *Py_UNUSED(ignored))
2454 if (value == NULL) {
2460 if (!PyUnicode_Check(value)) {
2465 ascii = PyUnicode_AsASCIIString(value);
2615 ERGSTR - format string for construction of the return value
2768 Return the attribute value for displaying text in the specified color.
2770 This attribute value can be combined with A_STANDOUT, A_REVERSE, and the
3159 Return True if the current terminal type recognizes a key with that value.
3365 If omitted, the value of the TERM environment variable will be used.
3642 value.
3664 oldmask is the previous value of the given window's mouse event mask.
3896 Return the number of the color-pair set by the specified attribute value.
3917 Emit the value of a specified terminfo capability for the current terminal.
4251 Return the value of the environment variable TERM, truncated to 14 characters.
4266 Return the value of the Boolean capability.
4268 The value -1 is returned if capname is not a Boolean capability, or 0 if
4288 Return the value of the numeric capability.
4290 The value -2 is returned if capname is not a numeric capability, or -1 if
4310 Return the value of the string capability.
4462 long value;
4464 value = PyLong_AsLongAndOverflow(obj, &overflow);
4470 *wch = (wchar_t)value;
4471 if ((long)*wch != value) {