Home
last modified time | relevance | path

Searched refs:fString (Results 1 – 25 of 36) 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()
/external/chromium/third_party/icu/source/i18n/
Dfmtable.cpp149 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
160 fValue.fString = stringToAdopt; in Formattable()
213 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
262 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
303 delete fValue.fString; in dispose()
514 fValue.fString = new UnicodeString(stringToCopy); in setString()
537 fValue.fString = stringToAdopt; in adoptString()
567 if (fValue.fString == NULL) { in getString()
570 result = *fValue.fString; in getString()
584 if (fValue.fString == NULL) { in getString()
[all …]
Dfmtable_cnv.cpp37 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
/external/icu4c/i18n/
Dfmtable.cpp170 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
181 fValue.fString = stringToAdopt; in Formattable()
236 fValue.fString = new UnicodeString(*source.fValue.fString); in operator =()
297 equal = (*(fValue.fString) == *(that.fValue.fString)); in operator ==()
339 delete fValue.fString; in dispose()
557 fValue.fString = new UnicodeString(stringToCopy); in setString()
580 fValue.fString = stringToAdopt; in adoptString()
610 if (fValue.fString == NULL) { in getString()
613 result = *fValue.fString; in getString()
627 if (fValue.fString == NULL) { in getString()
[all …]
Dfmtable_cnv.cpp37 fValue.fString = new UnicodeString(stringToCopy); in Formattable()
/external/skia/src/animator/
DSkScriptRuntime.cpp137 operand[registerLoad].fString = strPtr; in executeTokens()
140 track(operand[0].fString); in executeTokens()
188 operand[0].fString = strPtr; in executeTokens()
195 if (SkParse::FindS32(operand[0].fString->c_str(), &operand[0].fS32) == false) in executeTokens()
200 if (SkParse::FindScalar(operand[0].fString->c_str(), in executeTokens()
219 operand[0].fString->append(*operand[1].fString); in executeTokens()
253 operand[0].fS32 = *operand[0].fString == *operand[1].fString; in executeTokens()
262 operand[0].fS32 = strcmp(operand[0].fString->c_str(), operand[1].fString->c_str()) >= 0; in executeTokens()
DSkScript.cpp438 inner = value->fOperand.fString->c_str(); in evaluateScript()
471 SkString* string = (*array)[index].fString; in forget()
693 operand.fString = new SkString(); in innerScript()
694 track(operand.fString); in innerScript()
702 operand.fString->append(script, 1); in innerScript()
828 SkString* string = fOperandStack.top().fString; in innerScript()
838 operand.fString = string; in innerScript()
979 track(callbackResult.fOperand.fString); in handleMember()
1000 track(callbackResult.fOperand.fString); in handleMemberFunction()
1022 track(callbackResult.fOperand.fString);
[all …]
DSkScriptTokenizer.cpp201 addTokenString(*value.fOperand.fString); in addTokenValue()
396 inner = value->fOperand.fString->c_str(); in evaluateScript()
415 SkString* string = (*array)[index].fString; in forget()
568 operand.fOperand.fString = new SkString(); in innerScript()
577 operand.fOperand.fString->set(stringStart, script - stringStart); in innerScript()
579 char* stringWrite = operand.fOperand.fString->writable_str(); in innerScript()
588 track(operand.fOperand.fString); in innerScript()
724 SkString* string = fValueStack.top().fOperand.fString; in innerScript()
732 operand.fOperand.fString = string; in innerScript()
832 track(callbackResult.fOperand.fString); in handleMember()
[all …]
DSkMemberInfo.cpp136 *string = value.fOperand.fString; in getString()
270 scriptValue.fOperand.fString = new SkString(charPtr); in setValue()
272 engine.SkScriptEngine::track(scriptValue.fOperand.fString); in setValue()
321 scriptValue.fOperand.fString = &string; in setValue()
329 arrayStorage->begin()->fString->set(rawValue, rawValueLen); in setValue()
387 storage->fString->set(*scriptValue.fOperand.fString); in writeValue()
430 …ing* string = untypedStorage ? (SkString*) untypedStorage : (*arrayStorage)[storageOffset].fString; in writeValue()
431 string->set(*scriptValue.fOperand.fString); in writeValue()
DSkAnimatorScript.cpp124 SkDisplayString* boxedValue = new SkDisplayString(*scriptValue->fOperand.fString); in Box()
152 const char* script = scriptValue->fOperand.fString->c_str(); in Eval()
186 value->fOperand.fString = NULL; in EvalID()
254 value->fOperand.fString = new SkString(*displayableString); in EvalMemberCommon()
351 result->set(*(value.fOperand.fString)); in EvaluateString()
361 result->set(*(value.fOperand.fString)); in EvaluateString()
443 value->fOperand.fString = new SkString(key);
473 scriptValue->fOperand.fString = SkNEW_ARGS(SkString, (boxedValue->value)); in Unbox()
479 scriptValue->fOperand.fString = SkNEW_ARGS(SkString, (id)); in Unbox()
593 … SkASSERT(strcmp(value.fOperand.fString->c_str(), scriptTests[index].fStringAnswer) == 0); in UnitTest()
DSkDisplayTypes.cpp153 scriptValue->fOperand.fString = new SkString(&value.c_str()[start], end - start); in executeFunction()
155 scriptValue->fOperand.fString = new SkString(value); in executeFunction()
206 delete values[index].fString; in ~SkDisplayArray()
DSkOperand2.h23 SkString* fString; member
43 SkString* getString() { SkASSERT(fType == SkOperand2::kString); return fOperand.fString; } in getString()
DSkOperand.h38 SkString* fString; member
51 SkString* getString() { SkASSERT(fType == SkType_String); return fOperand.fString; } in getString()
DSkAnimatorScript2.cpp68 SkDisplayString* boxedValue = new SkDisplayString(*operand->fString); in convert()
136 const char* script = op->fString->c_str(); in invoke()
325 operand->fString = SkNEW_ARGS(SkString, (boxedValue->value)); in convert()
331 operand->fString = SkNEW_ARGS(SkString, (id)); in convert()
416 value->fString = new SkString(*displayableString); in evalMemberCommon()
606 SkASSERT(value.fOperand.fString->equals(scriptTests[index].fStringAnswer)); in UnitTest()
DSkDisplayEvent.cpp169 value->fOperand.fString = &fKeyString; in getProperty()
172 value->fOperand.fString->append("-"); in getProperty()
174 value->fOperand.fString->append(scratch, size); in getProperty()
250 SkString* string = value.fOperand.fString; in setProperty()
DSkAnimateBase.cpp61 delete fValues[0].fString; in ~SkAnimateBase()
136 value->fOperand.fString = (SkString*) &to; in getProperty()
203 to = *value.fOperand.fString; in setProperty()
DSkDisplayable.cpp224 SkDebugf("%s", op->fString->c_str()); in dumpAttrs()
395 if (op.fString->size() > 0) in dumpValues()
396 SkDebugf("%s=\"%s\" ", info->fName, op.fString->c_str()); in dumpValues()
DSkDrawPaint.cpp172 … scriptValue->fOperand.fScalar = paint.measureText(parameters[0].fOperand.fString->c_str(), in executeFunction()
173 parameters[0].fOperand.fString->size()); in executeFunction()
DSkAnimateSet.cpp82 fValues[0].fString = SkNEW(SkString); in onEndElement()
DSkDump.cpp84 SkDebugf("%s\" />\n", value.fOperand.fString->c_str()); in evaluate()
/external/chromium/third_party/icu/source/tools/genrb/
Dreslist.c71 udata_write32(mem, res->u.fString.fLength); in string_write()
72 udata_writeUString(mem, res->u.fString.fChars, res->u.fString.fLength + 1); in string_write()
81 udata_write32(mem, res->u.fString.fLength); in alias_write()
82 udata_writeUString(mem, res->u.fString.fChars, res->u.fString.fLength + 1); in alias_write()
540 res->u.fString.fLength = len; in string_open()
541 res->u.fString.fChars = (UChar *) uprv_malloc(sizeof(UChar) * (len + 1)); in string_open()
543 if (res->u.fString.fChars == NULL) { in string_open()
549 uprv_memcpy(res->u.fString.fChars, value, sizeof(UChar) * (len + 1)); in string_open()
573 res->u.fString.fLength = len; in alias_open()
574 res->u.fString.fChars = (UChar *) uprv_malloc(sizeof(UChar) * (len + 1)); in alias_open()
[all …]
Dwrtjava.c310 str_write_java(res->u.fString.fChars,res->u.fString.fLength,TRUE,status); in string_write_java()
314 UChar* buf = (UChar*) uprv_malloc(sizeof(UChar)*res->u.fString.fLength); in string_write_java()
315 uprv_memcpy(buf,res->u.fString.fChars,res->u.fString.fLength); in string_write_java()
/external/chromium/third_party/icu/public/i18n/unicode/
Dfmtable.h354 { result=*fValue.fString; return result; } in getString()
549 UnicodeString* fString; member
574 return *fValue.fString; in getString()
578 return *fValue.fString; in getString()
/external/icu4c/i18n/unicode/
Dfmtable.h374 { result=*fValue.fString; return result; } in getString()
630 UnicodeString* fString; member
658 return *fValue.fString; in getString()
662 return *fValue.fString; in getString()

12