Home
last modified time | relevance | path

Searched refs:next_input (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Modules/_io/
Dtextio.c1469 PyObject *next_input = PyNumber_Add(dec_buffer, input_chunk); in textiowrapper_read_chunk() local
1470 if (next_input == NULL) in textiowrapper_read_chunk()
1472 if (!PyBytes_Check(next_input)) { in textiowrapper_read_chunk()
1476 Py_TYPE(next_input)->tp_name); in textiowrapper_read_chunk()
1477 Py_DECREF(next_input); in textiowrapper_read_chunk()
1481 Py_XSETREF(self->snapshot, Py_BuildValue("NN", dec_flags, next_input)); in textiowrapper_read_chunk()
2197 PyObject *next_input; in textiowrapper_tell() local
2241 if (!PyArg_Parse(self->snapshot, "(iO)", &cookie.dec_flags, &next_input)) in textiowrapper_tell()
2244 assert (PyBytes_Check(next_input)); in textiowrapper_tell()
2246 cookie.start_pos -= PyBytes_GET_SIZE(next_input); in textiowrapper_tell()
[all …]
/external/tensorflow/tensorflow/python/ops/
Drnn.py1087 (elements_finished, next_input, initial_state, emit_structure,
1090 flat_input = nest.flatten(next_input)
1169 (next_finished, next_input, next_state, emit_output,
1174 nest.assert_same_structure(current_input, next_input)
1202 return (next_time, elements_finished, next_input,
1207 time, elements_finished, next_input,
/external/python/cpython3/Modules/_io/
Dtextio.c1774 PyObject *next_input = dec_buffer; in textiowrapper_read_chunk() local
1775 PyBytes_Concat(&next_input, input_chunk); in textiowrapper_read_chunk()
1777 if (next_input == NULL) { in textiowrapper_read_chunk()
1780 PyObject *snapshot = Py_BuildValue("NN", dec_flags, next_input); in textiowrapper_read_chunk()
2520 PyObject *next_input; in _io_TextIOWrapper_tell_impl() local
2568 if (!PyArg_ParseTuple(self->snapshot, "iO", &cookie.dec_flags, &next_input)) in _io_TextIOWrapper_tell_impl()
2571 assert (PyBytes_Check(next_input)); in _io_TextIOWrapper_tell_impl()
2573 cookie.start_pos -= PyBytes_GET_SIZE(next_input); in _io_TextIOWrapper_tell_impl()
2632 assert(skip_back <= PyBytes_GET_SIZE(next_input)); in _io_TextIOWrapper_tell_impl()
2633 input = PyBytes_AS_STRING(next_input); in _io_TextIOWrapper_tell_impl()
[all …]
/external/tensorflow/tensorflow/cc/ops/
Dwhile_loop.cc75 NodeBuilder::NodeOut next_input(NextIterationName(scope, loop_var_idx), in CreateMerge() local
78 std::vector<NodeBuilder::NodeOut> input_list({enter_input, next_input}); in CreateMerge()
/external/python/cpython3/Lib/
D_pyio.py2269 dec_flags, next_input = self._snapshot
2270 position -= len(next_input)
2291 assert skip_bytes <= len(next_input)
2295 n = len(decoder.decode(next_input[:skip_bytes]))
2329 for i in range(skip_bytes, len(next_input)):
2331 chars_decoded += len(decoder.decode(next_input[i:i+1]))
/external/tensorflow/tensorflow/python/kernel_tests/
Drnn_cell_test.py2075 next_input = control_flow_ops.cond(
2079 return (elements_finished, next_input, next_state, emit_output, None)
2186 next_input = control_flow_ops.cond(
2190 return (elements_finished, next_input, next_state, emit_output,
2229 next_input = control_flow_ops.cond(
2233 return (elements_finished, next_input, next_state, emit_output,
2272 next_input = control_flow_ops.cond(
2276 return (elements_finished, next_input, next_state, emit_output, None)
2338 next_input = control_flow_ops.cond(
2342 return (elements_finished, next_input, next_state, emit_output, None)
/external/python/cpython2/Lib/
D_pyio.py1731 dec_flags, next_input = self._snapshot
1732 position -= len(next_input)
1754 for next_byte in next_input: