Home
last modified time | relevance | path

Searched refs:cur_i (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython2/Modules/
Daudioop.c1098 int chan, d, *prev_i, *cur_i, cur_o; in audioop_ratecv() local
1151 cur_i = (int *) malloc(nchannels * sizeof(int)); in audioop_ratecv()
1152 if (prev_i == NULL || cur_i == NULL) { in audioop_ratecv()
1162 prev_i[chan] = cur_i[chan] = 0; in audioop_ratecv()
1187 &cur_i[chan])) in audioop_ratecv()
1228 cur_i[chan])); in audioop_ratecv()
1247 prev_i[chan] = cur_i[chan]; in audioop_ratecv()
1249 cur_i[chan] = ((int)*CHARP(cp, 0)) << 24; in audioop_ratecv()
1251 cur_i[chan] = ((int)*SHORTP(cp, 0)) << 16; in audioop_ratecv()
1253 cur_i[chan] = (int)*LONGP(cp, 0); in audioop_ratecv()
[all …]
/external/python/cpython3/Modules/
Daudioop.c1316 int chan, d, *prev_i, *cur_i, cur_o; in audioop_ratecv_impl() local
1367 cur_i = (int *) PyMem_Malloc(nchannels * sizeof(int)); in audioop_ratecv_impl()
1368 if (prev_i == NULL || cur_i == NULL) { in audioop_ratecv_impl()
1378 prev_i[chan] = cur_i[chan] = 0; in audioop_ratecv_impl()
1403 &prev_i[chan], &cur_i[chan])) in audioop_ratecv_impl()
1447 cur_i[chan])); in audioop_ratecv_impl()
1465 prev_i[chan] = cur_i[chan]; in audioop_ratecv_impl()
1466 cur_i[chan] = GETSAMPLE32(width, cp, 0); in audioop_ratecv_impl()
1469 cur_i[chan] = (int)( in audioop_ratecv_impl()
1470 ((double)weightA * (double)cur_i[chan] + in audioop_ratecv_impl()
[all …]
/external/tensorflow/tensorflow/python/ops/
Drnn.py1266 def copy_fn(cur_i, cand_i): argument
1268 if isinstance(cur_i, tensor_array_ops.TensorArray):
1270 if cur_i.shape.rank == 0:
1274 return array_ops.where(elements_finished, cur_i, cand_i)