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

12345

/external/antlr/antlr-3.4/runtime/Python/antlr3/
H A Dstreams.py878 def slice(self, start, stop): member in class:CommonTokenStream
/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/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/chrome/common/extensions/docs/examples/api/downloads/download_manager/
H A Dpopup.js150 return Array.prototype.slice.apply(seq);
/external/chromium_org/chrome/third_party/chromevox/
H A DchromeVoxChromeBackgroundScript.js13 goog.bindJs_=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};goog.bind=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_;return goog.bind.apply(null,arguments)};
14 goog.partial=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};goog.mixin=function(a,b){for(var c in b)a[c]=b[c]};goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date};
17 goog.getMsg=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return d in b?b[d]:a}));return a};goog.getMsgWithFallback=function(a){return a};goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,c)};goog.exportProperty=function(a,b,c){a[b]=c};goog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(a,c,f){var g=Array.prototype.slice.call(arguments,2);return b.prototype[c].apply(a,g)}};
18 goog.base=function(a,b,c){var d=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!d)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(d.superClass_)return d.superClass_.constructor.apply(a,Array.prototype.slice.call(arguments,1));for(var e=Array.prototype.slice.call(arguments,2),f=!1,g=a.constructor;g;g=g.superClass_&&g.superClass_.constructor)if(g.prototype[b]===d)f=!0;else if(f)return g.prototype[b].apply(a,
20 goog.MODIFY_FUNCTION_PROTOTYPES&&(Function.prototype.bind=Function.prototype.bind||function(a,b){if(1<arguments.length){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return goog.bind.apply(null,c)}return goog.bind(this,a)},Function.prototype.partial=function(a){var b=Array.prototype.slice.call(arguments);b.unshift(this,null);return goog.bind.apply(null,b)},Function.prototype.inherits=function(a){goog.inherits(this,a)},Function.prototype.mixin=function(a){goog.mixin(this.prototype,
26 goog.string.caseInsensitiveEquals=function(a,b){return a.toLowerCase()==b.toLowerCase()};goog.string.subs=function(a,b){for(var c=a.split("%s"),d="",e=Array.prototype.slice
[all...]
H A DchromeVoxChromeOptionsScript.js13 goog.bindJs_=function(a,b,c){if(!a)throw Error();if(2<arguments.length){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}return function(){return a.apply(b,arguments)}};goog.bind=function(a,b,c){Function.prototype.bind&&-1!=Function.prototype.bind.toString().indexOf("native code")?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_;return goog.bind.apply(null,arguments)};
14 goog.partial=function(a,b){var c=Array.prototype.slice.call(arguments,1);return function(){var b=c.slice();b.push.apply(b,arguments);return a.apply(this,b)}};goog.mixin=function(a,b){for(var c in b)a[c]=b[c]};goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date};
17 goog.getMsg=function(a,b){b&&(a=a.replace(/\{\$([^}]+)}/g,function(a,d){return d in b?b[d]:a}));return a};goog.getMsgWithFallback=function(a){return a};goog.exportSymbol=function(a,b,c){goog.exportPath_(a,b,c)};goog.exportProperty=function(a,b,c){a[b]=c};goog.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.superClass_=b.prototype;a.prototype=new c;a.prototype.constructor=a;a.base=function(a,c,f){var g=Array.prototype.slice.call(arguments,2);return b.prototype[c].apply(a,g)}};
18 goog.base=function(a,b,c){var d=arguments.callee.caller;if(goog.STRICT_MODE_COMPATIBLE||goog.DEBUG&&!d)throw Error("arguments.caller not defined. goog.base() cannot be used with strict mode code. See http://www.ecma-international.org/ecma-262/5.1/#sec-C");if(d.superClass_)return d.superClass_.constructor.apply(a,Array.prototype.slice.call(arguments,1));for(var e=Array.prototype.slice.call(arguments,2),f=!1,g=a.constructor;g;g=g.superClass_&&g.superClass_.constructor)if(g.prototype[b]===d)f=!0;else if(f)return g.prototype[b].apply(a,
20 goog.MODIFY_FUNCTION_PROTOTYPES&&(Function.prototype.bind=Function.prototype.bind||function(a,b){if(1<arguments.length){var c=Array.prototype.slice.call(arguments,1);c.unshift(this,a);return goog.bind.apply(null,c)}return goog.bind(this,a)},Function.prototype.partial=function(a){var b=Array.prototype.slice.call(arguments);b.unshift(this,null);return goog.bind.apply(null,b)},Function.prototype.inherits=function(a){goog.inherits(this,a)},Function.prototype.mixin=function(a){goog.mixin(this.prototype,
47 c||(g=b?g+cvox.KeyUtil.getReadableNameForKeyCode(l):g+cvox.KeyUtil.keyCodeToString(l))}-1==d.indexOf(k)&&(g+=k+"+")}d+=g;"+"==d[d.length-1]&&(d=d.slice(
[all...]
/external/chromium_org/content/browser/indexed_db/
H A Dindexed_db_leveldb_coding.cc390 bool DecodeByte(StringPiece* slice, unsigned char* value) { argument
391 if (slice->empty())
394 *value = (*slice)[0];
395 slice->remove_prefix(1);
399 bool DecodeBool(StringPiece* slice, bool* value) { argument
400 if (slice->empty())
403 *value = !!(*slice)[0];
404 slice->remove_prefix(1);
408 bool DecodeInt(StringPiece* slice, int64* value) { argument
409 if (slice
425 DecodeVarInt(StringPiece* slice, int64* value) argument
445 DecodeString(StringPiece* slice, base::string16* value) argument
466 DecodeStringWithLength(StringPiece* slice, base::string16* value) argument
485 DecodeBinary(StringPiece* slice, std::string* value) argument
501 DecodeIDBKey(StringPiece* slice, scoped_ptr<IndexedDBKey>* value) argument
561 DecodeDouble(StringPiece* slice, double* value) argument
570 DecodeIDBKeyPath(StringPiece* slice, IndexedDBKeyPath* value) argument
622 DecodeBlobJournal(StringPiece* slice, BlobJournalType* journal) argument
643 ConsumeEncodedIDBKey(StringPiece* slice) argument
690 ExtractEncodedIDBKey(StringPiece* slice, std::string* result) argument
1193 Decode(StringPiece* slice, KeyPrefix* result) argument
1343 Decode(StringPiece* slice, DatabaseFreeListKey* result) argument
1381 Decode(StringPiece* slice, DatabaseNameKey* result) argument
1444 Decode(StringPiece* slice, ObjectStoreMetaDataKey* result) argument
1504 Decode(StringPiece* slice, IndexMetaDataKey* result) argument
1570 Decode(StringPiece* slice, ObjectStoreFreeListKey* result) argument
1615 Decode(StringPiece* slice, IndexFreeListKey* result) argument
1671 Decode(StringPiece* slice, ObjectStoreNamesKey* result) argument
1706 Decode(StringPiece* slice, IndexNamesKey* result) argument
1745 Decode(StringPiece* slice, ObjectStoreDataKey* result) argument
1791 Decode(StringPiece* slice, ExistsEntryKey* result) argument
1832 Decode(StringPiece* slice, BlobEntryKey* result) argument
1848 FromObjectStoreDataKey(StringPiece* slice, BlobEntryKey* result) argument
1864 ReencodeToObjectStoreDataKey(StringPiece* slice) argument
1920 Decode(StringPiece* slice, IndexDataKey* result) argument
[all...]
H A Dindexed_db_leveldb_coding_unittest.cc82 StringPiece slice(v);
83 EXPECT_TRUE(DecodeByte(&slice, &res));
85 EXPECT_TRUE(slice.empty());
89 StringPiece slice; local
91 EXPECT_FALSE(DecodeByte(&slice, &value));
193 StringPiece slice(encoded);
195 EXPECT_TRUE(DecodeBool(&slice, &value));
197 EXPECT_TRUE(slice.empty());
202 StringPiece slice(encoded);
204 EXPECT_TRUE(DecodeBool(&slice,
209 StringPiece slice; local
247 StringPiece slice; local
343 StringPiece slice; local
576 StringPiece slice; local
855 StringPiece slice; local
[all...]
/external/chromium_org/extensions/common/
H A Dextension.cc252 int slice = std::min<int>(input.length() - i, kPEMOutputColumns); local
253 output->append(input.substr(i, slice));
255 i += slice;
/external/chromium_org/remoting/webapp/js_proto/
H A Ddom_proto.js259 ArrayBuffer.prototype.slice = function(begin, end) {};
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
H A Dmootools-1.2.2-core-nc.js75 var args = Array.prototype.slice.call(arguments);
98 'Array': ["concat", "indexOf", "join", "lastIndexOf", "pop", "push", "reverse", "shift", "slice", "sort", "splice", "toString", "unshift", "valueOf"],
99 'String': ["charAt", "charCodeAt", "concat", "indexOf", "lastIndexOf", "match", "replace", "search", "slice", "split", "substr", "substring", "toLowerCase", "toUpperCase", "valueOf"]
162 return Array.prototype.slice.call(iterable);
208 var args = Array.slice(arguments);
609 args = (args != undefined) ? $splat(args) : Array.slice(arguments, (options.event) ? 1 : 0);
756 return (hex) ? hex.slice(1).hexToRgb(array) : null;
777 if (match.charAt(0) == '\\') return match.slice(1);
1614 (property && property.set) ? property.set.apply(this, Array.slice(arguments, 1)) : this.setProperty(prop, value);
1621 return (property && property.get) ? property.get.apply(this, Array.slice(argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/parser/
H A DCSSPropertyParser.cpp5636 void commitImageSlice(PassRefPtrWillBeRawPtr<CSSBorderImageSliceValue> slice) argument
5638 m_imageSlice = slice;
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
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 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 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/WebKit/Source/core/inspector/
H A DInjectedScriptSource.js60 function slice(array, index) function
114 var args = slice(arguments, 2);
121 return InjectedScriptHost.callFunction(func, thisObject, concat(args, slice(arguments)));
1590 return InjectedScriptHost.callFunction(inspectedWindow.console.dir, inspectedWindow.console, slice(arguments));
1598 return InjectedScriptHost.callFunction(inspectedWindow.console.dirxml, inspectedWindow.console, slice(arguments));
1625 return InjectedScriptHost.callFunction(inspectedWindow.console.profile, inspectedWindow.console, slice(arguments));
1633 return InjectedScriptHost.callFunction(inspectedWindow.console.profileEnd, inspectedWindow.console, slice(arguments));
1744 InjectedScriptHost.callFunction(inspectedWindow.console.table, inspectedWindow.console, slice(arguments));
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/UglifyJS/
H A Dparse-js.js689 return slice(arguments);
1194 var args = slice(arguments, 1);
1195 return function() { return f.apply(this, args.concat(slice(arguments))); };
1213 function slice(a, start) { function
1214 return Array.prototype.slice.call(a, start == null ? 0 : start);
1236 exports.slice = slice;
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/extensions/
H A DExtensionAPI.js167 var listeners = this._listeners.slice();
659 return new AuditResultNode(Array.prototype.slice.call(arguments));
698 arguments: Array.prototype.slice.call(arguments, 1) method
719 var node = new AuditResultNode(Array.prototype.slice.call(arguments));
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/workspace/
H A DIsolatedFileSystem.js552 return Array.prototype.slice.call(list || [], 0);
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/closure/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/javascript/ com/google/javascript/jscomp/ ...
/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/third_party/android_platform/webview/
H A Dframeworks.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/location/ android/location/Address$1.class ...
/external/chromium_org/third_party/checkstyle/
H A Dcheckstyle-5.7-all.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml checkstylecompilation.properties checkstyletask.properties com/ ...
/external/chromium_org/third_party/closure_compiler/compiler/
H A Dcompiler.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/debugging/ com/google/debugging/sourcemap/ ...
/external/chromium_org/third_party/cython/src/Cython/Compiler/
H A DExprNodes.py579 Make sure we own the reference to this memoryview slice.
2325 raise InternalError("for in carray slice not transformed")
3227 msg = "Cannot assign to None memoryview slice"
3229 msg = "Cannot slice None memoryview slice"
3231 msg = "Cannot index None memoryview slice"
3400 error(self.pos, "Invalid use of pointer slice")
3759 # 2-element slice indexing
3764 # slice ExprNode or None constant slice objec
3768 slice = None variable in class:SliceIndexNode
[all...]

Completed in 4698 milliseconds

12345