Searched defs:slice (Results 1 - 25 of 124) sorted by relevance

12345

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-crbug-229923.js30 var slice = "slow path of JSON.stringify for sliced string".substring(1); variable
31 assertEquals('"' + slice + '"', JSON.stringify(slice, null, 0));
H A Dregress-builtinbust-6.js14 Array.prototype.slice.call(v);
38 test_receiver(77, "Array.prototype.slice.call(77, 1)");
/external/chromium_org/v8/test/mjsunit/
H A Dregexp-string-methods.js28 // Regexp shouldn't use String.prototype.slice()
30 assertEquals("f", s.slice(0,1));
31 String.prototype.slice = function() { return "x"; };
32 assertEquals("x", s.slice(0,1));
H A Dtyped-array-slice.js44 return Array.prototype.slice.call(a, 4, 8);
H A Darray-functions-prototype-misc.js29 * @fileoverview Test splice, shift, unshift, slice and join on small
71 return array.slice(start, len);
105 return Array.prototype.slice.call(array, start, len);
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DBlob.h64 virtual PassRefPtrWillBeRawPtr<Blob> slice(long long start, long long end, const String& contentType, ExceptionState&) const;
67 PassRefPtrWillBeRawPtr<Blob> slice(ExceptionState& exceptionState) const function in class:blink::Blob
69 return slice(0, std::numeric_limits<long long>::max(), String(), exceptionState);
71 PassRefPtrWillBeRawPtr<Blob> slice(long long start, ExceptionState& exceptionState) const function in class:blink::Blob
73 return slice(start, std::numeric_limits<long long>::max(), String(), exceptionState);
75 PassRefPtrWillBeRawPtr<Blob> slice(long long start, long long end, ExceptionState& exceptionState) const function in class:blink::Blob
77 return slice(start, end, String(), exceptionState);
H A DBlob.cpp108 PassRefPtrWillBeRawPtr<Blob> Blob::slice(long long start, long long end, const String& contentType, ExceptionState& exceptionState) const function in class:blink::Blob
H A DFile.cpp213 PassRefPtrWillBeRawPtr<Blob> File::slice(long long start, long long end, const String& contentType, ExceptionState& exceptionState) const function in class:blink::File
221 return Blob::slice(start, end, contentType, exceptionState);
249 // Obtains a snapshot of the file by capturing its current size and modification time. This is used when we slice a file for the first time.
/external/chromium_org/third_party/smhasher/src/
H A DBitslice.cpp7 typedef std::vector<uint32_t> slice; typedef
8 typedef std::vector<slice> slice_vec;
10 int countbits ( slice & v )
24 int countxor ( slice & a, slice & b )
40 void xoreq ( slice & a, slice & b )
123 slice a;
/external/bison/examples/calc++/
H A Dstack.hh106 /// Present a slice of the top of a stack.
108 class slice class in namespace:yy
111 slice (const S& stack, unsigned int range) function in class:yy::slice
/external/chromium_org/third_party/leveldatabase/src/db/
H A Dlog_writer.cc27 Status Writer::AddRecord(const Slice& slice) { argument
28 const char* ptr = slice.data();
29 size_t left = slice.size();
31 // Fragment the record if necessary and emit it. Note that if slice
/external/jsilver/src/com/google/streamhtmlparser/util/
H A DJavascriptTokenBuffer.java206 return slice(position + 1, end);
210 * Returns a slice of the buffer delimited by the given indices.
213 * slice to copy. If the start argument extends beyond the beginning
214 * of the buffer, the slice will only contain characters
222 public String slice(int start, int end) { method in class:JavascriptTokenBuffer
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DArrayBuffer.h56 inline PassRefPtr<ArrayBuffer> slice(int begin, int end) const;
57 inline PassRefPtr<ArrayBuffer> slice(int begin) const;
151 PassRefPtr<ArrayBuffer> ArrayBuffer::slice(int begin, int end) const function in class:WTF::ArrayBuffer
156 PassRefPtr<ArrayBuffer> ArrayBuffer::slice(int begin) const function in class:WTF::ArrayBuffer
/external/chromium_org/v8/src/x64/
H A Dregexp-macro-assembler-x64.cc1229 // Extract the underlying string and the slice offset.
1233 SlicedString* slice = SlicedString::cast(*subject_tmp); local
1234 subject_tmp = Handle<String>(slice->parent());
1235 slice_offset = slice->offset();
/external/llvm/include/llvm/ADT/
H A DArrayRef.h137 /// slice(n) - Chop off the first N elements of the array.
138 ArrayRef<T> slice(unsigned N) const { function in class:llvm::ArrayRef
143 /// slice(n, m) - Chop off the first N elements of the array, and keep M
145 ArrayRef<T> slice(unsigned N, unsigned M) const { function in class:llvm::ArrayRef
153 return slice(0, size() - N);
249 /// slice(n) - Chop off the first N elements of the array.
250 MutableArrayRef<T> slice(unsigned N) const { function in class:llvm::ArrayRef
255 /// slice(n, m) - Chop off the first N elements of the array, and keep M
257 MutableArrayRef<T> slice(unsigned N, unsigned M) const { function in class:llvm::ArrayRef
H A DSmallString.h260 StringRef slice(size_t Start, size_t End) const { function in class:llvm::SmallString
261 return str().slice(Start, End);
/external/chromium_org/chrome/browser/web_resource/
H A Dpromo_resource_service_unittest.cc295 const double slice = 60; local
300 notification_promo_.time_slice_ = slice;
303 notification_promo_.end_ = now + slice;
312 notification_promo_.start_ -= slice;
319 notification_promo_.start_ -= slice;
326 notification_promo_.start_ -= 2 * slice;
333 notification_promo_.start_ -= slice;
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
H A Dintel_tex.c169 GLuint slice,
186 /* intel_miptree_map operates on a unified "slice" number that references the
190 slice = tex_image->Face;
192 intel_miptree_map(intel, mt, tex_image->Level, slice, x, y, w, h, mode,
198 struct gl_texture_image *tex_image, GLuint slice)
205 slice = tex_image->Face;
207 intel_miptree_unmap(intel, mt, tex_image->Level, slice);
167 intel_map_texture_image(struct gl_context *ctx, struct gl_texture_image *tex_image, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, GLubyte **map, GLint *stride) argument
197 intel_unmap_texture_image(struct gl_context *ctx, struct gl_texture_image *tex_image, GLuint slice) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/
H A Dintel_tex.c169 GLuint slice,
186 /* intel_miptree_map operates on a unified "slice" number that references the
190 slice = tex_image->Face;
192 intel_miptree_map(intel, mt, tex_image->Level, slice, x, y, w, h, mode,
198 struct gl_texture_image *tex_image, GLuint slice)
205 slice = tex_image->Face;
207 intel_miptree_unmap(intel, mt, tex_image->Level, slice);
167 intel_map_texture_image(struct gl_context *ctx, struct gl_texture_image *tex_image, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, GLubyte **map, GLint *stride) argument
197 intel_unmap_texture_image(struct gl_context *ctx, struct gl_texture_image *tex_image, GLuint slice) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/
H A Dintel_tex.c169 GLuint slice,
186 /* intel_miptree_map operates on a unified "slice" number that references the
190 slice = tex_image->Face;
192 intel_miptree_map(intel, mt, tex_image->Level, slice, x, y, w, h, mode,
198 struct gl_texture_image *tex_image, GLuint slice)
205 slice = tex_image->Face;
207 intel_miptree_unmap(intel, mt, tex_image->Level, slice);
167 intel_map_texture_image(struct gl_context *ctx, struct gl_texture_image *tex_image, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h, GLbitfield mode, GLubyte **map, GLint *stride) argument
197 intel_unmap_texture_image(struct gl_context *ctx, struct gl_texture_image *tex_image, GLuint slice) argument
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_texture.c159 GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h)
172 * Map a 2D slice of a texture image into user space.
177 * \param slice the 3D image slice or array texture slice
186 GLuint slice,
197 _mesa_check_map_teximage(texImage, slice, x, y, w, h);
220 assert(slice < texImage->Depth);
221 map += slice * sliceSize;
227 assert(slice < texImag
158 _mesa_check_map_teximage(struct gl_texture_image *texImage, GLuint slice, GLuint x, GLuint y, GLuint w, GLuint h) argument
184 _swrast_map_teximage(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
239 _swrast_unmap_teximage(struct gl_context *ctx, struct gl_texture_image *texImage, GLuint slice) argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/data/
H A Dreadable_font_data.cc266 FontDataPtr slice = new ReadableFontData(this, offset, length); local
267 return slice.Detach();
278 FontDataPtr slice = new ReadableFontData(this, offset); local
279 return slice.Detach();
H A Dwritable_font_data.cc177 FontDataPtr slice = new WritableFontData(this, offset, length); local
178 return slice.Detach();
189 FontDataPtr slice = new WritableFontData(this, offset); local
190 return slice.Detach();
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Debdt_table.cc110 WritableFontDataPtr slice; local
111 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size)));
112 size += glyph_entry->second->SubSerialize(slice);
223 ReadableFontDataPtr slice; local
224 slice.Attach(down_cast<ReadableFontData*>(data->Slice(
228 slice, info->format()));
H A Dindex_sub_table_format2.cc33 ReadableFontDataPtr slice; local
34 slice.Attach(down_cast<ReadableFontData*>(
37 BigGlyphMetricsPtr output = new BigGlyphMetrics(slice);
202 WritableFontDataPtr slice; local
205 slice.Attach(down_cast<WritableFontData*>(new_data->Slice(size)));
206 size += metrics_->SubSerialize(slice);

Completed in 561 milliseconds

12345