Searched defs:slices (Results 1 - 25 of 27) sorted by relevance

12

/external/chromium_org/v8/test/intl/break-iterator/
H A Den-break.js35 var slices = []; variable
42 slices.push(textToSegment.slice(pos, nextPos));
48 assertEquals('Jack', slices[0]);
49 assertEquals(' ', slices[1]);
50 assertEquals('and', slices[2]);
51 assertEquals(' ', slices[3]);
52 assertEquals('Jill', slices[4]);
53 assertEquals(',', slices[5]);
54 assertEquals('!', slices[slices
[all...]
H A Dzh-break.js36 var slices = []; variable
43 slices.push(textToSegment.slice(pos, nextPos));
49 assertEquals('\u56FD\u52A1\u9662', slices[0]);
50 assertEquals('\u5173\u4E8E', slices[1]);
51 assertEquals('\u300A', slices[2]);
52 assertEquals('\u571F\u5730', slices[3]);
53 assertEquals('\u623F\u5C4B', slices[4]);
54 assertEquals('\u7BA1\u7406', slices[5]);
55 assertEquals('\u6761\u4F8B', slices[6]);
56 assertEquals('\u300B', slices[
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSBorderImageSliceValue.cpp33 CSSBorderImageSliceValue::CSSBorderImageSliceValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill) argument
35 , m_slices(slices)
42 // Dump the slices first.
H A DCSSBorderImageSliceValue.h37 static PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> create(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill) argument
39 return adoptRefWillBeNoop(new CSSBorderImageSliceValue(slices, fill));
44 Quad* slices() { return m_slices ? m_slices->getQuadValue() : 0; } function in class:blink::CSSBorderImageSliceValue
56 CSSBorderImageSliceValue(PassRefPtrWillBeRawPtr<CSSPrimitiveValue> slices, bool fill);
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DCSSToStyleMap.cpp464 // Map in the image slices.
468 // Map in the border slices.
476 // Set the appropriate rules for stretch/round/repeat of the slices.
482 // We have to preserve the legacy behavior of -webkit-border-image and make the border slices
504 // Set up a length box to represent our image slices.
506 Quad* slices = borderImageSlice->slices(); local
507 if (slices->top()->isPercentage())
508 box.m_top = Length(slices->top()->getDoubleValue(), Percent);
510 box.m_top = Length(slices
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DNinePieceImage.h74 void setImageSlices(const LengthBox& slices) { m_data.access()->imageSlices = slices; } argument
80 void setBorderSlices(const BorderImageLengthBox& slices) { m_data.access()->borderSlices = slices; } argument
H A DRenderStyle.cpp1646 void RenderStyle::setBorderImageSlices(const LengthBox& slices) argument
1648 if (surround->border.m_image.imageSlices() == slices)
1650 surround.access()->border.m_image.setImageSlices(slices);
1653 void RenderStyle::setBorderImageWidth(const BorderImageLengthBox& slices) argument
1655 if (surround->border.m_image.borderSlices() == slices)
1657 surround.access()->border.m_image.setBorderSlices(slices);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
H A Dsp_texture.c65 unsigned slices; local
68 slices = 6;
70 slices = depth;
72 slices = pt->array_size;
79 slices * spr->stride[level]);
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_tex.c60 GLuint slices; local
74 slices = image->Depth;
77 slices = image->Height;
80 slices = 1;
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
187 * cube face, since it's all just slices to the miptree code.
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_tex.c60 GLuint slices; local
74 slices = image->Depth;
77 slices = image->Height;
80 slices = 1;
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
187 * cube face, since it's all just slices to the miptree code.
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_tex.c60 GLuint slices; local
74 slices = image->Depth;
77 slices = image->Height;
80 slices = 1;
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
187 * cube face, since it's all just slices to the miptree code.
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_texture.c65 unsigned slices; local
68 slices = 6;
70 slices = depth;
72 slices = pt->array_size;
79 slices * spr->stride[level]);
/external/mesa3d/src/mesa/drivers/dri/i915/
H A Dintel_tex.c60 GLuint slices; local
74 slices = image->Depth;
77 slices = image->Height;
80 slices = 1;
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
187 * cube face, since it's all just slices to the miptree code.
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dintel_tex.c60 GLuint slices; local
74 slices = image->Depth;
77 slices = image->Height;
80 slices = 1;
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
187 * cube face, since it's all just slices to the miptree code.
/external/mesa3d/src/mesa/drivers/dri/intel/
H A Dintel_tex.c60 GLuint slices; local
74 slices = image->Depth;
77 slices = image->Height;
80 slices = 1;
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
187 * cube face, since it's all just slices to the miptree code.
/external/fio/profiles/
H A Dact.c43 struct act_slice *slices; member in struct:act_run_data
50 struct act_slice *slices; member in struct:act_prof_data
312 slice = &apd->slices[apd->cur_slice];
392 fails += show_slice(&act_run_data->slices[i], i + 1);
404 if (!act_run_data->slices) {
405 act_run_data->slices = calloc(apd->nr_slices, sizeof(struct act_slice));
410 struct act_slice *dst = &act_run_data->slices[slice];
411 struct act_slice *src = &apd->slices[slice];
434 apd->slices = calloc(nr_slices, sizeof(struct act_slice));
446 free(apd->slices);
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dradeon_texture.c111 int slices; local
117 slices = timage->Depth;
120 slices = 1;
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_texture.c111 int slices; local
117 slices = timage->Depth;
120 slices = 1;
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dradeon_texture.c111 int slices; local
117 slices = timage->Depth;
120 slices = 1;
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_texture.c111 int slices; local
117 slices = timage->Depth;
120 slices = 1;
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint));
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_texture.c153 /* Number of 3D image slices or cube faces */
820 * including all cube faces or 3D image slices
968 * faces and all 3D slices.
1158 * All cube faces and 3D slices will be converted to the requested
1168 const int slices = lpr->num_slices_faces[level]; local
1172 assert(slices > 0);
1174 for (slice = slices - 1; slice >= 0; slice--) {
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_texture.c153 /* Number of 3D image slices or cube faces */
820 * including all cube faces or 3D image slices
968 * faces and all 3D slices.
1158 * All cube faces and 3D slices will be converted to the requested
1168 const int slices = lpr->num_slices_faces[level]; local
1172 assert(slices > 0);
1174 for (slice = slices - 1; slice >= 0; slice--) {
/external/chromium_org/third_party/skia/tests/
H A DPathOpsSkpClipTest.cpp395 const int slices = 3; local
396 SkScalar xInterval = SkTMax(pWidth - maxDimension, 0.0f) / (slices - 1);
397 SkScalar yInterval = SkTMax(pHeight - maxDimension, 0.0f) / (slices - 1);
401 for (int x = 0; x < slices; ++x) {
402 for (int y = 0; y < slices; ++y) {
406 canvas->translate(xInterval, -yInterval * slices);
H A DSkpSkGrTest.cpp336 const int slices = 3; local
337 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1);
338 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1);
343 for (int x = 0; x < slices; ++x) {
344 for (int y = 0; y < slices; ++y) {
348 canvas->translate(SkIntToScalar(xInterval), SkIntToScalar(-yInterval * slices));
/external/skia/tests/
H A DPathOpsSkpClipTest.cpp545 const int slices = 3; local
546 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1);
547 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1);
552 for (int x = 0; x < slices; ++x) {
553 for (int y = 0; y < slices; ++y) {
557 canvas->translate(SkIntToScalar(xInterval), SkIntToScalar(-yInterval * slices));

Completed in 512 milliseconds

12