/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
H A D | TokenRewriteStream.cs | 6 * Conversion to C#: 18 * 3. The name of the author may not be used to endorse or promote products 49 * operations are done lazily--only if you convert the buffer to a 51 * all the time. As the buffer of tokens is converted to strings, the 52 * toString() method(s) check to see if there is an operation at the 76 * input.insertAfter(t, "text to put after t");} 80 * Actually, you have to cast the 'input' to a TokenRewriteStream. :( 88 * tokens.insertAfter("pass1", t, "text to put after t");} 130 * Execute the rewrite operation by possibly adding to th 172 ReplaceOp( TokenRewriteStream stream, int from, int to, object text ) argument 317 Replace( int from, int to, object text ) argument 327 Replace( IToken from, IToken to, object text ) argument 332 Replace( string programName, int from, int to, object text ) argument 344 Replace( string programName, IToken from, IToken to, object text ) argument [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
H A D | TokenRewriteStream.java | 14 3. The name of the author may not be used to endorse or promote products 36 * operations are done lazily--only if you convert the buffer to a 38 * all the time. As the buffer of tokens is converted to strings, the 39 * toString() method(s) check to see if there is an operation at the 63 * input.insertAfter(t, "text to put after t");} 67 * Actually, you have to cast the 'input' to a TokenRewriteStream. :( 75 * tokens.insertAfter("pass1", t, "text to put after t");} 105 /** Execute the rewrite operation by possibly adding to the buffer. 106 * Return the index of the next token to operat 138 ReplaceOp(int from, int to, Object text) argument 251 replace(int from, int to, Object text) argument 259 replace(Token from, Token to, Object text) argument 263 replace(String programName, int from, int to, Object text) argument 273 replace(String programName, Token from, Token to, Object text) argument 284 delete(int from, int to) argument 292 delete(Token from, Token to) argument 296 delete(String programName, int from, int to) argument 300 delete(String programName, Token from, Token to) argument [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | test_endtoend.py | 17 # contributors may be used to endorse or promote products derived from 33 """Test for end-to-end.""" 45 import set_sys_path # Update sys.path to locate mod_pywebsocket module. namespace 51 # Special message that tells the echo server to start closing handshake 54 # If you want to use external server to run end to end tests, set following 157 """An end-to-end test that launches pywebsocket standalone server as a 158 separate process, connects to it using the client_for_testing module, and 200 # Inherit the level set to th [all...] |
H A D | test_handshake_hybi.py | 17 # contributors may be used to endorse or promote products derived from 38 import set_sys_path # Update sys.path to locate mod_pywebsocket module. namespace 86 of requested ones to ws_protocol where i is given on construction as index 87 argument. If index is negative, default_value will be set to ws_protocol. 111 do_extra_handshake to reject the request. 115 raise HandshakeAbortedException('An exception to reject the request') 123 AbortedByUserException in do_extra_handshake to reject the request. 127 raise AbortedByUserException('An AbortedByUserException to reject the '
|
H A D | test_mux.py | 17 # contributors may be used to endorse or promote products derived from 42 import set_sys_path # Update sys.path to locate mod_pywebsocket module. namespace 84 'Failed to receive %d bytes from encapsulated '
|
/external/chromium_org/cc/test/ |
H A D | animation_test_common.cc | 187 FakeFloatTransition::FakeFloatTransition(double duration, float from, float to) argument 188 : duration_(duration), from_(from), to_(to) {}
|
/external/chromium_org/chrome/browser/devtools/device/usb/ |
H A D | android_rsa.cc | 126 uint64 BnGuess(uint32* a, uint32* b, uint64 from, uint64 to) { argument 127 if (from + 1 >= to) 130 uint64 guess = (from + to) / 2; 135 return BnGuess(a, b, guess, to); 218 // Skip 10 byte asn1 prefix to the modulus.
|
/external/chromium_org/chrome/browser/ui/views/tabs/ |
H A D | stacked_tab_strip_layout_unittest.cc | 186 // 1 pixel to the right, should push only mini-tabs and first non-mini-tab. 189 // Push enough to collapse the 4th tab. 206 // 1 pixel to the right, should expose part of a tab. 209 // Push the tab as far to the right as it'll go. 212 // One past as far to the right as it'll go. Should expose more of the tab 222 // Enough to collapse the fourth as small it can get. 225 // Enough to collapse the third as small it can get. 237 // Drags the rightmost tab as far to right as possible. 243 // Drags to the left most position before the right tabs start pulling in. 248 // Drags to th 469 const int to; member in struct:TestData [all...] |
/external/chromium_org/components/enhanced_bookmarks/ |
H A D | bookmark_image_service.cc | 60 // PersistentImageStore has to be constructed in the thread it will be used, 61 // so we are posting the construction to the thread. However, we first 64 // another member function, that posts store_ to the thread, is called. 65 // Although the construction might not be finished yet, we still want to post 66 // the task since it's guaranteed to be constructed by the time it is used, by 153 // an URL for an image is present, indicating that a previous attempt to 157 // There is no image in the store, and no previous attempts to retrieve 158 // one. Start a request to retrieve a salient image if there is an image 159 // url set on a bookmark, and then enqueue the request for the image to 172 // store the appropriate callbacks to cal 241 ChangeImageURL(const GURL& from, const GURL& to) argument [all...] |
/external/chromium_org/components/url_matcher/ |
H A D | url_matcher_factory.cc | 35 const char kLowerCaseExpected[] = "%s values need to be in lower case."; 39 // the corresponding factory method to be called. 75 // The |pattern_type| needs to be known to this class (see Contains()) or 256 int from = 0, to = 0; local 259 !range->GetInteger(1, &to)) { 263 ranges.push_back(URLMatcherPortFilter::CreateRange(from, to));
|
/external/chromium_org/media/cast/logging/ |
H A D | log_deserializer.cc | 24 // Use 60MB of temp buffer to hold uncompressed data if |compress| is true. 31 linked_ptr<AggregatedPacketEvent> to) { 35 for (int j = 0; j < to->base_packet_event_size(); j++) { 36 BasePacketEvent* to_base_event = to->mutable_base_packet_event(j); 40 // Need special merge logic here because we need to prevent a valid 49 BasePacketEvent* to_base_event = to->add_base_packet_event(); 56 linked_ptr<AggregatedFrameEvent> to) { 57 to->mutable_event_type()->MergeFrom(from.event_type()); 58 to->mutable_event_timestamp_ms()->MergeFrom(from.event_timestamp_ms()); 59 if (!to 30 MergePacketEvent(const AggregatedPacketEvent& from, linked_ptr<AggregatedPacketEvent> to) argument 55 MergeFrameEvent(const AggregatedFrameEvent& from, linked_ptr<AggregatedFrameEvent> to) argument [all...] |
/external/chromium_org/net/socket/ |
H A D | ssl_session_cache_openssl_unittest.cc | 17 // This is an internal OpenSSL function that can be used to create a new 18 // session for an existing SSL object. This shall force a call to the 21 // |session| is non-0 to ask for the creation of a new session. If 0, 25 // This is an internal OpenSSL function which is used internally to add 26 // a new session to the cache. It is normally triggered by a succesful 37 // Helper class used to associate arbitrary std::string keys with SSL objects. 75 // Called when an SSL object is copied through SSL_dup(). This needs to copy 77 static int KeyDup(CRYPTO_EX_DATA* to, argument 84 // points to the value from the original SSL object. The function must 85 // update it to th [all...] |
/external/chromium_org/remoting/protocol/ |
H A D | jingle_messages.cc | 146 : to(to_value), 170 to = stanza->Attr(QName(kEmptyNamespace, "to")); 191 // defined by the Jingle protocol. We don't need to parse it. 194 // session-info is allowed to be empty. 238 *error = "Failed to parse content description"; 254 *error = "Failed to parse candidates"; 268 DCHECK(!to.empty()); 269 root->AddAttr(QName(kEmptyNamespace, "to"), to); local [all...] |
H A D | jingle_messages.h | 63 // Caller keeps ownership of |stanza|. |error| is set to debug error 70 std::string to; member in struct:remoting::protocol::JingleMessage 108 // recepient as well as other information needed to generate a valid
|
/external/chromium_org/storage/browser/fileapi/ |
H A D | native_file_util.cc | 21 // TODO(benchan): Find a better place outside webkit to host this function. 25 // process but need to access files under the directories created here. 27 // to group and other users. 37 // Copies a file |from| to |to|, and ensure the written content is synced to 39 bool CopyFileAndSync(const base::FilePath& from, const base::FilePath& to) { argument 45 base::File outfile(to, 145 // Tries to create the |path| exclusively. This should fail
|
/external/chromium_org/third_party/WebKit/Source/core/animation/animatable/ |
H A D | AnimatableValue.h | 15 * contributors may be used to endorse or promote products derived from 47 static double distance(const AnimatableValue* from, const AnimatableValue* to); 48 static bool usesDefaultInterpolation(const AnimatableValue* from, const AnimatableValue* to) argument 50 return !from->isSameType(to) || from->usesDefaultInterpolationWith(to);
|
/external/chromium_org/third_party/WebKit/Source/core/dom/ |
H A D | DocumentLifecycle.h | 15 * contributors may be used to endorse or promote products derived from 65 // to the style/layout/rendering states. 87 DeprecatedTransition(State from, State to); 91 State to() const { return m_to; } function in class:blink::DocumentLifecycle::DeprecatedTransition 150 // but we need to fix MediaList listeners and plugins first.
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/ |
H A D | TextPainter.cpp | 182 void TextPainter::paintInternalRun(TextRunPaintInfo& textRunPaintInfo, int from, int to, TextBlobPtr* cachedTextBlob) argument 185 textRunPaintInfo.to = to; 210 // FIXME: We should be able to use cachedTextBlob in more cases.
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
H A D | SVGAngle.cpp | 17 * along with this library; see the file COPYING.LIB. If not, write to 73 void SVGMarkerOrientEnumeration::calculateAnimatedValue(SVGAnimationElement*, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase> toAtEndOfDurationValue, SVGElement* contextElement) argument 79 float SVGMarkerOrientEnumeration::calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement* contextElement) argument 374 void SVGAngle::calculateAnimatedValue(SVGAnimationElement* animationElement, float percentage, unsigned repeatCount, PassRefPtr<SVGPropertyBase> from, PassRefPtr<SVGPropertyBase> to, PassRefPtr<SVGPropertyBase> toAtEndOfDuration, SVGElement*) argument 380 RefPtr<SVGAngle> toAngle = toSVGAngle(to); 387 // Animating from eg. 90deg to auto. 389 // Animating from an angle value to eg. 'auto' - this disabled additive as 'auto' is a keyword.. 402 // Animating from e.g 'auto' to 'auto-start-reverse' 411 // From 'auto' to 'auto', or 'auto-start-reverse' to 'aut [all...] |
H A D | SVGAnimateMotionElement.cpp | 17 * along with this library; see the file COPYING.LIB. If not, write to 62 // We don't have a special attribute name to verify the animation type. Check the element name instead. 66 // FIXME: svgTag is missing. Needs to be checked, if transforming <svg> could cause problems. 280 // We accumulate to the target element transform list so there is not much to do here. 312 FloatPoint to; local 315 if (!parsePoint(toString, to)) 317 FloatSize diff = to - from;
|
H A D | SVGAnimatedTypeAnimator.cpp | 16 * along with this library; see the file COPYING.LIB. If not, write to 50 // Only <animateTransform> is allowed to animate AnimatedTransformList. 71 // and its {from,by,to} attribute values needs to be parsed w.r.t. its "type" attribute. 143 void SVGAnimatedTypeAnimator::calculateFromAndToValues(RefPtr<SVGPropertyBase>& from, RefPtr<SVGPropertyBase>& to, const String& fromString, const String& toString) argument 146 to = constructFromString(toString); 149 void SVGAnimatedTypeAnimator::calculateFromAndByValues(RefPtr<SVGPropertyBase>& from, RefPtr<SVGPropertyBase>& to, const String& fromString, const String& byString) argument 152 to = constructFromString(byString); 154 to->add(from.get(), m_contextElement); 229 void SVGAnimatedTypeAnimator::calculateAnimatedValue(float percentage, unsigned repeatCount, SVGPropertyBase* from, SVGPropertyBase* to, SVGPropertyBas argument [all...] |
H A D | SVGLengthList.cpp | 16 * along with this library; see the file COPYING.LIB. If not, write to 171 float SVGLengthList::calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement*) argument
|
H A D | SVGNumberList.cpp | 16 * along with this library; see the file COPYING.LIB. If not, write to 100 // No call to |clear()| here. SVG policy is to use valid items before error. 140 float SVGNumberList::calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement*) argument
|
H A D | SVGPathBlender.cpp | 15 * along with this library; see the file COPYING.LIB. If not, write to 46 float SVGPathBlender::blendAnimatedDimensonalFloat(float from, float to, FloatBlendMode blendMode) argument 50 return from + to * m_addTypesCount; 54 return blend(from, to, m_progress); 59 // Transform toY to the coordinate mode of fromY 60 float animValue = blend(from, m_fromMode == AbsoluteCoordinates ? to + toValue : to - toValue, m_progress); 65 // Transform the animated point to the coordinate mode, needed for the current progress. 82 // Transform toPoint to the coordinate mode of fromPoint 94 // Transform the animated point to th 291 unsigned short to = toType; local [all...] |
H A D | SVGPathSegList.cpp | 18 * along with this library; see the file COPYING.LIB. If not, write to 178 const RefPtr<SVGPathSegList> to = toSVGPathSegList(toValue); local 181 const SVGPathByteStream* toStream = to->byteStream(); 185 // If no 'to' value is given, nothing to animate. 194 // If the 'from' value is given and it's length doesn't match the 'to' value list length, fallback to a discrete animation. 230 float SVGPathSegList::calculateDistance(PassRefPtr<SVGPropertyBase> to, SVGElement*) argument
|