Searched defs:slice (Results 26 - 50 of 81) sorted by relevance

1234

/external/v8/src/arm/
H A Dregexp-macro-assembler-arm.cc1091 // Extract the underlying string and the slice offset.
1095 SlicedString* slice = SlicedString::cast(*subject_tmp); local
1096 subject_tmp = Handle<String>(slice->parent());
1097 slice_offset = slice->offset();
/external/v8/src/
H A Dregexp-macro-assembler.cc100 SlicedString* slice = SlicedString::cast(subject_ptr); local
101 subject_ptr = slice->parent();
102 slice_offset = slice->offset();
/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py878 def slice(self, start, stop): member in class:CommonTokenStream
/external/fio/profiles/
H A Dact.c298 struct act_slice *slice; local
312 slice = &apd->slices[apd->cur_slice];
313 slice->total_ios++;
317 slice->lat_buckets[i]++;
327 perm = (1000.0 * slice->lat_buckets[i]) / slice->total_ios;
348 static int show_slice(struct act_slice *slice, unsigned int slice_num) argument
357 if (slice->total_ios)
358 perc = 100.0 * (double) slice->lat_buckets[i] / (double) slice
400 unsigned int i, slice; local
[all...]
/external/jetty/src/java/org/eclipse/jetty/io/
H A DAbstractBuffer.java551 public Buffer slice() method in class:AbstractBuffer
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_mipmap_tree.h123 * \name Offset to slice
127 * compute the slice offsets, so we store them in this table.
129 * The (x, y) offset to slice \c s at level \c l relative the miptrees
132 * x = mt->level[l].slice[s].x_offset
133 * y = mt->level[l].slice[s].y_offset
141 * intel_miptree_map/unmap on this slice.
144 } *slice; member in struct:intel_mipmap_level
167 * with array slice n containing all pixel data for sample n.
175 * indicates the mapping from sample number to array slice. This allows
178 * slice
[all...]
H A Dintel_mipmap_tree.c533 free((*mt)->level[i].slice);
616 assert(mt->level[level].slice == NULL);
618 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice));
619 mt->level[level].slice[0].x_offset = mt->level[level].level_x;
620 mt->level[level].slice[0].y_offset = mt->level[level].level_y;
634 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x;
635 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y;
639 mt->level[level].slice[img].x_offset,
640 mt->level[level].slice[im
654 int slice; local
1068 intel_miptree_map_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1110 intel_miptree_unmap_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1120 intel_miptree_map_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1181 intel_miptree_unmap_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1194 intel_miptree_map_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1240 intel_miptree_unmap_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1270 intel_miptree_map_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1301 intel_miptree_unmap_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1335 intel_miptree_map_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1405 intel_miptree_unmap_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1467 intel_miptree_attach_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode) argument
1497 intel_miptree_release_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1509 intel_miptree_map_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1560 intel_miptree_unmap_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1591 intel_miptree_map_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1650 intel_miptree_unmap_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1675 intel_miptree_map(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1702 intel_miptree_unmap(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/nouveau/
H A Dnouveau_texture.c154 GLuint slice,
166 assert(slice == 0);
217 GLuint slice)
152 nouveau_map_texture_image(struct gl_context *ctx, struct gl_texture_image *ti, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, GLubyte **map, GLint *stride) argument
216 nouveau_unmap_texture_image(struct gl_context *ctx, struct gl_texture_image *ti, GLuint slice) argument
/external/mesa3d/src/mesa/main/
H A Ddebug.c616 const GLint slice = 0; local
621 ctx->Driver.MapTextureImage(ctx, img, slice,
671 ctx->Driver.UnmapTextureImage(ctx, img, slice);
H A Dmipmap.c1697 * \param srcData array[slice] of pointers to source image slices
1698 * \param dstData array[slice] of pointers to dest image slices
1901 GLint slice; local
1944 for (slice = 0; slice < srcDepth; slice++) {
1945 ctx->Driver.MapTextureImage(ctx, srcImage, slice,
1948 &srcMaps[slice], &srcRowStride);
1949 if (!srcMaps[slice]) {
1962 for (slice
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_renderbuffer.c569 const GLuint slice = fb->Attachment[buffer].Zoffset; local
572 ctx->Driver.MapTextureImage(ctx, texImage, slice,
603 const GLuint slice = fb->Attachment[buffer].Zoffset; local
606 ctx->Driver.UnmapTextureImage(ctx, texImage, slice);
/external/opencv/cv/src/
H A Dcvapprox.cpp523 CvSlice slice = {0, 0}, right_slice = {0, 0}; local
557 slice.start_index = 0;
558 slice.end_index = count - 1;
559 cvSeqPush( stack, &slice );
602 slice.start_index = cvGetSeqReaderPos( &reader );
603 slice.end_index = right_slice.start_index += slice.start_index;
606 right_slice.end_index = slice.start_index;
611 cvSeqPush( stack, &slice );
620 cvSeqPop( stack, &slice );
727 CvSlice slice = {0, 0}, right_slice = {0, 0}; local
[all...]
H A Dcvshapedescr.cpp45 cvArcLength( const void *array, CvSlice slice, int is_closed ) argument
83 cvSetSeqReaderPos( &reader, slice.start_index );
84 count = cvSliceLength( slice, contour );
558 static CvStatus icvContourSecArea( CvSeq * contour, CvSlice slice, double *area ) argument
580 lpt = cvSliceLength( slice, contour );
601 cvSetSeqReaderPos( &reader, slice.start_index );
604 cvSetSeqReaderPos( &reader, slice.end_index );
610 cvSetSeqReaderPos( &reader, slice.start_index );
728 cvContourArea( const void *array, CvSlice slice )
752 if( cvSliceLength( slice, contou
[all...]
/external/guava/guava/src/com/google/common/io/
H A DByteStreams.java82 * @deprecated Use {@code ByteSource.wrap(b).slice(off, len)} instead. This
88 return asInputSupplier(ByteSource.wrap(b).slice(off, len));
995 * @deprecated Use {@link ByteSource#slice(int, int)} instead. This method is
999 public static InputSupplier<InputStream> slice( method in class:ByteStreams
1003 return asInputSupplier(asByteSource(supplier).slice(offset, length));
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_texture.c216 GLuint slice,
258 *map = base + (slice * height) * *stride;
265 *map = image->base.Buffer + (slice * height) * *stride;
273 struct gl_texture_image *texImage, GLuint slice)
214 radeon_map_texture_image(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, GLubyte **map, GLint *stride) argument
272 radeon_unmap_texture_image(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint slice) argument
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_texture.c216 GLuint slice,
258 *map = base + (slice * height) * *stride;
265 *map = image->base.Buffer + (slice * height) * *stride;
273 struct gl_texture_image *texImage, GLuint slice)
214 radeon_map_texture_image(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, GLubyte **map, GLint *stride) argument
272 radeon_unmap_texture_image(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint slice) argument
/external/protobuf/python/google/protobuf/pyext/
H A Drepeated_composite_container.cc353 PyObject* Subscript(RepeatedCompositeContainer* self, PyObject* slice) { argument
362 if (PySlice_Check(slice)) {
364 if (PySlice_GetIndicesEx(slice,
366 if (PySlice_GetIndicesEx(reinterpret_cast<PySliceObject*>(slice),
372 } else if (PyInt_Check(slice) || PyLong_Check(slice)) {
373 from = to = PyLong_AsLong(slice);
384 PyErr_SetString(PyExc_TypeError, "index must be an integer or slice");
389 PyObject* slice,
403 slice,
388 AssignSubscript(RepeatedCompositeContainer* self, PyObject* slice, PyObject* value) argument
[all...]
/external/v8/src/ia32/
H A Dregexp-macro-assembler-ia32.cc1123 // Extract the underlying string and the slice offset.
1127 SlicedString* slice = SlicedString::cast(*subject_tmp); local
1128 subject_tmp = Handle<String>(slice->parent());
1129 slice_offset = slice->offset();
/external/v8/src/mips/
H A Dregexp-macro-assembler-mips.cc1150 // Extract the underlying string and the slice offset.
1154 SlicedString* slice = SlicedString::cast(*subject_tmp); local
1155 subject_tmp = Handle<String>(slice->parent());
1156 slice_offset = slice->offset();
/external/v8/src/mips64/
H A Dregexp-macro-assembler-mips64.cc1196 // Extract the underlying string and the slice offset.
1200 SlicedString* slice = SlicedString::cast(*subject_tmp); local
1201 subject_tmp = Handle<String>(slice->parent());
1202 slice_offset = slice->offset();
/external/v8/src/x87/
H A Dregexp-macro-assembler-x87.cc1122 // Extract the underlying string and the slice offset.
1126 SlicedString* slice = SlicedString::cast(*subject_tmp); local
1127 subject_tmp = Handle<String>(slice->parent());
1128 slice_offset = slice->offset();
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_texture.c788 * for just one cube face or one 3D texture slice
891 * Return pointer to a 2D texture image/face/slice.
1015 * for a particular cube face or 3D texture slice.
1017 * \param face_slice the cube face or 3D slice of interest
1169 int slice; local
1174 for (slice = slices - 1; slice >= 0; slice--) {
1175 map = llvmpipe_get_texture_image(lpr, slice, level, usage, layout);
1209 /* compute address of the slice/fac
[all...]
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_mipmap_tree.c533 free((*mt)->level[i].slice);
616 assert(mt->level[level].slice == NULL);
618 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice));
619 mt->level[level].slice[0].x_offset = mt->level[level].level_x;
620 mt->level[level].slice[0].y_offset = mt->level[level].level_y;
634 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x;
635 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y;
639 mt->level[level].slice[img].x_offset,
640 mt->level[level].slice[im
654 int slice; local
1068 intel_miptree_map_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1110 intel_miptree_unmap_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1120 intel_miptree_map_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1181 intel_miptree_unmap_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1194 intel_miptree_map_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1240 intel_miptree_unmap_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1270 intel_miptree_map_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1301 intel_miptree_unmap_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1335 intel_miptree_map_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1405 intel_miptree_unmap_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1467 intel_miptree_attach_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode) argument
1497 intel_miptree_release_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1509 intel_miptree_map_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1560 intel_miptree_unmap_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1591 intel_miptree_map_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1650 intel_miptree_unmap_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1675 intel_miptree_map(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1702 intel_miptree_unmap(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_mipmap_tree.c533 free((*mt)->level[i].slice);
616 assert(mt->level[level].slice == NULL);
618 mt->level[level].slice = calloc(d, sizeof(*mt->level[0].slice));
619 mt->level[level].slice[0].x_offset = mt->level[level].level_x;
620 mt->level[level].slice[0].y_offset = mt->level[level].level_y;
634 mt->level[level].slice[img].x_offset = mt->level[level].level_x + x;
635 mt->level[level].slice[img].y_offset = mt->level[level].level_y + y;
639 mt->level[level].slice[img].x_offset,
640 mt->level[level].slice[im
654 int slice; local
1068 intel_miptree_map_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1110 intel_miptree_unmap_gtt(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1120 intel_miptree_map_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1181 intel_miptree_unmap_blit(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1194 intel_miptree_map_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1240 intel_miptree_unmap_s8(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1270 intel_miptree_map_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1301 intel_miptree_unmap_etc1(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1335 intel_miptree_map_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1405 intel_miptree_unmap_depthstencil(struct intel_context *intel, struct intel_mipmap_tree *mt, struct intel_miptree_map *map, unsigned int level, unsigned int slice) argument
1467 intel_miptree_attach_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode) argument
1497 intel_miptree_release_map(struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1509 intel_miptree_map_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1560 intel_miptree_unmap_singlesample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1591 intel_miptree_map_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1650 intel_miptree_unmap_multisample(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
1675 intel_miptree_map(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice, unsigned int x, unsigned int y, unsigned int w, unsigned int h, GLbitfield mode, void **out_ptr, int *out_stride) argument
1702 intel_miptree_unmap(struct intel_context *intel, struct intel_mipmap_tree *mt, unsigned int level, unsigned int slice) argument
[all...]
/external/mesa3d/src/mesa/state_tracker/
H A Dst_cb_texture.c170 GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h,
187 map = st_texture_image_map(st, stImage, slice, pipeMode, x, y, w, h);
203 GLuint slice)
168 st_MapTextureImage(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, GLubyte **mapOut, GLint *rowStrideOut) argument
201 st_UnmapTextureImage(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint slice) argument

Completed in 606 milliseconds

1234