• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/WebCore-7600.1.25/css/

Lines Matching refs:current

1784     CSSParserValue* value = m_valueList->current();
3057 if (!m_valueList->current() || inShorthand()) {
3095 CSSParserValue* value = m_valueList->current();
3173 while (m_valueList->current()) {
3174 CSSParserValue* val = m_valueList->current();
3197 if (!m_valueList->current())
3220 CSSParserValue* parserValue = m_valueList->current();
3332 while (m_valueList->current()) {
3333 CSSParserValue* val = m_valueList->current();
3342 if (!m_valueList->current())
3393 while (m_valueList->current()) {
3394 CSSParserValue* val = m_valueList->current();
3403 if (!m_valueList->current())
3453 while (m_valueList->current()) {
3555 CSSParserValue* value = m_valueList->current();
3577 CSSParserValue* value = m_valueList->current();
3647 while (CSSParserValue* val = m_valueList->current()) {
3666 CSSParserValue* val = m_valueList->current();
3695 while (CSSParserValue* val = m_valueList->current()) {
3772 CSSParserValue* a = args->current();
3792 CSSValueID id = m_valueList->current()->id;
3801 if (valueList->current()->id == CSSValueNone) {
3805 if (valueList->current()->unit == CSSPrimitiveValue::CSS_URI) {
3806 value = CSSImageValue::create(completeURL(valueList->current()->string));
3810 if (isGeneratedImageValue(valueList->current()))
3814 if (valueList->current()->unit == CSSParserValue::Function && equalIgnoringCase(valueList->current()->function->name, "-webkit-image-set(")) {
3826 int id = valueList->current()->id;
3835 if (validUnit(valueList->current(), FPercent | FLength))
3836 return createPrimitiveNumericValue(valueList->current());
3842 int id = valueList->current()->id;
3851 if (validUnit(valueList->current(), FPercent | FLength))
3852 return createPrimitiveNumericValue(valueList->current());
3858 CSSValueID id = valueList->current()->id;
3888 if (validUnit(valueList->current(), FPercent | FLength)) {
3900 return createPrimitiveNumericValue(valueList->current());
4069 CSSParserValue* current = valueList->valueAt(i);
4070 if (isComma(current) || !current || isForwardSlashOperator(current) || !isPotentialPositionValue(current))
4085 CSSParserValue* value = valueList->current();
4130 CSSParserValue* value = valueList->current();
4174 CSSValueID id = m_valueList->current()->id;
4216 CSSParserValue* value = m_valueList->current();
4284 while ((val = m_valueList->current())) {
4443 CSSParserValue* value = m_valueList->current();
4451 CSSParserValue* value = m_valueList->current();
4459 CSSParserValue* value = m_valueList->current();
4467 CSSParserValue* value = m_valueList->current();
4475 CSSParserValue* value = m_valueList->current();
4485 CSSParserValue* value = m_valueList->current();
4498 CSSParserValue* value = m_valueList->current();
4506 CSSParserValue* value = m_valueList->current();
4529 if (m_valueList->current()) {
4530 if (validUnit(m_valueList->current(), FLength)) {
4531 value3 = createPrimitiveNumericValue(m_valueList->current());
4543 CSSParserValue* v = args->current();
4559 CSSParserValue* value = m_valueList->current();
4579 CSSParserValue* v = args->current();
4636 while ((val = m_valueList->current())) {
4747 CSSParserValue* value = m_valueList->current();
4752 gridLineName = createPrimitiveStringValue(m_valueList->current());
4759 gridLineName = createPrimitiveStringValue(m_valueList->current());
4773 CSSParserValue* value = m_valueList->current();
4790 value = m_valueList->current();
4799 if (m_valueList->current() && !isForwardSlashOperator(m_valueList->current()))
4844 if (m_valueList->current()) {
4845 if (!isForwardSlashOperator(m_valueList->current()))
4852 if (!endValue || m_valueList->current())
4865 if (!m_valueList->current())
4876 if (m_valueList->current()->unit == CSSParserValue::ValueList) {
4890 if (m_valueList->current() && m_valueList->current()->unit != CSSParserValue::ValueList && m_valueList->current()->unit != CSSPrimitiveValue::CSS_STRING) {
4900 if (m_valueList->current() && m_valueList->current()->unit == CSSParserValue::ValueList) {
4904 } while (m_valueList->current());
4926 if (!m_valueList->current())
4929 bool firstValueIsNone = m_valueList->current()->id == CSSValueNone;
4944 if (!(m_valueList->current() && isForwardSlashOperator(m_valueList->current()) && m_valueList->next()))
4948 if (m_valueList->current())
4992 if (m_valueList->current()) {
4996 if (m_valueList->current()) {
4997 if (!isForwardSlashOperator(m_valueList->current()) || !m_valueList->next())
5003 if (m_valueList->current())
5066 if (!m_valueList->current())
5069 if (!isForwardSlashOperator(m_valueList->current()))
5081 ASSERT(inputList.current() && inputList.current()->unit == CSSParserValue::ValueList);
5083 CSSParserValueList* identList = inputList.current()->valueList;
5093 while (CSSParserValue* identValue = identList->current()) {
5106 CSSParserValue* value = m_valueList->current();
5114 value = m_valueList->current();
5119 while (CSSParserValue* currentValue = m_valueList->current()) {
5134 value = m_valueList->current();
5147 CSSParserValueList* arguments = m_valueList->current()->function->args.get();
5162 CSSParserValue* currentValue = arguments->current();
5166 while (arguments->current()) {
5174 currentValue = arguments->current();
5190 CSSParserValue* currentValue = inputList.current();
5248 CSSParserValue* value = inputList.current();
5308 CSSParserValue* current = args->current();
5309 if (current->unit == CSSParserValue::Operator && current->iValue == ',')
5312 return args->current();
5319 CSSParserValue* value = m_valueList->current();
5365 CSSParserValue* arg = args->current();
5443 CSSParserValue* currentValue = m_valueList->current();
5510 while (m_valueList->current()) {
5531 CSSParserValue* i = args->current();
5577 CSSParserValue* value = m_valueList->current();
5589 CSSParserValue* a = args->current();
5707 CSSParserValue* argument = args->current();
5771 for (CSSParserValue* argument = args->current(); argument; argument = args->next()) {
5791 if (centerX && centerY && !args->current()) {
5817 for (CSSParserValue* argument = args->current(); argument; argument = args->next()) {
5842 if (!centerX || !centerY || args->current())
5864 CSSParserValue* argument = args->current();
5925 CSSParserValue* value = m_valueList->current();
5949 value = m_valueList->current();
5952 if (m_valueList->current())
5963 CSSParserValue* value = m_valueList->current();
5986 CSSParserValue* value = m_valueList->current();
6003 CSSParserValue* value = m_valueList->current();
6042 while ((value = m_valueList->current())) {
6072 value = m_valueList->current();
6096 if (m_valueList->current())
6138 CSSParserValue* value = m_valueList->current();
6211 CSSParserValue* value = m_valueList->current();
6226 CSSParserValue* value = m_valueList->current();
6246 while ((val = m_valueList->current())) {
6296 CSSParserValue* value = m_valueList->current();
6313 RefPtr<CSSFontFaceSrcValue> uriValue(CSSFontFaceSrcValue::create(completeURL(m_valueList->current()->string)));
6332 if (!args || args->size() != 1 || (args->current()->unit != CSSPrimitiveValue::CSS_STRING && args->current()->unit != CSSPrimitiveValue::CSS_IDENT))
6334 uriValue->setFormat(args->current()->string);
6344 CSSParserValueList* args = m_valueList->current()->function->args.get();
6348 if (args->size() == 1 && args->current()->unit == CSSPrimitiveValue::CSS_STRING)
6349 valueList->append(CSSFontFaceSrcValue::createLocal(args->current()->string));
6350 else if (args->current()->unit == CSSPrimitiveValue::CSS_IDENT) {
6352 for (CSSParserValue* localValue = args->current(); localValue; localValue = args->next()) {
6374 while (CSSParserValue* value = m_valueList->current()) {
6397 for (; m_valueList->current(); m_valueList->next(), operatorExpected = !operatorExpected) {
6399 if (m_valueList->current()->unit == CSSParserValue::Operator && m_valueList->current()->iValue == ',')
6404 if (m_valueList->current()->unit != CSSPrimitiveValue::CSS_UNICODE_RANGE) {
6409 String rangeString = m_valueList->current()->string;
6556 const CharacterType* current = string;
6559 while (current != end && isHTMLSpace(*current))
6560 current++;
6561 if (current != end && *current == '-') {
6563 current++;
6565 if (current == end || !isASCIIDigit(*current))
6567 while (current != end && isASCIIDigit(*current)) {
6568 double newValue = localValue * 10 + *current++ - '0';
6572 while (current != end && isASCIIDigit(*current))
6573 ++current;
6579 if (current == end)
6582 if (expect == CSSPrimitiveValue::CSS_NUMBER && (*current == '.' || *current == '%'))
6585 if (*current == '.') {
6589 int numCharactersParsed = parseDouble(current, end, '%', percentage);
6592 current += numCharactersParsed;
6593 if (*current != '%')
6598 if (expect == CSSPrimitiveValue::CSS_PERCENTAGE && *current != '%')
6601 if (*current == '%') {
6607 current++;
6611 while (current != end && isHTMLSpace(*current))
6612 current++;
6613 if (current == end || *current++ != terminator)
6617 string = current;
6727 const CharacterType* current = characters + 5;
6734 if (!parseColorIntOrPercentage(current, end, ',', expect, red))
6736 if (!parseColorIntOrPercentage(current, end, ',', expect, green))
6738 if (!parseColorIntOrPercentage(current, end, ',', expect, blue))
6740 if (!parseAlphaValue(current, end, ')', alpha))
6742 if (current != end)
6750 const CharacterType* current = characters + 4;
6755 if (!parseColorIntOrPercentage(current, end, ',', expect, red))
6757 if (!parseColorIntOrPercentage(current, end, ',', expect, green))
6759 if (!parseColorIntOrPercentage(current, end, ')', expect, blue))
6761 if (current != end)
6843 CSSParserValue* v = args->current();
6886 CSSParserValue* v = args->current();
6916 if (!parseColorFromValue(value ? value : m_valueList->current(), c))
6999 // Construct the current shadow value and add it to the list.
7099 while ((val = valueList->current())) {
7103 // Other operators aren't legal or we aren't done with the current shadow
7167 CSSParserValue* val = m_valueList->current();
7213 while (CSSParserValue* arg = args->current()) {
7375 while (CSSParserValue* val = m_valueList->current()) {
7453 CSSParserValue* val = m_valueList->current();
7562 while ((val = m_valueList->current())) {
7676 while ((val = m_valueList->current())) {
7807 CSSParserValue* val = m_valueList->current();
7884 CSSValueID id = args->current()->id;
7888 stop.m_color = p->parseColor(args->current());
7898 CSSParserValue* stopArg = args->current();
7926 CSSParserValueList* args = valueList->current()->function->args.get();
7932 CSSParserValue* a = args->current();
8090 CSSParserValueList* args = valueList->current()->function->args.get();
8094 CSSParserValue* a = args->current();
8158 CSSParserValueList* args = valueList->current()->function->args.get();
8162 CSSParserValue* a = args->current();
8173 a = args->current();
8278 CSSParserValueList* args = valueList->current()->function->args.get();
8282 CSSParserValue* a = args->current();
8350 CSSParserValueList* args = valueList->current()->function->args.get();
8354 CSSParserValue* a = args->current();
8449 a = args->current();
8474 CSSParserValue* a = valueList->current();
8531 CSSParserValue* val = valueList->current();
8583 CSSParserValueList* args = valueList->current()->function->args.get();
8586 CSSParserValue* value = args->current();
8625 CSSParserValueList* args = valueList->current()->function->args.get();
8628 CSSParserValue* a = args->current();
8675 CSSParserValueList* args = valueList->current()->function->args.get();
8680 CSSParserValue* value = args->current();
8696 CSSParserValue* value = m_valueList->current();
8722 CSSParserValue* value = m_valueList->current();
8726 if (!functionArgs || !functionArgs->size() || !functionArgs->current())
8730 CSSParserValue* arg = functionArgs->current();
9038 for (CSSParserValue* value = m_valueList->current(); value; value = m_valueList->next()) {
9074 CSSParserValue* a = args->current();
9098 // Add the value to the current transform operation.
9172 CSSParserValue* value = args->current();
9196 CSSParserValue* value = args->current();
9210 CSSParserValue* argument = args->current();
9224 CSSParserValue* argument = args->current();
9254 for (auto value = valueList->current(); value; value = valueList->next()) {
9324 CSSParserValue* value = m_valueList->current();
9356 CSSParserValue* value = m_valueList->current();
9409 if (validUnit(m_valueList->current(), FLength))
9410 value = createPrimitiveNumericValue(m_valueList->current());
9472 CSSParserValue* value = m_valueList->current();
9513 CSSParserValue* value = m_valueList->current();
9534 CSSParserValue* value = m_valueList->current();
9557 for (CSSParserValue* value = m_valueList->current(); value; value = m_valueList->next()) {
9613 for (CSSParserValue* value = m_valueList->current(); value; value = m_valueList->next()) {
9664 CSSParserValue* value = m_valueList->current();
9695 for (CSSParserValue* value = m_valueList->current(); value; value = m_valueList->next()) {
9736 CSSParserValue* value = m_valueList->current();
9770 if (m_valueList->size() == 1 && m_valueList->current()->id == CSSValueNormal) {
9778 for (CSSParserValue* value = m_valueList->current(); value; value = m_valueList->next()) {
9782 // If the list isn't parsed fully, the current value should be comma.
9783 value = m_valueList->current();
9801 for (CSSParserValue* value = m_valueList->current(); value; value = m_valueList->next()) {
10434 // Reset the current character to the start of the URI and re-parse with
11212 // m_token is simply the current character.
11274 SrcCharacterType* current = start;
11277 if (!isASCIIHexDigit(*current)) {
11281 ++current;
11282 } while (current < result);
12005 CSSParserValue* value = m_valueList->current();
12052 if (!m_valueList->current() || inShorthand()) {