Searched defs:from (Results 201 - 225 of 873) sorted by relevance

1234567891011>>

/external/chromium/third_party/libjingle/source/talk/xmpp/
H A Dxmppengineimpl_iq.cc14 * derived from this software without specific prior written permission.
211 // copy attrs, copy 'from' to 'to' and strip 'from'
216 continue; // no need to put a from attr. Server will stamp stanza
261 std::string from = element->Attr(QN_FROM); local
266 if (iq_entry->id_ == id && iq_entry->to_ == from) {
/external/chromium_org/cc/animation/
H A Dtransform_operation.cc25 static bool ShareSameAxis(const TransformOperation* from, argument
31 if (IsOperationIdentity(from) && IsOperationIdentity(to))
34 if (IsOperationIdentity(from) && !IsOperationIdentity(to)) {
42 if (!IsOperationIdentity(from) && IsOperationIdentity(to)) {
43 *axis_x = from->rotate.axis.x;
44 *axis_y = from->rotate.axis.y;
45 *axis_z = from->rotate.axis.z;
46 *angle_from = from->rotate.angle;
50 double length_2 = from->rotate.axis.x * from
76 BlendDoubles(double from, double to, double progress) argument
80 BlendTransformOperations( const TransformOperation* from, const TransformOperation* to, double progress, gfx::Transform* result) argument
[all...]
H A Dtransform_operations.cc38 const TransformOperations& from, double progress) const {
40 BlendInternal(from, progress, &to_return);
142 bool TransformOperations::BlendInternal(const TransformOperations& from, argument
145 bool from_identity = from.IsIdentity();
150 if (MatchesTypes(from)) {
152 std::max(from_identity ? 0 : from.operations_.size(),
157 from_identity ? 0 : &from.operations_[i],
167 if (!ComputeDecomposedTransform() || !from.ComputeDecomposedTransform())
173 *from.decomposed_transform_.get(),
37 Blend( const TransformOperations& from, double progress) const argument
/external/chromium_org/cc/output/
H A Dfilter_operation.cc73 static float BlendFloats(float from, float to, double progress) { argument
74 return from * (1.0 - progress) + to * progress;
77 static int BlendInts(int from, int to, double progress) { argument
79 MathUtil::Round(from * (1.0 - progress) + to * progress));
82 static uint8_t BlendColorComponents(uint8_t from, argument
90 int blended_premultiplied = BlendInts(SkMulDiv255Round(from, from_alpha),
98 static SkColor BlendSkColors(SkColor from, SkColor to, double progress) { argument
99 int from_a = SkColorGetA(from);
108 SkColorGetR(from), SkColorGetR(to), from_a, to_a, blended_a, progress);
110 SkColorGetG(from), SkColorGet
183 Blend(const FilterOperation* from, const FilterOperation* to, double progress) argument
[all...]
/external/chromium_org/cc/trees/
H A Dlayer_sorter.h39 // Holds various useful properties derived from a layer's 3D outline.
66 : from(from_node),
70 GraphNode* from; member in struct:cc::GraphEdge
/external/chromium_org/chrome/browser/chromeos/
H A Dlocale_change_guard.cc222 string16 from = l10n_util::GetDisplayNameForLocale( local
230 IDS_LOCALE_CHANGE_MESSAGE, from, to);
232 IDS_LOCALE_CHANGE_REVERT_MESSAGE, from);
/external/chromium_org/chrome/browser/extensions/api/storage/
H A Dstorage_api.cc45 // mechanism to signify an error from this function.
115 // Adds all StringValues from a ListValue to a vector of strings.
116 void AddAllStringValues(const base::ListValue& from, argument
120 for (base::ListValue::const_iterator it = from.begin();
121 it != from.end(); ++it) {
/external/chromium_org/chrome/browser/feedback/
H A Dfeedback_data.cc193 void FeedbackData::ReadAttachedFile(const base::FilePath& from) { argument
194 if (!file_util::ReadFileToString(from, attached_filedata_.get())) {
/external/chromium_org/chrome/browser/ui/webui/performance_monitor/
H A Dperformance_monitor_ui_util.cc157 double GetConversionFactor(UnitDetails from, UnitDetails to) { argument
158 if (from.measurement_type != to.measurement_type) {
163 return static_cast<double>(from.amount_in_base_units) /
/external/chromium_org/chrome/browser/ui/webui/translate_internals/
H A Dtranslate_internals_handler.cc113 std::string from, to; local
114 if (!args->GetString(1, &from))
118 translate_prefs.RemoveLanguagePairFromWhitelist(from, to);
/external/chromium_org/content/browser/devtools/
H A Ddevtools_manager_impl.cc71 DevToolsClientHost* from,
73 DevToolsAgentHost* agent_host = GetDevToolsAgentHostFor(from);
155 // Lazy agent hosts can be deleted from within detach.
70 DispatchOnInspectorBackend( DevToolsClientHost* from, const std::string& message) argument
/external/chromium_org/remoting/host/policy_hack/
H A Dpolicy_watcher.cc5 // Most of this code is copied from:
33 // Copies all policy values from one dictionary to another, using values from
34 // |default| if they are not set in |from|, or values from |bad_type_values| if
35 // the value in |from| has the wrong type.
37 const base::DictionaryValue* from,
46 // If the policy isn't in |from|, use the default.
47 if (!from->Get(i.key(), &value)) {
51 // If the policy is the wrong type, use the value from |bad_type_value
36 CopyGoodValuesAndAddDefaults( const base::DictionaryValue* from, const base::DictionaryValue* default_values, const base::DictionaryValue* bad_type_values) argument
[all...]
/external/chromium_org/remoting/jingle_glue/
H A Diq_sender.cc102 std::string from = stanza->Attr(buzz::QN_FROM); local
107 // of IQ responses sent from client to host. Whenever we receive a
112 if (it->second->addressee_ == from) {
124 if (request->addressee_ != from) {
125 LOG(ERROR) << "Received IQ response from from a invalid JID. Ignoring it."
126 << " Message received from: " << from
/external/chromium_org/sandbox/linux/seccomp-bpf/
H A Dsandbox_bpf.h117 // for a description of how to pass data from SetSandboxPolicy() to a Trap()
122 // calls made from this trap handler.
139 // details. In other words, the return value from ForwardSyscall() is
174 // Assembles a BPF filter program from the current policy. After calling this
196 : from(f),
200 uint32_t from, to; member in struct:playground2::Sandbox::Range
254 // "cond" and returns the appropriate value from the BPF filter program.
256 // called from RetExpression().
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
H A DV8PerContextData.h15 * contributors may be used to endorse or promote products derived from
75 static V8PerContextData* from(v8::Handle<v8::Context> context) function in class:WebCore::V8PerContextData
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSFontFace.h52 void addRange(UChar32 from, UChar32 to) { m_ranges.append(UnicodeRange(from, to)); } argument
70 UnicodeRange(UChar32 from, UChar32 to) argument
71 : m_from(from)
76 UChar32 from() const { return m_from; } function in struct:WebCore::CSSFontFace::UnicodeRange
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/
H A DGlyphBuffer.h16 * from this software without specific prior written permission.
77 GlyphBufferGlyph* glyphs(int from) { return m_glyphs.data() + from; } argument
78 GlyphBufferAdvance* advances(int from) { return m_advances.data() + from; } argument
79 const GlyphBufferGlyph* glyphs(int from) const { return m_glyphs.data() + from; }
80 const GlyphBufferAdvance* advances(int from) const { return m_advances.data() + from; }
114 void reverse(int from, in argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/harfbuzz/
H A DFontHarfBuzz.cpp15 * contributors may be used to endorse or promote products derived from
59 const GlyphBuffer& glyphBuffer, int from, int numGlyphs,
63 const GlyphBufferGlyph* glyphs = glyphBuffer.glyphs(from);
73 const GlyphBufferAdvance* adv = glyphBuffer.advances(from);
184 shaper.setDrawRange(runInfo.from, runInfo.to);
217 int from, int to) const
222 return shaper.selectionRect(point, height, from, to);
58 drawGlyphs(GraphicsContext* gc, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point, const FloatRect& textRect) const argument
215 selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int height, int from, int to) const argument
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/mac/
H A DFontComplexTextMac.cpp50 int from, int to) const
55 return shaper.selectionRect(point, h, from, to);
58 controller.advance(from);
72 float Font::getGlyphsAndAdvancesForComplexText(const TextRun& run, int from, int to, GlyphBuffer& glyphBuffer, ForTextEmphasisOrNot forTextEmphasis) const argument
77 controller.advance(from);
100 shaper.setDrawRange(runInfo.from, runInfo.to);
109 float startX = point.x() + getGlyphsAndAdvancesForComplexText(runInfo.run, runInfo.from, runInfo.to, glyphBuffer);
123 float initialAdvance = getGlyphsAndAdvancesForComplexText(runInfo.run, runInfo.from, runInfo.to, glyphBuffer, ForTextEmphasis);
49 selectionRectForComplexText(const TextRun& run, const FloatPoint& point, int h, int from, int to) const argument
/external/chromium_org/third_party/WebKit/Source/core/platform/text/
H A DLineEnding.cpp16 * contributors may be used to endorse or promote products derived from
97 void internalNormalizeLineEndingsToCRLF(const CString& from, OutputBuffer& buffer) argument
101 const char* p = from.data();
117 if (newLen < from.length())
120 if (newLen == from.length()) {
121 buffer.copy(from);
125 p = from.data();
152 void normalizeToCROrLF(const CString& from, Vector<char>& result, bool toCR);
155 void normalizeToCROrLF(const CString& from, Vector<char>& result, bool toCR) argument
160 const char* p = from
203 normalizeLineEndingsToCRLF(const CString& from) argument
211 normalizeLineEndingsToCR(const CString& from, Vector<char>& result) argument
216 normalizeLineEndingsToLF(const CString& from, Vector<char>& result) argument
221 normalizeLineEndingsToNative(const CString& from, Vector<char>& result) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderCombineText.cpp58 float RenderCombineText::width(unsigned from, unsigned length, const Font& font, float xPosition, HashSet<const SimpleFontData*>* fallbackFonts, GlyphOverflow* glyphOverflow) const argument
66 return RenderText::width(from, length, font, xPosition, fallbackFonts, glyphOverflow);
/external/chromium_org/third_party/WebKit/Source/core/svg/
H A DSVGAnimatedAngle.cpp81 void SVGAnimatedAngleAnimator::addAnimatedTypes(SVGAnimatedType* from, SVGAnimatedType* to) argument
83 ASSERT(from->type() == AnimatedAngle);
84 ASSERT(from->type() == to->type());
86 const pair<SVGAngle, unsigned>& fromAngleAndEnumeration = from->angleAndEnumeration();
88 // Only respect by animations, if from and by are both specified in angles (and not eg. 'auto').
96 void SVGAnimatedAngleAnimator::calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType* from, SVGAnimatedType* to, SVGAnimatedType* toAtEndOfDuration, SVGAnimatedType* animated) argument
101 const pair<SVGAngle, unsigned>& fromAngleAndEnumeration = m_animationElement->animationMode() == ToAnimation ? animated->angleAndEnumeration() : from->angleAndEnumeration();
107 // Animating from eg. auto to 90deg, or auto to 90deg.
109 // Animating from an angle value to eg. 'auto' - this disabled additive as 'auto' is a keyword..
140 // Regular from angl
152 SVGAngle from = SVGAngle(); local
[all...]
H A DSVGAnimatedColor.cpp43 void SVGAnimatedColorAnimator::addAnimatedTypes(SVGAnimatedType* from, SVGAnimatedType* to) argument
45 ASSERT(from->type() == AnimatedColor);
46 ASSERT(from->type() == to->type());
47 to->color() = ColorDistance::addColors(from->color(), to->color());
65 void SVGAnimatedColorAnimator::calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType* from, SVGAnimatedType* to, SVGAnimatedType* toAtEndOfDuration, SVGAnimatedType* animated) argument
70 Color fromColor = m_animationElement->animationMode() == ToAnimation ? animated->color() : from->color();
103 Color from; local
104 if (!SVGColor::colorFromRGBColorString(fromString, from))
109 return ColorDistance(from, to).distance();
H A DSVGAnimatedEnumeration.cpp145 void SVGAnimatedEnumerationAnimator::calculateAnimatedValue(float percentage, unsigned, SVGAnimatedType* from, SVGAnimatedType* to, SVGAnimatedType*, SVGAnimatedType* animated) argument
150 unsigned fromEnumeration = m_animationElement->animationMode() == ToAnimation ? animated->enumeration() : from->enumeration();
H A DSVGAnimatedInteger.cpp66 void SVGAnimatedIntegerAnimator::addAnimatedTypes(SVGAnimatedType* from, SVGAnimatedType* to) argument
68 ASSERT(from->type() == AnimatedInteger);
69 ASSERT(from->type() == to->type());
71 to->integer() += from->integer();
81 void SVGAnimatedIntegerAnimator::calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType* from, SVGAnimatedType* to, SVGAnimatedType* toAtEndOfDuration, SVGAnimatedType* animated) argument
86 int fromInteger = m_animationElement->animationMode() == ToAnimation ? animated->integer() : from->integer();
97 int from = fromString.toIntStrict(); local
99 return abs(to - from);

Completed in 7752 milliseconds

1234567891011>>