Home
last modified time | relevance | path

Searched refs:indx (Results 1 – 25 of 78) sorted by relevance

1234

/external/tensorflow/tensorflow/core/kernels/
Dtensor_flag_utils_test.cc54 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 …]
Droll_op.cc137 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 indicies[i] = indx; in DoRollWithMemcpy()
[all …]
Dsparse_utils_test.cc106 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()
Droll_op_gpu.cu.cc43 const int indx = (out_idx / stride) % dim_size[i]; in RollKernel() local
44 const int shifted_indx = (indx + shift) % dim_size[i]; in RollKernel()
45 offset += (shifted_indx - indx) * stride; in RollKernel()
/external/tensorflow/tensorflow/python/kernel_tests/
Dscatter_ops_test.py38 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 …]
Dbatch_scatter_ops_test.py37 for i, indx in np.ndenumerate(indices):
38 indx = i[:-1] + (indx,)
39 ref[indx] = updates[i]
/external/libxaac/decoder/
Dixheaacd_rev_vlc.c108 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 …]
Dixheaacd_mps_pre_mix.c373 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 …]
Dixheaacd_lpc_dec.c101 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/OpenCL-CTS/test_conformance/basic/
Dtest_imagereadwrite.cpp42 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 …]
Dtest_imagereadwrite3d.cpp42 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 …]
Dtest_imagerandomcopy.cpp42 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/
Dipxcp.c264 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/
Dmsvc.h58 #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/
Dvbo.h270 _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/python/cpython2/Demo/tkinter/ttk/
Dtreeview_multicolumn.py32 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/
DPpmd7.c19 #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/libxml2/
Dxpointer.c253 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()
1983 int indx = xmlXPtrGetIndex(node); in xmlXPtrCoveringRange() local
1986 return(xmlXPtrNewRange(node, indx - 1, in xmlXPtrCoveringRange()
1987 node, indx + 1)); in xmlXPtrCoveringRange()
2294 xmlXPtrAdvanceChar(xmlNodePtr *node, int *indx, int bytes) { in xmlXPtrAdvanceChar() argument
[all …]
Dentities.c584 size_t indx = out - buffer; in xmlEncodeEntitiesInternal() local
585 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal()
588 out = &buffer[indx]; in xmlEncodeEntitiesInternal()
605 indx = out - buffer; in xmlEncodeEntitiesInternal()
606 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal()
608 out = &buffer[indx]; in xmlEncodeEntitiesInternal()
634 indx = out - buffer; in xmlEncodeEntitiesInternal()
635 if (indx + 100 > buffer_size) { in xmlEncodeEntitiesInternal()
637 out = &buffer[indx]; in xmlEncodeEntitiesInternal()
810 size_t indx = out - buffer; in xmlEncodeSpecialChars() local
[all …]
DdebugXML.c540 int indx; in xmlCtxtDumpAttrDecl() local
543 for (indx = 0; indx < 5; indx++) { in xmlCtxtDumpAttrDecl()
544 if (indx != 0) in xmlCtxtDumpAttrDecl()
1942 int indx; in xmlShellPrintXPathResultCtxt() local
1945 for (indx = 0; indx < list->nodesetval->nodeNr; in xmlShellPrintXPathResultCtxt()
1946 indx++) { in xmlShellPrintXPathResultCtxt()
1948 list->nodesetval->nodeTab[indx]); in xmlShellPrintXPathResultCtxt()
2992 int indx; in xmlShell() local
2997 for (indx = 0; in xmlShell()
2998 indx < list->nodesetval->nodeNr; in xmlShell()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopRotate/
Dvect.omp.persistence.ll21 %indx = phi i32 [ 1, %entry ], [ %inc, %loop_inc ]
22 %cmp = icmp ne i32 %indx, %a
26 %inc = add i32 %indx, 1
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopVectorize/
Dvect.omp.persistence.ll23 %indx = phi i32 [ 1, %entry ], [ %inc, %loop_inc ]
24 %cmp = icmp ne i32 %indx, %a
28 %inc = add i32 %indx, 1
/external/OpenCL-CTS/test_conformance/clcpp/workgroups/
Dtest_wg_broadcast.hpp168 size_t indx = (i + _i) * nx + (j + _j); in verify_wg_broadcast_2D() local
169 if ( broadcast_result != out[indx] ) in verify_wg_broadcast_2D()
171 log_info("%lu\n", indx); in verify_wg_broadcast_2D()
174 …oadcast: Error at (%lu, %lu): expected = %u, got = %u\n", j+_j, i+_i, broadcast_result, out[indx]); in verify_wg_broadcast_2D()
212 size_t indx = (i + _i) * ny * nx + (j + _j) * nx + (k + _k); in verify_wg_broadcast_3D() local
213 if ( broadcast_result != out[indx] ) in verify_wg_broadcast_3D()
218 broadcast_result, out[indx]); in verify_wg_broadcast_3D()
/external/OpenCL-CTS/test_conformance/profiling/
Dexecute.cpp80 int indx = ( y0 * w + x0 ) * nChannels; in read_imagef() local
85 srcRgb[i] = (float)src[indx+i]; in read_imagef()
93 int indx = ( y * w + x ) * nChannels; in write_imagef() local
98 dst[indx+i] = (uchar)dstRgb[i]; in write_imagef()
106 int indx = 0; in basicFilterPixel() local
112 float w = filter_weights[indx++]; in basicFilterPixel()
/external/deqp/doc/
DGLES2 Negative API Functions.txt189 o glVertexAttrib1f (GLuint indx, GLfloat x);
190 o glVertexAttrib1fv (GLuint indx, const GLfloat* values);
191 o glVertexAttrib2f (GLuint indx, GLfloat x, GLfloat y);
192 o glVertexAttrib2fv (GLuint indx, const GLfloat* values);
193 o glVertexAttrib3f (GLuint indx, GLfloat x, GLfloat y, GLfloat z);
194 o glVertexAttrib3fv (GLuint indx, const GLfloat* values);
195 o glVertexAttrib4f (GLuint indx, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
196 o glVertexAttrib4fv (GLuint indx, const GLfloat* values);
197 o glVertexAttribPointer (GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stri…

1234