/external/tensorflow/tensorflow/core/kernels/ |
D | tensor_flag_utils_test.cc | 54 int indx = 0; in TEST() local 56 t.flat<float>()(indx++) = v; in TEST() 62 int indx = 0; in TEST() local 67 t.flat<float>()(indx++) = v; in TEST() 75 int indx = 0; in TEST() local 77 t.flat<float>()(indx++) = v; in TEST() 85 int indx = 0; in TEST() local 87 t.flat<float>()(indx++) = v; in TEST() 95 int indx = 0; in TEST() local 97 t.flat<float>()(indx++) = v; in TEST() [all …]
|
D | roll_op.cc | 137 const int indx = (start / stride) % dim_size[i]; in DoRoll() local 138 indices[i] = indx; in DoRoll() 140 const int shifted_indx = (indx + shift) % dim_size[i]; in DoRoll() 141 offset += (shifted_indx - indx) * stride; in DoRoll() 149 const int indx = (indices[j] + 1) % dim_size[j]; in DoRoll() local 150 indices[j] = indx; in DoRoll() 151 if (indx != 0) { in DoRoll() 152 if (indx == threshold[j]) { // we've reached the threshold in DoRoll() 224 const int indx = (start / stride) % dim_size[i]; in DoRollWithMemcpy() local 225 indices[i] = indx; in DoRollWithMemcpy() [all …]
|
/external/tensorflow/tensorflow/python/kernel_tests/array_ops/ |
D | scatter_ops_test.py | 35 for i, indx in np.ndenumerate(indices): 36 ref[indx] += updates[i] 40 for _, indx in np.ndenumerate(indices): 41 ref[indx] += update 45 for i, indx in np.ndenumerate(indices): 46 ref[indx] -= updates[i] 50 for _, indx in np.ndenumerate(indices): 51 ref[indx] -= update 55 for i, indx in np.ndenumerate(indices): 56 ref[indx] *= updates[i] [all …]
|
D | batch_scatter_ops_test.py | 32 for i, indx in np.ndenumerate(indices): 33 indx = i[:-1] + (indx,) 34 ref[indx] = updates[i]
|
/external/libxaac/decoder/ |
D | ixheaacd_rev_vlc.c | 108 WORD16 indx = 0; in ixheaacd_rvlc_decode() local 113 indx = 0; in ixheaacd_rvlc_decode() 120 indx = -1; in ixheaacd_rvlc_decode() 123 indx = 1; in ixheaacd_rvlc_decode() 131 indx = -2; in ixheaacd_rvlc_decode() 138 indx = -3; in ixheaacd_rvlc_decode() 141 indx = 2; in ixheaacd_rvlc_decode() 150 indx = -4; in ixheaacd_rvlc_decode() 153 indx = 3; in ixheaacd_rvlc_decode() 162 indx = -7; in ixheaacd_rvlc_decode() [all …]
|
D | ixheaacd_mps_pre_mix.c | 340 WORD32 indx = self->hyb_band_to_processing_band_table[qs]; in ixheaacd_mps_apply_pre_matrix() local 343 self->hyb_in[0][qs][ts].re * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 345 self->hyb_in[0][qs][ts].im * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 353 WORD32 indx = self->hyb_band_to_processing_band_table[qs]; in ixheaacd_mps_apply_pre_matrix() local 355 self->hyb_in[0][qs][ts].re * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 357 self->hyb_in[0][qs][ts].im * self->r_out_re_in_m1[ts][indx][0][0]; in ixheaacd_mps_apply_pre_matrix() 475 WORD32 indx = self->hyb_band_to_processing_band_table[qs]; in ixheaacd_mps_apply_mix_matrix() local 482 self->r_out_re_in_m2[ts][indx][row][col]; in ixheaacd_mps_apply_mix_matrix() 484 self->r_out_re_in_m2[ts][indx][row][col]; in ixheaacd_mps_apply_mix_matrix() 491 self->r_out_diff_re_in_m2[ts][indx][row][1]; in ixheaacd_mps_apply_mix_matrix() [all …]
|
D | ixheaacd_lpc_dec.c | 96 static WORD32 ixheaacd_avq_first_approx_abs(FLOAT32 *lsf, WORD32 *indx) { in ixheaacd_avq_first_approx_abs() argument 105 ptr_w = &ixheaacd_weight_table_avq[(indx[0] * ORDER)]; in ixheaacd_avq_first_approx_abs() 110 lsf[i] = ixheaacd_dico_lsf_abs_8b_flt[indx[0] * ORDER + i]; in ixheaacd_avq_first_approx_abs() 113 position += ixheaacd_decoding_avq_tool(&indx[position], avq); in ixheaacd_avq_first_approx_abs() 136 WORD32 ixheaacd_avq_first_approx_rel(FLOAT32 *lsf, WORD32 *indx, WORD32 mode) { in ixheaacd_avq_first_approx_rel() argument 145 position = ixheaacd_decoding_avq_tool(indx, avq); in ixheaacd_avq_first_approx_rel()
|
/external/OpenCL-CTS/test_conformance/basic/ |
D | test_imagereadwrite.cpp | 42 int i, j, indx; in update_rgba8_image() local 46 indx = (i * img_width + x) * 4; in update_rgba8_image() 47 for (j=x; j<x+w; j++,indx+=4) in update_rgba8_image() 49 p[indx+0] = (unsigned char)genrand_int32(d); in update_rgba8_image() 50 p[indx+1] = (unsigned char)genrand_int32(d); in update_rgba8_image() 51 p[indx+2] = (unsigned char)genrand_int32(d); in update_rgba8_image() 52 p[indx+3] = (unsigned char)genrand_int32(d); in update_rgba8_image() 110 int i, j, indx; in update_rgba16_image() local 114 indx = (i * img_width + x) * 4; in update_rgba16_image() 115 for (j=x; j<x+w; j++,indx+=4) in update_rgba16_image() [all …]
|
D | test_imagereadwrite3d.cpp | 42 int i, j, k, indx; in update_rgba8_image() local 48 indx = (k * img_slice + j * img_width + x) * 4; in update_rgba8_image() 49 for (i=x; i<x+w; i++,indx+=4) in update_rgba8_image() 51 p[indx+0] = (unsigned char)genrand_int32(mtData); in update_rgba8_image() 52 p[indx+1] = (unsigned char)genrand_int32(mtData); in update_rgba8_image() 53 p[indx+2] = (unsigned char)genrand_int32(mtData); in update_rgba8_image() 54 p[indx+3] = (unsigned char)genrand_int32(mtData); in update_rgba8_image() 114 int i, j, k, indx; in update_rgba16_image() local 120 indx = (k * img_slice + j * img_width + x) * 4; in update_rgba16_image() 121 for (i=x; i<x+w; i++,indx+=4) in update_rgba16_image() [all …]
|
D | test_imagerandomcopy.cpp | 42 int i, j, indx; in verify_rgba8_image() local 46 indx = j*img_width*4; in verify_rgba8_image() 49 if (outptr[indx+i] != image[indx+i]) in verify_rgba8_image() 72 int i, j, indx; in verify_rgba16_image() local 76 indx = j*img_width*4; in verify_rgba16_image() 79 if (outptr[indx+i] != image[indx+i]) in verify_rgba16_image() 102 int i, j, indx; in verify_rgbafp_image() local 106 indx = j*img_width*4; in verify_rgbafp_image() 109 if (outptr[indx+i] != image[indx+i]) in verify_rgbafp_image()
|
/external/ppp/pppd/ |
D | ipxcp.c | 264 int indx; local 271 for (indx = 0; indx < 5; ++indx) { 272 dst[indx] <<= 4; 273 dst[indx] |= (dst[indx + 1] >> 4) & 0x0F; 442 int indx; local 443 for (indx = 0; indx < sizeof (ipxcp_wantoptions[0].our_node); ++indx) 444 if (node [indx] != 0) 625 int indx; local 628 for (indx = 0; indx < sizeof (go->our_node); ++indx) 629 PUTCHAR (go->our_node[indx], ucp); [all …]
|
/external/libaom/aom_ports/ |
D | msvc.h | 58 #define _mm256_insert_epi16(a, d, indx) \ argument 61 _mm_insert_epi16(_mm256_extractf128_si256(a, indx >> 3), d, indx % 8), \ 62 indx >> 3)
|
/external/armnn/python/pyarmnn/examples/tests/ |
D | test_mfcc.py | 96 for indx, data in test_out.items(): 97 assert np.allclose(mel_filter_bank[indx], data) 196 for indx, data in test_out.items(): 197 assert np.allclose(input_tensor[indx], data) 242 for indx, data in test_out.items(): 246 assert np.allclose(input_tensor[indx][0:13], data[0:13]) 247 assert np.allclose(input_tensor[indx][15:], data[15:])
|
/external/flac/src/libFLAC++/ |
D | metadata.cpp | 447 ::FLAC__StreamMetadata_SeekPoint SeekTable::get_point(uint32_t indx) const in get_point() 450 FLAC__ASSERT(indx < object_->data.seek_table.num_points); in get_point() 451 return object_->data.seek_table.points[indx]; in get_point() 460 void SeekTable::set_point(uint32_t indx, const ::FLAC__StreamMetadata_SeekPoint &point) in set_point() argument 463 FLAC__ASSERT(indx < object_->data.seek_table.num_points); in set_point() 464 ::FLAC__metadata_object_seektable_set_point(object_, indx, point); in set_point() 467 bool SeekTable::insert_point(uint32_t indx, const ::FLAC__StreamMetadata_SeekPoint &point) in insert_point() argument 470 FLAC__ASSERT(indx <= object_->data.seek_table.num_points); in insert_point() 471 return static_cast<bool>(::FLAC__metadata_object_seektable_insert_point(object_, indx, point)); in insert_point() 474 bool SeekTable::delete_point(uint32_t indx) in delete_point() argument [all …]
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo.h | 270 _es_VertexAttrib1f(GLuint indx, GLfloat x); 273 _es_VertexAttrib1fv(GLuint indx, const GLfloat* values); 276 _es_VertexAttrib2f(GLuint indx, GLfloat x, GLfloat y); 279 _es_VertexAttrib2fv(GLuint indx, const GLfloat* values); 282 _es_VertexAttrib3f(GLuint indx, GLfloat x, GLfloat y, GLfloat z); 285 _es_VertexAttrib3fv(GLuint indx, const GLfloat* values); 288 _es_VertexAttrib4fv(GLuint indx, const GLfloat* values);
|
/external/lzma/C/ |
D | Ppmd7.c | 19 #define I2U(indx) (p->Indx2Units[indx]) argument 122 static void InsertNode(CPpmd7 *p, void *node, unsigned indx) in InsertNode() argument 124 *((CPpmd_Void_Ref *)node) = p->FreeList[indx]; in InsertNode() 125 p->FreeList[indx] = REF(node); in InsertNode() 128 static void *RemoveNode(CPpmd7 *p, unsigned indx) in RemoveNode() argument 130 CPpmd_Void_Ref *node = (CPpmd_Void_Ref *)Ppmd7_GetPtr(p, p->FreeList[indx]); in RemoveNode() 131 p->FreeList[indx] = *node; in RemoveNode() 219 static void *AllocUnitsRare(CPpmd7 *p, unsigned indx) in AllocUnitsRare() argument 226 if (p->FreeList[indx] != 0) in AllocUnitsRare() 227 return RemoveNode(p, indx); in AllocUnitsRare() [all …]
|
/external/python/cpython2/Demo/tkinter/ttk/ |
D | treeview_multicolumn.py | 32 for indx, item in enumerate(data): 33 tree.move(item[1], '', indx) 86 for indx, val in enumerate(item): 88 if self.tree.column(tree_columns[indx], width=None) < ilen: 89 self.tree.column(tree_columns[indx], width=ilen)
|
/external/flac/src/share/replaygain_synthesis/ |
D | replaygain_synthesis.c | 208 int indx; in FLAC__replaygain_synthesis__init_dither_context() local 213 indx = bits - 11 - shapingtype; in FLAC__replaygain_synthesis__init_dither_context() 214 if (indx < 0) indx = 0; in FLAC__replaygain_synthesis__init_dither_context() 215 if (indx > 9) indx = 9; in FLAC__replaygain_synthesis__init_dither_context() 223 d->Dither = 0.01f*default_dither[indx] / (((FLAC__int64)1) << bits); in FLAC__replaygain_synthesis__init_dither_context()
|
/external/flac/src/test_libFLAC/ |
D | metadata_object.c | 270 int indx; in vc_replace_new_() local 277 indx = vc_find_from_(block, field_name, 0); in vc_replace_new_() 278 if(indx < 0) in vc_replace_new_() 281 vc_set_new_(entry, block, (uint32_t)indx, field); in vc_replace_new_() 283 for(indx = indx+1; indx >= 0 && (uint32_t)indx < block->data.vorbis_comment.num_comments; ) in vc_replace_new_() 284 if((indx = vc_find_from_(block, field_name, (uint32_t)indx)) >= 0) in vc_replace_new_() 285 vc_delete_(block, (uint32_t)indx); in vc_replace_new_() 372 …_StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__StreamMetadata_CueSheet_Index indx) in tr_set_new_() argument 382 tr->indices[pos] = indx; in tr_set_new_() 387 …_StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__StreamMetadata_CueSheet_Index indx) in tr_insert_new_() argument [all …]
|
/external/curl/lib/ |
D | dynbuf.c | 70 size_t indx = s->leng; in dyn_nappend() local 72 size_t fit = len + indx + 1; /* new string + old string + zero byte */ in dyn_nappend() 77 DEBUGASSERT(indx < s->toobig); in dyn_nappend() 85 DEBUGASSERT(!indx); in dyn_nappend() 110 memcpy(&s->bufr[indx], mem, len); in dyn_nappend() 111 s->leng = indx + len; in dyn_nappend()
|
/external/flac/src/metaflac/ |
D | operations_shorthand_cuesheet.c | 159 unsigned track, indx; in import_cs_from() local 165 for(indx = 0; indx < tr->num_indices; indx++) { in import_cs_from() 166 flac_snprintf(spec, sizeof (spec), "%" PRIu64 ";", (tr->offset + tr->indices[indx].offset)); in import_cs_from()
|
/external/libxml2/ |
D | xpointer.c | 258 xmlXPtrNewPoint(xmlNodePtr node, int indx) { in xmlXPtrNewPoint() argument 263 if (indx < 0) in xmlXPtrNewPoint() 274 ret->index = indx; in xmlXPtrNewPoint() 895 xmlXPtrGetChildNo(xmlXPathParserContextPtr ctxt, int indx) { in xmlXPtrGetChildNo() argument 903 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo() 908 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo() 1998 int indx = xmlXPtrGetIndex(node); in xmlXPtrCoveringRange() local 2001 return(xmlXPtrNewRange(node, indx - 1, in xmlXPtrCoveringRange() 2002 node, indx + 1)); in xmlXPtrCoveringRange() 2311 xmlXPtrAdvanceChar(xmlNodePtr *node, int *indx, int bytes) { in xmlXPtrAdvanceChar() argument [all …]
|
D | entities.c | 615 size_t indx = out - buffer; in xmlEncodeEntitiesInternal() local 616 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal() 619 out = &buffer[indx]; in xmlEncodeEntitiesInternal() 636 indx = out - buffer; in xmlEncodeEntitiesInternal() 637 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal() 639 out = &buffer[indx]; in xmlEncodeEntitiesInternal() 665 indx = out - buffer; in xmlEncodeEntitiesInternal() 666 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal() 668 out = &buffer[indx]; in xmlEncodeEntitiesInternal() 855 size_t indx = out - buffer; in xmlEncodeSpecialChars() local [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_channel_common.h | 53 for (int indx = 0; indx < num_channels_per_target_; indx++) { in FindWorkerChannel() local
|
/external/cronet/third_party/libxml/src/ |
D | entities.c | 615 size_t indx = out - buffer; in xmlEncodeEntitiesInternal() local 616 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal() 619 out = &buffer[indx]; in xmlEncodeEntitiesInternal() 636 indx = out - buffer; in xmlEncodeEntitiesInternal() 637 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal() 639 out = &buffer[indx]; in xmlEncodeEntitiesInternal() 665 indx = out - buffer; in xmlEncodeEntitiesInternal() 666 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal() 668 out = &buffer[indx]; in xmlEncodeEntitiesInternal() 855 size_t indx = out - buffer; in xmlEncodeSpecialChars() local [all …]
|