Home
last modified time | relevance | path

Searched refs:slices (Results 1 – 25 of 61) sorted by relevance

123

/external/v8/test/intl/break-iterator/
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.length - 1]);
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[7]);
/external/fio/profiles/
Dact.c43 struct act_slice *slices; member
50 struct act_slice *slices; member
312 slice = &apd->slices[apd->cur_slice]; in act_io_u_lat()
392 fails += show_slice(&act_run_data->slices[i], i + 1); in act_show_all_stats()
404 if (!act_run_data->slices) { in put_act_ref()
405 act_run_data->slices = calloc(apd->nr_slices, sizeof(struct act_slice)); in put_act_ref()
410 struct act_slice *dst = &act_run_data->slices[slice]; in put_act_ref()
411 struct act_slice *src = &apd->slices[slice]; in put_act_ref()
434 apd->slices = calloc(nr_slices, sizeof(struct act_slice)); in act_td_init()
446 free(apd->slices); in act_td_exit()
[all …]
/external/chromium-trace/catapult/third_party/flot/
Djquery.flot.pie.min.js7slices=plot.getData(),attempts=0;do{if(attempts>0){maxRadius*=REDRAW_SHRINK}attempts+=1;clear();if…
Djquery.flot.pie.js309 var slices = plot.getData(),
332 plot.setSeries(slices);
393 for (var i = 0; i < slices.length; ++i) {
394 slices[i].startAngle = currentAngle;
395 drawSlice(slices[i].angle, slices[i].color, true);
405 for (var i = 0; i < slices.length; ++i) {
406 drawSlice(slices[i].angle, options.series.pie.stroke.color, false);
460 for (var i = 0; i < slices.length; ++i) {
461 if (slices[i].percent >= options.series.pie.label.threshold * 100) {
462 if (!drawLabel(slices[i], currentAngle, i)) {
[all …]
/external/chromium-trace/catapult/tracing/docs/
Dtrace-viewer-internals.md28 … *Selection:* a vector of things in the tracks that the user has selected (counter samples, slices)
58 considered slices.
73 * This of visualization starts as a *flat* array of slices:
79 …p. A slice group can be composed into subRows -- a subRow is an array of slices that are all non-o…
91 * We convert the slices into subrows based on containment.
95 …* We convert the slices into subrows by greedily packing them into rows, adding rows as needed whe…
112 …ly-increasing slices. Has some simple but critical logic to efficiently render even with thousands…
122 …* Eg a thread has a bunch of slices in it. That gets turned into a bunch of subrows that we then t…
123 …* The hit concept exists partly because slices can’t know their parent (see model section for why)…
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex.c60 GLuint slices; in intel_alloc_texture_image_buffer() local
74 slices = image->Depth; in intel_alloc_texture_image_buffer()
77 slices = image->Height; in intel_alloc_texture_image_buffer()
80 slices = 1; in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c60 GLuint slices; in intel_alloc_texture_image_buffer() local
74 slices = image->Depth; in intel_alloc_texture_image_buffer()
77 slices = image->Height; in intel_alloc_texture_image_buffer()
80 slices = 1; in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
/external/mesa3d/src/mesa/drivers/dri/intel/
Dintel_tex.c60 GLuint slices; in intel_alloc_texture_image_buffer() local
74 slices = image->Depth; in intel_alloc_texture_image_buffer()
77 slices = image->Height; in intel_alloc_texture_image_buffer()
80 slices = 1; in intel_alloc_texture_image_buffer()
83 intel_image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in intel_alloc_texture_image_buffer()
/external/autotest/client/site_tests/graphics_PiglitBVT/
Dgenerate_scripts.py82 This control file runs slice %d out of %d slices of a passing subset of the\n\
91 def output_control_file(sl, slices): argument
97 print(CONTROL_FILE % (sl, slices, sl), file=f)
271 slices = OUTPUT_FILE_SLICES
301 if time_slice < time_total / slices:
308 if time_slice >= time_total / slices or num_processed == num_pass_total:
321 output_control_file(current_slice, slices)
DREADME33 b) graphics_PiglitBVT_{1..20}.sh roughly equally timed slices of the whole
36 c) control.{1...20} for running the test slices on BVT.
/external/opencv3/3rdparty/openexr/IlmImf/
DImfScanLineInputFile.cpp197 vector<InSliceInfo> slices; // info about channels in file member
516 for (unsigned int i = 0; i < _ifd->slices.size(); ++i) in execute()
523 const InSliceInfo &slice = _ifd->slices[i]; in execute()
791 vector<InSliceInfo> slices; in setFrameBuffer() local
806 slices.push_back (InSliceInfo (i.channel().type, in setFrameBuffer()
831 slices.push_back (InSliceInfo (j.slice().type, in setFrameBuffer()
852 _data->slices = slices; in setFrameBuffer()
878 if (_data->slices.size() == 0) in readPixels()
DImfOutputFile.cpp190 vector<OutSliceInfo> slices; // info about channels in file member
365 for (unsigned int i = 0; i < ofd->slices.size(); ++i) in convertToXdr()
373 const OutSliceInfo &slice = ofd->slices[i]; in convertToXdr()
512 for (unsigned int i = 0; i < _ofd->slices.size(); ++i) in execute()
519 const OutSliceInfo &slice = _ofd->slices[i]; in execute()
849 vector<OutSliceInfo> slices; in setFrameBuffer() local
864 slices.push_back (OutSliceInfo (i.channel().type, in setFrameBuffer()
878 slices.push_back (OutSliceInfo (j.slice().type, in setFrameBuffer()
893 _data->slices = slices; in setFrameBuffer()
912 if (_data->slices.size() == 0) in writePixels()
DImfTiledInputFile.cpp215 vector<TInSliceInfo> slices; // info about channels in file member
510 for (unsigned int i = 0; i < _ifd->slices.size(); ++i) in execute()
512 const TInSliceInfo &slice = _ifd->slices[i]; in execute()
846 vector<TInSliceInfo> slices; in setFrameBuffer() local
861 slices.push_back (TInSliceInfo (i.channel().type, in setFrameBuffer()
884 slices.push_back (TInSliceInfo (j.slice().type, in setFrameBuffer()
907 slices.push_back (TInSliceInfo (i.channel().type, in setFrameBuffer()
923 _data->slices = slices; in setFrameBuffer()
953 if (_data->slices.size() == 0) in readTiles()
DImfTiledOutputFile.cpp255 vector<TOutSliceInfo> slices; // info about channels in file member
614 for (unsigned int i = 0; i < ofd->slices.size(); ++i) in convertToXdr()
616 const TOutSliceInfo &slice = ofd->slices[i]; in convertToXdr()
729 for (unsigned int i = 0; i < _ofd->slices.size(); ++i) in execute()
731 const TOutSliceInfo &slice = _ofd->slices[i]; in execute()
1046 vector<TOutSliceInfo> slices; in setFrameBuffer() local
1061 slices.push_back (TOutSliceInfo (i.channel().type, in setFrameBuffer()
1073 slices.push_back (TOutSliceInfo (j.slice().type, in setFrameBuffer()
1088 _data->slices = slices; in setFrameBuffer()
1108 if (_data->slices.size() == 0) in writeTiles()
/external/llvm/test/CodeGen/X86/
Dload-slice.ll9 ; Check that independent slices leads to independent loads then the slices leads to
33 ; Same for REGULAR, we eliminate register bank copy with each slices.
83 ; The 64-bits should have been split in one 32-bits and one 16-bits slices.
113 ; Check that we do not optimize overlapping slices.
115 ; The 64-bits should NOT have been split in as slices are overlapping.
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c65 unsigned slices; in softpipe_resource_layout() local
68 slices = 6; in softpipe_resource_layout()
70 slices = depth; in softpipe_resource_layout()
72 slices = pt->array_size; in softpipe_resource_layout()
79 slices * spr->stride[level]); in softpipe_resource_layout()
/external/boringssl/src/ssl/test/runner/
Dkey_agreement.go188 func sha1Hash(slices [][]byte) []byte {
190 for _, slice := range slices {
198 func md5SHA1Hash(slices [][]byte) []byte {
201 for _, slice := range slices {
205 copy(md5sha1[md5.Size:], sha1Hash(slices))
212 func hashForServerKeyExchange(sigType, hashFunc uint8, version uint16, slices ...[]byte) ([]byte, c…
219 for _, slice := range slices {
225 return sha1Hash(slices), crypto.SHA1, nil
227 return md5SHA1Hash(slices), crypto.MD5SHA1, nil
/external/chromium-trace/catapult/telemetry/telemetry/timeline/
Dtrace_event_importer_unittest.py639 slices = t.async_slices
640 self.assertEqual(1, len(slices))
641 self.assertEqual('a', slices[0].name)
642 self.assertEqual('cat', slices[0].category)
643 self.assertEqual(72, slices[0].id)
644 self.assertEqual('bar', slices[0].args['foo'])
645 self.assertEqual(0, slices[0].start)
646 self.assertAlmostEqual((60 - 24) / 1000.0, slices[0].duration)
647 self.assertEqual(t, slices[0].start_thread)
648 self.assertEqual(t, slices[0].end_thread)
/external/skia/tests/
DSkpSkGrTest.cpp340 const int slices = 3; in timePict() local
341 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1); in timePict()
342 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1); in timePict()
347 for (int x = 0; x < slices; ++x) { in timePict()
348 for (int y = 0; y < slices; ++y) { in timePict()
352 canvas->translate(SkIntToScalar(xInterval), SkIntToScalar(-yInterval * slices)); in timePict()
DPathOpsSkpClipTest.cpp400 const int slices = 3; in timePict() local
401 SkScalar xInterval = SkTMax(pWidth - maxDimension, 0.0f) / (slices - 1); in timePict()
402 SkScalar yInterval = SkTMax(pHeight - maxDimension, 0.0f) / (slices - 1); in timePict()
406 for (int x = 0; x < slices; ++x) { in timePict()
407 for (int y = 0; y < slices; ++y) { in timePict()
411 canvas->translate(xInterval, -yInterval * slices); in timePict()
/external/opencv3/3rdparty/jinja2/
Dfilters.py560 def do_slice(value, slices, fill_with=None): argument
582 items_per_slice = length // slices
583 slices_with_extra = length % slices
585 for slice_number in range(slices):
/external/autotest/client/site_tests/kernel_SchedBandwith/
Dcontrol8 CPU bandwidth limited and verifies that 90% of the time slices were throttled.
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texture.c111 int slices; in radeonAllocTextureImageBuffer() local
117 slices = timage->Depth; in radeonAllocTextureImageBuffer()
120 slices = 1; in radeonAllocTextureImageBuffer()
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in radeonAllocTextureImageBuffer()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_texture.c111 int slices; in radeonAllocTextureImageBuffer() local
117 slices = timage->Depth; in radeonAllocTextureImageBuffer()
120 slices = 1; in radeonAllocTextureImageBuffer()
123 image->base.ImageOffsets = malloc(slices * sizeof(GLuint)); in radeonAllocTextureImageBuffer()

123