Home | History | Annotate | Download | only in Objects

Lines Matching defs:where

1181 Return the lowest index in B where subsection sub is found,\n\
1251 Return the highest index in B where subsection sub is found,\n\
1436 Return a copy of B, where all characters occurring in the\n\
2002 /* Handle special case where both bytes have the same length */
2222 Py_ssize_t where, n = Py_SIZE(self);
2224 if (!PyArg_ParseTuple(args, "nO:insert", &where, &value))
2237 if (where < 0) {
2238 where += n;
2239 if (where < 0)
2240 where = 0;
2242 if (where > n)
2243 where = n;
2244 memmove(self->ob_bytes + where + 1, self->ob_bytes + where, n - where);
2245 self->ob_bytes[where] = ival;
2372 Py_ssize_t where = -1, n = Py_SIZE(self);
2374 if (!PyArg_ParseTuple(args, "|n:pop", &where))
2382 if (where < 0)
2383 where += Py_SIZE(self);
2384 if (where < 0 || where >= Py_SIZE(self)) {
2391 value = self->ob_bytes[where];
2392 memmove(self->ob_bytes + where, self->ob_bytes + where + 1, n - where);
2408 char *where;
2413 where = memchr(self->ob_bytes, value, n);
2414 if (!where) {
2421 memmove(where, where + 1, self->ob_bytes + n - where);