/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 …]
|
D | sparse_utils_test.cc | 106 int indx = 0; in TEST() local 108 t.flat<int32>()(indx++) = v; in TEST() 115 int indx = 0; in TEST() local 117 t.flat<int64>()(indx++) = v; in TEST() 124 int indx = 0; in TEST() local 126 t.flat<uint64>()(indx++) = v; in TEST() 133 int indx = 0; in TEST() local 135 t.flat<uint16>()(indx++) = v; in TEST()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | scatter_ops_test.py | 38 for i, indx in np.ndenumerate(indices): 39 ref[indx] += updates[i] 43 for _, indx in np.ndenumerate(indices): 44 ref[indx] += update 48 for i, indx in np.ndenumerate(indices): 49 ref[indx] -= updates[i] 53 for _, indx in np.ndenumerate(indices): 54 ref[indx] -= update 58 for i, indx in np.ndenumerate(indices): 59 ref[indx] *= updates[i] [all …]
|
D | batch_scatter_ops_test.py | 36 for i, indx in np.ndenumerate(indices): 37 indx = i[:-1] + (indx,) 38 ref[indx] = updates[i]
|
/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/libxaac/decoder/ |
D | ixheaacd_rev_vlc.c | 108 short 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 | 373 WORD32 indx = self->hyb_band_to_processing_band_table[qs]; in ixheaacd_mps_apply_pre_matrix() local 381 self->r_out_re_in_m1[ts][indx][row][col] - in ixheaacd_mps_apply_pre_matrix() 383 self->r_out_im_in_m1[ts][indx][row][col] * sign; in ixheaacd_mps_apply_pre_matrix() 385 self->r_out_im_in_m1[ts][indx][row][col] * sign + in ixheaacd_mps_apply_pre_matrix() 387 self->r_out_re_in_m1[ts][indx][row][col]; in ixheaacd_mps_apply_pre_matrix() 397 WORD32 indx = self->hyb_band_to_processing_band_table[qs]; in ixheaacd_mps_apply_pre_matrix() local 405 self->r_out_re_in_m1[ts][indx][row][col] - in ixheaacd_mps_apply_pre_matrix() 407 self->r_out_im_in_m1[ts][indx][row][col] * sign; in ixheaacd_mps_apply_pre_matrix() 409 self->r_out_im_in_m1[ts][indx][row][col] * sign + in ixheaacd_mps_apply_pre_matrix() 411 self->r_out_re_in_m1[ts][indx][row][col]; in ixheaacd_mps_apply_pre_matrix() [all …]
|
D | ixheaacd_lpc_dec.c | 101 static WORD32 ixheaacd_avq_first_approx_abs(FLOAT32 *lsf, WORD32 *indx) { in ixheaacd_avq_first_approx_abs() argument 110 ptr_w = &ixheaacd_weight_table_avq[(indx[0] * ORDER)]; in ixheaacd_avq_first_approx_abs() 115 lsf[i] = ixheaacd_dico_lsf_abs_8b_flt[indx[0] * ORDER + i]; in ixheaacd_avq_first_approx_abs() 118 position += ixheaacd_decoding_avq_tool(&indx[position], avq); in ixheaacd_avq_first_approx_abs() 138 WORD32 ixheaacd_avq_first_approx_rel(FLOAT32 *lsf, WORD32 *indx, WORD32 mode) { in ixheaacd_avq_first_approx_rel() argument 147 position = ixheaacd_decoding_avq_tool(indx, avq); in ixheaacd_avq_first_approx_rel()
|
/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/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/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/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/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/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/llvm-project/libclc/generic/lib/math/ |
D | log_base.h | 143 uint indx = (xin & 0x007f0000) + ((xin & 0x00008000) << 1); in log2() local 146 float f = as_float(0x3f000000 | indx) - as_float(0x3f000000 | (xin & MANTBITS_SP32)); in log2() 148 indx = indx >> 16; in log2() 149 r = f * USE_TABLE(log_inv_tbl, indx); in log2() 155 float2 tv = USE_TABLE(log2_tbl, indx); in log2() 159 float2 tv = USE_TABLE(log10_tbl, indx); in log2() 163 float2 tv = USE_TABLE(log_tbl, indx); in log2()
|
/external/curl/lib/ |
D | dynbuf.c | 68 size_t indx = s->leng; in dyn_nappend() local 70 size_t fit = len + indx + 1; /* new string + old string + zero byte */ in dyn_nappend() 75 DEBUGASSERT(indx < s->toobig); in dyn_nappend() 83 DEBUGASSERT(!indx); in dyn_nappend() 109 memcpy(&s->bufr[indx], mem, len); in dyn_nappend() 110 s->leng = indx + len; in dyn_nappend()
|
/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 | 264 int indx; in vc_replace_new_() local 271 indx = vc_find_from_(block, field_name, 0); in vc_replace_new_() 272 if(indx < 0) in vc_replace_new_() 275 vc_set_new_(entry, block, (uint32_t)indx, field); in vc_replace_new_() 277 for(indx = indx+1; indx >= 0 && (uint32_t)indx < block->data.vorbis_comment.num_comments; ) in vc_replace_new_() 278 if((indx = vc_find_from_(block, field_name, (uint32_t)indx)) >= 0) in vc_replace_new_() 279 vc_delete_(block, (uint32_t)indx); in vc_replace_new_() 366 …_StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__StreamMetadata_CueSheet_Index indx) in tr_set_new_() argument 376 tr->indices[pos] = indx; in tr_set_new_() 381 …_StreamMetadata *block, uint32_t track_num, uint32_t pos, FLAC__StreamMetadata_CueSheet_Index indx) in tr_insert_new_() argument [all …]
|
/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/llvm-project/llvm/test/Transforms/LoopVectorize/ |
D | vect.omp.persistence.ll | 23 %indx = phi i32 [ 1, %entry ], [ %inc, %loop_inc ] 24 %cmp = icmp ne i32 %indx, %a 28 %inc = add i32 %indx, 1
|
/external/libxml2/ |
D | xpointer.c | 253 xmlXPtrNewPoint(xmlNodePtr node, int indx) { in xmlXPtrNewPoint() argument 258 if (indx < 0) in xmlXPtrNewPoint() 269 ret->index = indx; in xmlXPtrNewPoint() 891 xmlXPtrGetChildNo(xmlXPathParserContextPtr ctxt, int indx) { in xmlXPtrGetChildNo() argument 899 if ((indx <= 0) || (oldset == NULL) || (oldset->nodeNr != 1)) { in xmlXPtrGetChildNo() 904 cur = xmlXPtrGetNthChild(oldset->nodeTab[0], indx); in xmlXPtrGetChildNo() 1993 int indx = xmlXPtrGetIndex(node); in xmlXPtrCoveringRange() local 1996 return(xmlXPtrNewRange(node, indx - 1, in xmlXPtrCoveringRange() 1997 node, indx + 1)); in xmlXPtrCoveringRange() 2306 xmlXPtrAdvanceChar(xmlNodePtr *node, int *indx, int bytes) { in xmlXPtrAdvanceChar() argument [all …]
|
/external/llvm-project/llvm/test/Transforms/LoopRotate/ |
D | vect.omp.persistence.ll | 22 %indx = phi i32 [ 1, %entry ], [ %inc, %loop_inc ] 23 %cmp = icmp ne i32 %indx, %a 27 %inc = add i32 %indx, 1
|