Lines Matching refs:first
313 output: 'first' points to the part before the first '[' or '.'
314 'first_idx' is -1 if 'first' is not an integer, otherwise
315 it's the value of first converted to an integer
319 field_name_split(PyObject *str, Py_ssize_t start, Py_ssize_t end, SubString *first,
328 /* find the part up until the first '.' or '[' */
344 SubString_init(first, str, start, i);
347 /* see if "first" is an integer, in which case it's used as an index */
348 *first_idx = get_integer(first);
352 field_name_is_empty = first->start >= first->end;
367 /* Initialize our auto numbering state if this is the first
403 SubString first;
407 if (!field_name_split(input->str, input->start, input->end, &first,
414 PyObject *key = SubString_new_object(&first);
1239 returns a tuple of (first, rest): "first", the part before the
1240 first '.' or '['; and "rest", an iterator for the rest of the field
1247 SubString first;
1274 &first, &first_idx, &it->it_field, NULL))
1277 /* first becomes an integer, if possible; else a string */
1281 /* convert "first" into a string object */
1282 first_obj = SubString_new_object(&first);