/external/chromium_org/third_party/skia/src/core/ |
H A D | SkTSort.h | 121 template <typename T, typename C> static void SkTInsertionSort(T* left, T* right, C lessThan) { argument 122 for (T* next = left + 1; next <= right; ++next) { 125 while (left < hole && lessThan(insert, *(hole - 1))) { 136 static T* SkTQSort_Partition(T* left, T* right, T* pivot, C lessThan) { argument 139 T* newPivot = left; 140 while (left < right) { 141 if (lessThan(*left, pivotValue)) { 142 SkTSwap(*left, *newPivot); 145 left += 1; 154 * This implementation recurses on the left regio 163 SkTIntroSort(int depth, T* left, T* right, C lessThan) argument 191 SkTQSort(T* left, T* right, C lessThan) argument 201 SkTQSort(T* left, T* right) argument 206 SkTQSort(T** left, T** right) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLNameAllocator.cpp | 124 * AVL tree with non-null, non-adjacent left and right children. 128 SparseNameTree(SparseNameRange* left, SparseNameRange* right) argument 129 : fLeft(left), 260 SkASSERT(fLeft->end() < fRight->first()); // There must be a gap between left and right. 322 SparseNameRange* left = SkNEW_ARGS(ContiguousNameRange, (fFirst, name)); variable 325 return SkNEW_ARGS(SparseNameTree, (left, right));
|
/external/chromium_org/third_party/skia/tests/ |
H A D | PathOpsCubicLineIntersectionTest.cpp | 105 double left = line[0].fX; local 107 flipped = left > right; 109 SkTSwap<double>(left, right); 111 result = intersections.horizontal(cubic, left, right, line[0].fY, flipped); 154 double left[3] = { line.isLeft(prev), line.isLeft(sect), line.isLeft(cubic[3]) }; local 155 SkDebugf("cubic=(%1.9g, %1.9g, %1.9g)\n", left[0], left[1], left[2]);
|
H A D | PathOpsQuadLineIntersectionTest.cpp | 44 double left = line[0].fX; local 46 flipped = left > right; 48 SkTSwap<double>(left, right); 50 result = intersections.horizontal(quad, left, right, line[0].fY, flipped);
|
H A D | PathOpsQuadLineIntersectionThreadedTest.cpp | 27 double left = line[0].fX; local 29 flipped = left > right; 31 SkTSwap<double>(left, right); 33 result = intersections.horizontal(quad, left, right, line[0].fY, flipped);
|
/external/chromium_org/third_party/smhasher/src/ |
H A D | md5.cpp | 276 unsigned long left; local 281 left = ctx->total[0] & 0x3F; 282 fill = 64 - left; 290 if( left && ilen >= fill ) 292 memcpy( (void *) (ctx->buffer + left), 297 left = 0; 309 memcpy( (void *) (ctx->buffer + left),
|
/external/chromium_org/third_party/webrtc/common_audio/resampler/ |
H A D | resampler.cc | 446 int16_t* left = (int16_t*)malloc(lengthIn * sizeof(int16_t) / 2); local 454 left[i >> 1] = samplesIn[i]; 464 res |= slave_left_->Push(left, lengthIn, out_left, maxLen / 2, actualOutLen_left); 468 free(left); 483 free(left);
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/ |
H A D | desktop_geometry.h | 90 static DesktopRect MakeLTRB(int32_t left, int32_t top, argument 92 return DesktopRect(left, top, right, bottom); 101 int32_t left() const { return left_; } function in class:webrtc::DesktopRect 132 DesktopRect(int32_t left, int32_t top, int32_t right, int32_t bottom) argument 133 : left_(left), top_(top), right_(right), bottom_(bottom) {
|
H A D | differ.cc | 147 int left = x * kBlockSize; local 191 if (left + width > width_) { 192 width = width_ - left; 198 region->AddRect(DesktopRect::MakeXYWH(left, top, width, height));
|
H A D | screen_capturer_helper.cc | 96 int left = DownToMultiple(it.rect().left(), grid_size_mask); local 100 result->AddRect(DesktopRect::MakeLTRB(left, top, right, bottom));
|
/external/chromium_org/third_party/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/ |
H A D | ViESurfaceRenderer.java | 55 dstRect.right = (int)(dstRect.left + dstRightScale * dstWidth); 67 " srcRect.left:" + srcRect.left + 71 " dstRect.left:" + dstRect.left + 82 changeDestRect(dst.right - dst.left, dst.bottom - dst.top); 84 " dst.left:" + dst.left + 88 " srcRect.left:" + srcRect.left 134 SetCoordinates(float left, float top, float right, float bottom) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/video_render/android/ |
H A D | video_render_android_surface_view.cc | 205 const float left, 218 if(stream && stream->Init(zOrder, left, top, right, bottom) == 0) 289 const float left, 311 (left > 1 || left < 0)) { 391 left, top, right, bottom); 202 CreateAndroidRenderChannel( int32_t streamId, int32_t zOrder, const float left, const float top, const float right, const float bottom, VideoRenderAndroid& renderer) argument 287 Init( int32_t , const float left, const float top, const float right, const float bottom) argument
|
/external/chromium_org/third_party/webrtc/modules/video_render/linux/ |
H A D | video_x11_channel.cc | 104 int32_t VideoX11Channel::Init(Window window, float left, float top, argument 112 _left = left; 134 if ((1 < left || left < 0) || (1 < top || top < 0) || (1 < right || right 150 _xPos = (int32_t) (winWidth * left); 152 _outWidth = (int32_t) (winWidth * (right - left)); 299 float& left, float& top, 306 left = _left; 298 GetStreamProperties(uint32_t& zOrder, float& left, float& top, float& right, float& bottom) const argument
|
/external/chromium_org/third_party/webrtc/video_engine/ |
H A D | vie_render_impl.cc | 86 const unsigned int z_order, const float left, 90 << " left: " << left << " top: " << top << " right: " << right 110 render_id, window, z_order, left, top, right, bottom); 125 render_id, window, z_order, left, top, right, bottom); 220 const float left, const float top, 223 << " left: " << left << " top: " << top << " right: " << right 232 if (renderer->ConfigureRenderer(z_order, left, top, right, bottom) != 0) { 85 AddRenderer(const int render_id, void* window, const unsigned int z_order, const float left, const float top, const float right, const float bottom) argument 219 ConfigureRender(int render_id, const unsigned int z_order, const float left, const float top, const float right, const float bottom) argument
|
/external/chromium_org/third_party/webrtc/voice_engine/ |
H A D | utility.cc | 134 int32_t left = 0; local 137 left = source[i] + target[i * 2]; 139 target[i * 2] = WebRtcSpl_SatW32ToW16(left);
|
H A D | voe_volume_control_impl.cc | 441 float left, 445 "SetOutputVolumePan(channel=%d, left=%2.1f, right=%2.1f)", 446 channel, left, right); 462 if ((left < kMinOutputVolumePanning) || 463 (left > kMaxOutputVolumePanning) || 475 return _shared->output_mixer()->SetOutputVolumePan(left, right); 486 return channelPtr->SetOutputVolumePan(left, right); 490 float& left, 494 "GetOutputVolumePan(channel=%d, left=?, right=?)", channel); 513 return _shared->output_mixer()->GetOutputVolumePan(left, righ 440 SetOutputVolumePan(int channel, float left, float right) argument 489 GetOutputVolumePan(int channel, float& left, float& right) argument [all...] |
/external/chromium_org/third_party/zlib/ |
H A D | gzread.c | 94 left unchanged if there is no more input data available, will be set to COPY 544 unsigned left, n; local 569 left = (unsigned)len - 1; 570 if (left) do { 583 n = state->have > left ? left : state->have; 593 left -= n; 595 } while (left && eol == NULL);
|
H A D | infback.c | 122 left = strm->avail_out; \ 133 strm->avail_out = left; \ 203 if (left == 0) { \ 205 left = state->wsize; \ 206 state->whave = left; \ 207 if (out(out_desc, put, left)) { \ 251 unsigned have, left; /* available input and output */ local 278 left = state->wsize; 337 if (copy > left) copy = left; [all...] |
/external/chromium_org/ui/views/ |
H A D | border.cc | 20 SidedSolidBorder(int top, int left, int bottom, int right, SkColor color); 35 int left, 40 insets_(top, left, bottom, right) { 47 canvas->FillRect(gfx::Rect(0, 0, insets_.left(), view.height()), color_); 77 EmptyBorder(int top, int left, int bottom, int right) argument 78 : insets_(top, left, bottom, right) {} 147 int left, 150 return scoped_ptr<Border>(new EmptyBorder(top, left, bottom, right)); 155 int left, 160 new SidedSolidBorder(top, left, botto 34 SidedSolidBorder(int top, int left, int bottom, int right, SkColor color) argument 146 CreateEmptyBorder(int top, int left, int bottom, int right) argument 154 CreateSolidSidedBorder(int top, int left, int bottom, int right, SkColor color) argument [all...] |
/external/chromium_org/v8/benchmarks/spinning-balls/ |
H A D | splay-tree.js | 78 node.left = this.root_; 83 node.left = this.root_.left; 84 this.root_.left = null; 107 if (!this.root_.left) { 111 this.root_ = this.root_.left; 165 // the left subtree. 168 } else if (this.root_.left) { 169 return this.findMax(this.root_.left); 204 // the L tree of the algorithm. The left chil [all...] |
/external/chromium_org/v8/benchmarks/ |
H A D | splay.js | 57 left: GeneratePayloadTree(depth - 1, tag), 173 node.left = this.root_; 178 node.left = this.root_.left; 179 this.root_.left = null; 202 if (!this.root_.left) { 206 this.root_ = this.root_.left; 260 // the left subtree. 263 } else if (this.root_.left) { 264 return this.findMax(this.root_.left); [all...] |
/external/chromium_org/v8/src/compiler/ |
H A D | js-builtin-reducer.cc | 77 Node* left() { return GetJSCallInput(0); } function in class:v8::internal::compiler::JSCallReduction 103 Node* value = graph()->NewNode(machine()->Float64Sqrt(), r.left()); 119 return Replace(r.left()); 147 Node* value = graph()->NewNode(machine()->Int32Mul(), r.left(), r.right());
|
/external/chromium_org/v8/src/ |
H A D | splay-tree-inl.h | 96 // the left subtree. 193 // No left child, so the new tree is just the right child. 198 // Make the original left child the new root. 216 // the L tree of the algorithm. The left child of the dummy node 217 // will hold the R tree of the algorithm. Using a dummy node, left 220 Node* left = dummy; local 245 // Rotate left. 253 // Link left. 254 left->right_ = current; 255 left [all...] |
H A D | splay-tree.h | 122 Node* left() { return left_; } function in class:v8::internal::SplayTree::Node
|
/external/chromium_org/v8/tools/ |
H A D | splaytree.js | 80 node.left = this.root_; 85 node.left = this.root_.left; 86 this.root_.left = null; 109 if (!this.root_.left) { 113 this.root_ = this.root_.left; 148 while (current.left) { 149 current = current.left; 182 // the left subtree. 185 } else if (this.root_.left) { [all...] |