/external/chromium_org/remoting/base/ |
compound_buffer_unittest.cc | 154 // Determine how many segments to split kTestData. We split the data in 156 int segments = (kTestData.length() / 3) * 2; local 160 ++segments; 162 segments += 2; 167 for (int i = 0; i < segments; ++i) {
|
/external/chromium_org/third_party/WebKit/Source/platform/ |
SharedBuffer.cpp | 288 // No need to use segments for small resource data 405 unsigned segments = m_segments.size(); 406 unsigned maxSegmentedSize = segments * segmentSize; 408 if (segment < segments) { 414 return segment == segments - 1 ? segmentedSize - position : segmentSize - positionInSegment;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
stroker.c | 756 if (stroker->segments->num_elements && 794 array_append_data(stroker->segments, &cmd, 1); 805 if (stroker->segments->num_elements > 0) 808 array_reset(stroker->segments); 821 if (!stroker->segments->num_elements) 838 if (!stroker->segments->num_elements) 1029 debug_assert(stroker->segments->num_elements > 0); 1036 stroke_forward_iterator(&fwit, stroker->segments, 1038 stroke_backward_iterator(&bwit, stroker->segments, 1054 if (stroker->segments->num_elements <= 3) [all...] |
stroker.h | 42 struct array *segments; member in struct:stroker
|
path.c | 59 struct array * segments; member in struct:path 201 path->segments = array_create(size_for_datatype(VG_PATH_DATATYPE_S_8)); 229 array_destroy(p->segments); 257 array_append_data(p->segments, pathSegments, numSegments); 394 VGubyte segment = ((VGubyte*)(p->segments->data))[i]; 649 return num_elements_for_segments((VGubyte*)p->segments->data, 658 VGubyte *segments = (VGubyte*)(p->segments->data); local 659 VGint count = num_elements_for_segments(&segments[startIndex], numSegments); 660 VGint start_cp = num_elements_for_segments(segments, startIndex) 809 struct array *segments; member in struct:transform_data [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
stroker.c | 756 if (stroker->segments->num_elements && 794 array_append_data(stroker->segments, &cmd, 1); 805 if (stroker->segments->num_elements > 0) 808 array_reset(stroker->segments); 821 if (!stroker->segments->num_elements) 838 if (!stroker->segments->num_elements) 1029 debug_assert(stroker->segments->num_elements > 0); 1036 stroke_forward_iterator(&fwit, stroker->segments, 1038 stroke_backward_iterator(&bwit, stroker->segments, 1054 if (stroker->segments->num_elements <= 3) [all...] |
stroker.h | 42 struct array *segments; member in struct:stroker
|
path.c | 59 struct array * segments; member in struct:path 201 path->segments = array_create(size_for_datatype(VG_PATH_DATATYPE_S_8)); 229 array_destroy(p->segments); 257 array_append_data(p->segments, pathSegments, numSegments); 394 VGubyte segment = ((VGubyte*)(p->segments->data))[i]; 649 return num_elements_for_segments((VGubyte*)p->segments->data, 658 VGubyte *segments = (VGubyte*)(p->segments->data); local 659 VGint count = num_elements_for_segments(&segments[startIndex], numSegments); 660 VGint start_cp = num_elements_for_segments(segments, startIndex) 809 struct array *segments; member in struct:transform_data [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
LocalCacheTest.java | 142 assertEquals(4, map.segments.length); 144 assertEquals(16 / map.segments.length, map.segments[0].table.length()); 207 assertEquals(segmentCount, map.segments.length); 248 for (int i = 0; i < map.segments.length; i++) { 249 assertEquals(segmentSize, map.segments[i].table.length()); 284 for (int i = 0; i < map.segments.length; i++) { 285 totalCapacity += map.segments[i].maxSegmentWeight; 295 for (int i = 0; i < map.segments.length; i++) { 296 totalCapacity += map.segments[i].maxSegmentWeight [all...] |
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
ContactInfoHelper.java | 269 final List<String> segments = lookupUri.getPathSegments(); local 272 return (segments.size() < 3) ? null : segments.get(2);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
GestureStrokeWithPreviewPoints.java | 156 * may need to recalculate the interpolated points in the segment if further segments are 196 final int segments = Math.min(mPreviewParams.mMaxInterpolationSegments, local 201 for (int i = 1; i < segments; i++) { 202 final float t = i / (float)segments;
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/sdk/ |
WidgetClassLoader.java | 132 String[] segments = fqcn.split("\\."); local 133 return segments[segments.length-1];
|
/external/chromium_org/chrome/browser/resources/quota_internals/ |
event_handler.js | 71 * Separates |value| into segments. 73 * Length of other following segments are just |maxLength|. 76 * @param {number} maxLength Max length of segments. 77 * @return {Array.<string>} Array of segments. 103 var segments = separateBackward_(value.toString(), 3); 104 result = segments.join(',') + ' B'; 106 if (segments.length > 1) { 108 result = segments[0] + '.' + segments[1].slice(0, 2) + 109 UNIT[Math.min(segments.length, UNIT.length) - 1] [all...] |
/external/chromium_org/third_party/freetype/src/autofit/ |
afcjk.c | 72 /* scan the array of segments in each direction */ 131 seg = axhints->segments; 138 /* we only consider stem segments there! */ 690 AF_Segment segments = axis->segments; local 691 AF_Segment segment_limit = segments + axis->num_segments; 702 for ( seg = segments; seg < segment_limit; seg++ ) 734 AF_Segment segments = axis->segments; local 735 AF_Segment segment_limit = segments + axis->num_segments 903 AF_Segment segments = axis->segments; local [all...] |
aflatin.c | 52 /* Find segments and links, compute all stem widths, and initialize */ 59 /* scan the array of segments in each direction */ 126 seg = axhints->segments; 133 /* we only consider stem segments there! */ 212 /* Find all blue zones. Flat segments give the reference points, */ 213 /* round segments the overshoot positions. */ 790 /* Walk over all contours and compute its segments. */ 954 /* now slightly increase the height of segments if this makes */ 957 AF_Segment segments = axis->segments; local 1017 AF_Segment segments = axis->segments; local 1114 AF_Segment segments = axis->segments; local [all...] |
/external/freetype/src/autofit/ |
afcjk.c | 72 /* scan the array of segments in each direction */ 131 seg = axhints->segments; 138 /* we only consider stem segments there! */ 690 AF_Segment segments = axis->segments; local 691 AF_Segment segment_limit = segments + axis->num_segments; 702 for ( seg = segments; seg < segment_limit; seg++ ) 734 AF_Segment segments = axis->segments; local 735 AF_Segment segment_limit = segments + axis->num_segments 903 AF_Segment segments = axis->segments; local [all...] |
aflatin.c | 52 /* Find segments and links, compute all stem widths, and initialize */ 59 /* scan the array of segments in each direction */ 126 seg = axhints->segments; 133 /* we only consider stem segments there! */ 212 /* Find all blue zones. Flat segments give the reference points, */ 213 /* round segments the overshoot positions. */ 790 /* Walk over all contours and compute its segments. */ 954 /* now slightly increase the height of segments if this makes */ 957 AF_Segment segments = axis->segments; local 1017 AF_Segment segments = axis->segments; local 1114 AF_Segment segments = axis->segments; local [all...] |
/external/chromium_org/chrome/browser/chromeos/input_method/ |
input_method_engine.h | 53 const std::vector<SegmentInfo>& segments,
|
/external/chromium_org/chrome/browser/extensions/api/input_ime/ |
input_ime_api.cc | 431 std::vector<InputMethodEngineInterface::SegmentInfo> segments; local 432 if (params.segments) { 435 segments_args = *params.segments; 440 segments.push_back(InputMethodEngineInterface::SegmentInfo()); 441 segments.back().start = segments_args[i]->start; 442 segments.back().end = segments_args[i]->end; 445 segments.back().style = 448 segments.back().style = 462 segments, &error_)));
|
/external/chromium_org/third_party/WebKit/Source/core/html/ime/ |
InputMethodContext.cpp | 146 const Vector<unsigned>& InputMethodContext::segments() function in class:WebCore::InputMethodContext
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGPathParser.cpp | 469 int segments = ceilf(fabsf(thetaArc / (piOverTwoFloat + 0.001f))); local 470 for (int i = 0; i < segments; ++i) { 471 float startTheta = theta1 + i * thetaArc / segments; 472 float endTheta = theta1 + (i + 1) * thetaArc / segments;
|
/external/chromium_org/tools/gen_keyboard_overlay_data/ |
gen_keyboard_overlay_data.py | 196 segments = [segment.upper() for segment in SplitBehavior(behavior)] 197 return 'IDS_KEYBOARD_OVERLAY_' + ('_'.join(segments)) 217 segments = [segment.lower() for segment in SplitBehavior(behavior)] 219 for segment in segments:
|
/frameworks/base/core/java/android/os/ |
Environment.java | 789 * Append path segments to each given base path, returning result. 793 public static File[] buildPaths(File[] base, String... segments) { 796 result[i] = buildPath(base[i], segments); 802 * Append path segments to given base path, returning result. 806 public static File buildPath(File base, String... segments) { 808 for (String segment : segments) {
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
cs46xx_dsp_spos.h | 98 struct dsp_segment_desc * segments; member in struct:dsp_module_desc
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
cs46xx_dsp_spos.h | 98 struct dsp_segment_desc * segments; member in struct:dsp_module_desc
|