Lines Matching refs:attrs
43 const char** attrs) {
53 // |attrs| is a NULL-terminated list of (attribute, value) pairs.
54 while (*attrs) {
55 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true);
58 if (strcmp(attrs[1], "true") == 0)
60 else if (strcmp(attrs[1], "false") == 0)
63 *experiment_id_ = attrs[1];
67 attrs += 2;
70 if (!attrs[0]) {
79 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true);
83 int value = GetIntValue(context, attrs[1]);
117 const char** attrs) {
122 while (*attrs) {
123 buzz::QName attribute_qname = context->ResolveQName(attrs[0], true);
126 *positive_upload_rate_ = GetDoubleValue(context, attrs[1]);
128 *negative_upload_rate_ = GetDoubleValue(context, attrs[1]);
130 attrs += 2; // We peeked at attrs[0] and attrs[1], skip past both.