Home
last modified time | relevance | path

Searched refs:fString (Results 1 – 25 of 28) sorted by relevance

12

/external/icu4c/tools/genrb/
Dreslist.c220 if ((same = res->u.fString.fSame) != NULL) { in string_write16()
379 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in string_preWrite()
458 *byteOffset += 4 + (res->u.fString.fLength + 1) * U_SIZEOF_UCHAR; in res_preWrite()
495 int32_t length = res->u.fString.fLength; in string_write()
497 udata_writeUString(mem, res->u.fString.fChars, length + 1); in string_write()
505 int32_t length = res->u.fString.fLength; in alias_write()
507 udata_writeUString(mem, res->u.fString.fChars, length + 1); in alias_write()
889 return uhash_hashUCharsN(res->u.fString.fChars, res->u.fString.fLength); in string_hash()
896 return 0 == u_strCompare(res1->u.fString.fChars, res1->u.fString.fLength, in string_comp()
897 res2->u.fString.fChars, res2->u.fString.fLength, in string_comp()
[all …]
Dwrtjava.c312 str_write_java(res->u.fString.fChars,res->u.fString.fLength,TRUE,status); in string_write_java()
316 UChar* buf = (UChar*) uprv_malloc(sizeof(UChar)*res->u.fString.fLength); in string_write_java()
317 uprv_memcpy(buf,res->u.fString.fChars,res->u.fString.fLength); in string_write_java()
Dparse.c783 urules = sequence->u.fString.fChars; in importFromDataFile()
784 urulesLength = sequence->u.fString.fLength; in importFromDataFile()
865 int32_t length = member->u.fString.fLength; in addCollation()
872 u_UCharsToChars(member->u.fString.fChars, ver, length + 1); /* +1 for copying NULL */ in addCollation()
882 if (u_strncmp(member->u.fString.fChars, trueValue, u_strlen(trueValue)) == 0) in addCollation()
913 coll = ucol_openRulesForImport(member->u.fString.fChars, member->u.fString.fLength, in addCollation()
Dwrtxml.cpp620 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in string_write_xml()
652 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status); in alias_write_xml()
Dreslist.h179 struct SResString fString; member
/external/skia/src/animator/
DSkScriptRuntime.cpp145 operand[registerLoad].fString = strPtr; in executeTokens()
148 track(operand[0].fString); in executeTokens()
196 operand[0].fString = strPtr; in executeTokens()
203 if (SkParse::FindS32(operand[0].fString->c_str(), &operand[0].fS32) == false) in executeTokens()
208 if (SkParse::FindScalar(operand[0].fString->c_str(), in executeTokens()
227 operand[0].fString->append(*operand[1].fString); in executeTokens()
261 operand[0].fS32 = *operand[0].fString == *operand[1].fString; in executeTokens()
270 operand[0].fS32 = strcmp(operand[0].fString->c_str(), operand[1].fString->c_str()) >= 0; in executeTokens()
DSkScript.cpp431 inner = value->fOperand.fString->c_str(); in evaluateScript()
464 SkString* string = (*array)[index].fString; in forget()
686 operand.fString = new SkString(); in innerScript()
687 track(operand.fString); in innerScript()
695 operand.fString->append(script, 1); in innerScript()
821 SkString* string = fOperandStack.top().fString; in innerScript()
831 operand.fString = string; in innerScript()
972 track(callbackResult.fOperand.fString); in handleMember()
993 track(callbackResult.fOperand.fString); in handleMemberFunction()
1015 track(callbackResult.fOperand.fString);
[all …]
DSkMemberInfo.cpp129 *string = value.fOperand.fString; in getString()
263 scriptValue.fOperand.fString = new SkString(charPtr); in setValue()
265 engine.SkScriptEngine::track(scriptValue.fOperand.fString); in setValue()
314 scriptValue.fOperand.fString = &string; in setValue()
322 arrayStorage->begin()->fString->set(rawValue, rawValueLen); in setValue()
380 storage->fString->set(*scriptValue.fOperand.fString); in writeValue()
423 …ing* string = untypedStorage ? (SkString*) untypedStorage : (*arrayStorage)[storageOffset].fString; in writeValue()
424 string->set(*scriptValue.fOperand.fString); in writeValue()
DSkScriptTokenizer.cpp209 addTokenString(*value.fOperand.fString); in addTokenValue()
404 inner = value->fOperand.fString->c_str(); in evaluateScript()
423 SkString* string = (*array)[index].fString; in forget()
577 operand.fOperand.fString = new SkString(); in innerScript()
586 operand.fOperand.fString->set(stringStart, script - stringStart); in innerScript()
588 char* stringWrite = operand.fOperand.fString->writable_str(); in innerScript()
597 track(operand.fOperand.fString); in innerScript()
733 SkString* string = fValueStack.top().fOperand.fString; in innerScript()
741 operand.fOperand.fString = string; in innerScript()
842 track(callbackResult.fOperand.fString); in handleMember()
[all …]
DSkOperand2.h30 SkString* fString; member
50 SkString* getString() { SkASSERT(fType == SkOperand2::kString); return fOperand.fString; } in getString()
DSkAnimatorScript.cpp116 SkDisplayString* boxedValue = new SkDisplayString(*scriptValue->fOperand.fString); in Box()
144 const char* script = scriptValue->fOperand.fString->c_str(); in Eval()
178 value->fOperand.fString = NULL; in EvalID()
246 value->fOperand.fString = new SkString(*displayableString); in EvalMemberCommon()
343 result->set(*(value.fOperand.fString)); in EvaluateString()
353 result->set(*(value.fOperand.fString)); in EvaluateString()
435 value->fOperand.fString = new SkString(key);
465 scriptValue->fOperand.fString = SkNEW_ARGS(SkString, (boxedValue->value)); in Unbox()
471 scriptValue->fOperand.fString = SkNEW_ARGS(SkString, (id)); in Unbox()
585 … SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0); in UnitTest()
DSkOperand.h30 SkString* fString; member
43 SkString* getString() { SkASSERT(fType == SkType_String); return fOperand.fString; } in getString()
DSkDisplayTypes.cpp145 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start); in executeFunction()
147 scriptValue->fOperand.fString = new SkString(value); in executeFunction()
198 delete values[index].fString; in ~SkDisplayArray()
DSkDisplayEvent.cpp161 value->fOperand.fString = &fKeyString; in getProperty()
164 value->fOperand.fString->append("-"); in getProperty()
166 value->fOperand.fString->append(scratch, size); in getProperty()
242 SkString* string = value.fOperand.fString; in setProperty()
DSkAnimateBase.cpp53 delete fValues[0].fString; in ~SkAnimateBase()
128 value->fOperand.fString = (SkString*) &to; in getProperty()
195 to = *value.fOperand.fString; in setProperty()
DSkAnimatorScript2.cpp75 SkDisplayString* boxedValue = new SkDisplayString(*operand->fString); in convert()
143 const char* script = op->fString->c_str(); in invoke()
332 operand->fString = SkNEW_ARGS(SkString, (boxedValue->value)); in convert()
338 operand->fString = SkNEW_ARGS(SkString, (id)); in convert()
423 value->fString = new SkString(*displayableString); in evalMemberCommon()
613 SkASSERT(value.fOperand.fString->equals(scriptTests[index].fStringAnswer)); in UnitTest()
DSkDisplayable.cpp216 SkDebugf("%s", op->fString->c_str()); in dumpAttrs()
387 if (op.fString->size() > 0) in dumpValues()
388 SkDebugf("%s=\"%s\" ", info->fName, op.fString->c_str()); in dumpValues()
DSkAnimateSet.cpp74 fValues[0].fString = SkNEW(SkString); in onEndElement()
DSkDrawPaint.cpp164 … scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), in executeFunction()
165 parameters[0].fOperand.fString->size()); in executeFunction()
DSkDump.cpp76 SkDebugf("%s\" />\n", value.fOperand.fString->c_str()); in evaluate()
/external/icu4c/i18n/
Dfmtable.cpp168 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
179 fValue.fString = stringToAdopt; in Formattable()
234 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
295 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
337 delete fValue.fString; in dispose()
568 fValue.fString = new UnicodeString(stringToCopy); in setString()
591 fValue.fString = stringToAdopt; in adoptString()
621 if (fValue.fString == NULL) { in getString()
624 result = *fValue.fString; in getString()
638 if (fValue.fString == NULL) { in getString()
[all …]
Dfmtable_cnv.cpp37 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
/external/icu4c/i18n/unicode/
Dfmtable.h374 { result=*fValue.fString; return result; } in getString()
629 UnicodeString* fString; member
657 return *fValue.fString; in getString()
661 return *fValue.fString; in getString()
/external/skia/src/utils/
DSkJSON.cpp80 char* fString; member
97 free_string(fValue.fString); in ~Slot()
143 return fSlot->fValue.fString; in stringValue()
240 this->addSlot(new Slot(name, kString))->fValue.fString = dup_string(value); in addString()
297 value->set(slot->fValue.fString); in findString()
405 SkDebugf("\"%s\"", slot->fValue.fString); in dumpLevel()
/external/skia/tests/
DStringTest.cpp103 const char* fString; in TestString() member
124 REPORTER_ASSERT(reporter, a.equals(gRec[i].fString)); in TestString()

12