/third_party/node/deps/icu-small/source/i18n/ |
H A D | uspoof_impl.h | 61 SpoofImpl(SpoofData *data, UErrorCode& status); 62 SpoofImpl(UErrorCode& status); 64 void construct(UErrorCode& status); 69 SpoofImpl(const SpoofImpl &src, UErrorCode &status); 72 static SpoofImpl *validateThis(USpoofChecker *sc, UErrorCode &status); 73 static const SpoofImpl *validateThis(const USpoofChecker *sc, UErrorCode &status); 76 void setAllowedLocales(const char *localesList, UErrorCode &status); 77 const char * getAllowedLocales(UErrorCode &status); 81 void addScriptChars(const char *locale, UnicodeSet *allowedChars, UErrorCode &status); 84 static void getAugmentedScriptSet(UChar32 codePoint, ScriptSet& result, UErrorCode& status); [all...] |
H A D | number_modifiers.cpp | 39 void U_CALLCONV initDefaultCurrencySpacing(UErrorCode &status) { in initDefaultCurrencySpacing() argument 41 UNISET_DIGIT = new UnicodeSet(UnicodeString(u"[:digit:]"), status); in initDefaultCurrencySpacing() 42 UNISET_NOTSZ = new UnicodeSet(UnicodeString(u"[[:^S:]&[:^Z:]]"), status); in initDefaultCurrencySpacing() 44 status = U_MEMORY_ALLOCATION_ERROR; in initDefaultCurrencySpacing() 82 UErrorCode &status) const { in apply() 84 int length = output.insert(rightIndex, fSuffix, fField, status); in apply() 85 length += output.insert(leftIndex, fPrefix, fField, status); in apply() 167 UErrorCode &status) const { in apply() 168 return formatAsPrefixSuffix(output, leftIndex, rightIndex, status); in apply() 216 UErrorCode &status) cons in formatAsPrefixSuffix() 239 formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, int32_t index, int32_t* outPrefixLength, int32_t* outSuffixLength, Field field, UErrorCode& status) formatTwoArgPattern() argument 345 CurrencySpacingEnabledModifier(const FormattedStringBuilder &prefix, const FormattedStringBuilder &suffix, bool overwrite, bool strong, const DecimalFormatSymbols &symbols, UErrorCode &status) CurrencySpacingEnabledModifier() argument 415 applyCurrencySpacing(FormattedStringBuilder &output, int32_t prefixStart, int32_t prefixLen, int32_t suffixStart, int32_t suffixLen, const DecimalFormatSymbols &symbols, UErrorCode &status) applyCurrencySpacing() argument 434 applyCurrencySpacingAffix(FormattedStringBuilder &output, int32_t index, EAffix affix, const DecimalFormatSymbols &symbols, UErrorCode &status) applyCurrencySpacingAffix() argument 467 getUnicodeSet(const DecimalFormatSymbols &symbols, EPosition position, EAffix affix, UErrorCode &status) getUnicodeSet() argument 489 getInsertString(const DecimalFormatSymbols &symbols, EAffix affix, UErrorCode &status) getInsertString() argument [all...] |
/third_party/icu/icu4c/source/tools/gencfu/ |
H A D | gencfu.cpp | 137 UErrorCode status = U_ZERO_ERROR; in main() local 172 status = U_ZERO_ERROR; in main() 189 // TODO: have the tool return an error status. Requires fixing the ICU data build in main() 200 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status); in main() 202 udata_finish(pData, &status); in main() 203 return (int)status; in main() 207 u_init(&status); in main() 208 if (U_FAILURE(status)) { in main() 209 fprintf(stderr, "%s: can not initialize ICU. status = %s\n", in main() 210 argv[0], u_errorName(status)); in main() [all...] |
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | formattedval_impl.h | 80 FormattedValueFieldPositionIteratorImpl(int32_t initialFieldCapacity, UErrorCode& status); 86 UnicodeString toString(UErrorCode& status) const U_OVERRIDE; 87 UnicodeString toTempString(UErrorCode& status) const U_OVERRIDE; 88 Appendable& appendTo(Appendable& appendable, UErrorCode& status) const U_OVERRIDE; 89 UBool nextPosition(ConstrainedFieldPosition& cfpos, UErrorCode& status) const U_OVERRIDE; 93 FieldPositionIteratorHandler getHandler(UErrorCode& status); 94 void appendString(UnicodeString string, UErrorCode& status); 107 void addOverlapSpans(UFieldCategory spanCategory, int8_t firstIndex, UErrorCode& status); 158 UnicodeString toString(UErrorCode& status) const U_OVERRIDE; 159 UnicodeString toTempString(UErrorCode& status) cons [all...] |
H A D | number_usageprefs.cpp | 112 MicroProps *micros, UErrorCode status) { in mixedMeasuresToMicros() 117 status = U_MEMORY_ALLOCATION_ERROR; in mixedMeasuresToMicros() 140 if (U_FAILURE(status)) { in mixedMeasuresToMicros() 147 status = U_INTERNAL_PROGRAM_ERROR; in mixedMeasuresToMicros() 155 UErrorCode &status) in UsagePrefsHandler() 156 : fUnitsRouter(inputUnit, StringPiece(locale.getCountry()), usage, status), in UsagePrefsHandler() 161 UErrorCode &status) const { in processQuantity() 162 fParent->processQuantity(quantity, micros, status); in processQuantity() 163 if (U_FAILURE(status)) { in processQuantity() 168 const units::RouteResult routed = fUnitsRouter.route(quantity.toDouble(), µs.rounder, status); in processQuantity() 111 mixedMeasuresToMicros(const MaybeStackVector<Measure> &measures, DecimalQuantity *quantity, MicroProps *micros, UErrorCode status) mixedMeasuresToMicros() argument 151 UsagePrefsHandler(const Locale &locale, const MeasureUnit &inputUnit, const StringPiece usage, const MicroPropsGenerator *parent, UErrorCode &status) UsagePrefsHandler() argument 181 UnitConversionHandler(const MeasureUnit &targetUnit, const MicroPropsGenerator *parent, UErrorCode &status) UnitConversionHandler() argument [all...] |
H A D | number_modifiers.cpp | 39 void U_CALLCONV initDefaultCurrencySpacing(UErrorCode &status) { in initDefaultCurrencySpacing() argument 41 UNISET_DIGIT = new UnicodeSet(UnicodeString(u"[:digit:]"), status); in initDefaultCurrencySpacing() 42 UNISET_NOTSZ = new UnicodeSet(UnicodeString(u"[[:^S:]&[:^Z:]]"), status); in initDefaultCurrencySpacing() 44 status = U_MEMORY_ALLOCATION_ERROR; in initDefaultCurrencySpacing() 73 UErrorCode &status) const { in apply() 75 int length = output.insert(rightIndex, fSuffix, fField, status); in apply() 76 length += output.insert(leftIndex, fPrefix, fField, status); in apply() 158 UErrorCode &status) const { in apply() 159 return formatAsPrefixSuffix(output, leftIndex, rightIndex, status); in apply() 207 UErrorCode &status) cons in formatAsPrefixSuffix() 230 formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, int32_t index, int32_t* outPrefixLength, int32_t* outSuffixLength, Field field, UErrorCode& status) formatTwoArgPattern() argument 336 CurrencySpacingEnabledModifier(const FormattedStringBuilder &prefix, const FormattedStringBuilder &suffix, bool overwrite, bool strong, const DecimalFormatSymbols &symbols, UErrorCode &status) CurrencySpacingEnabledModifier() argument 406 applyCurrencySpacing(FormattedStringBuilder &output, int32_t prefixStart, int32_t prefixLen, int32_t suffixStart, int32_t suffixLen, const DecimalFormatSymbols &symbols, UErrorCode &status) applyCurrencySpacing() argument 425 applyCurrencySpacingAffix(FormattedStringBuilder &output, int32_t index, EAffix affix, const DecimalFormatSymbols &symbols, UErrorCode &status) applyCurrencySpacingAffix() argument 458 getUnicodeSet(const DecimalFormatSymbols &symbols, EPosition position, EAffix affix, UErrorCode &status) getUnicodeSet() argument 480 getInsertString(const DecimalFormatSymbols &symbols, EAffix affix, UErrorCode &status) getInsertString() argument [all...] |
/third_party/skia/third_party/externals/icu/source/tools/gencfu/ |
H A D | gencfu.cpp | 137 UErrorCode status = U_ZERO_ERROR; in main() local 172 status = U_ZERO_ERROR; in main() 189 // TODO: have the tool return an error status. Requires fixing the ICU data build in main() 200 pData = udata_create(outDir, NULL, outFileName, &dummyDataInfo, NULL, &status); in main() 202 udata_finish(pData, &status); in main() 203 return (int)status; in main() 207 u_init(&status); in main() 208 if (U_FAILURE(status)) { in main() 209 fprintf(stderr, "%s: can not initialize ICU. status = %s\n", in main() 210 argv[0], u_errorName(status)); in main() [all...] |
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/ |
H A D | napi_data_utils.cpp | 69 napi_status status = napi_get_value_double(env, in, &tmp); in GetValue() local 71 return status; in GetValue() 99 napi_status status = napi_typeof(env, in, &type); in GetValue() local 100 if (!((status == napi_ok) && (type == napi_string))) { in GetValue() 101 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_JS_NAPI, "napi_typeof failed, type=%{public}d status=%{public}d", in GetValue() 102 static_cast<int32_t>(type), status); in GetValue() 107 status = napi_get_value_string_utf8(env, in, NULL, 0, &maxLen); in GetValue() 109 return status; in GetValue() 114 status = napi_get_value_string_utf8(env, in, buf, maxLen + STR_TAIL_LENGTH, &len); in GetValue() 115 if (status in GetValue() 144 napi_status status = napi_get_array_length(env, in, &length); GetValue() local 171 napi_status status = napi_create_array_with_length(env, in.size(), &out); SetValue() local 199 napi_status status = napi_get_typedarray_info(env, in, &type, &length, &data, &buffer, &offset); GetValue() local 222 napi_status status = napi_create_arraybuffer(env, in.size(), &data, &buffer); SetValue() local 255 napi_status status = napi_create_array_with_length(env, in.size(), &out); SetValue() local 289 napi_status status = napi_create_array_with_length(env, in.size(), &out); SetValue() local 391 napi_status status = napi_ok; GetValue() local 468 napi_status status = napi_typeof(env, value, &type); IsNull() local [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | svccoll.cpp | 42 UErrorCode status = U_ZERO_ERROR; in TestRegister() local 44 Collator* frcol = Collator::createInstance(FR, status); in TestRegister() 45 Collator* uscol = Collator::createInstance(US, status); in TestRegister() 46 if(U_FAILURE(status)) { in TestRegister() 47 errcheckln(status, "Failed to create collators with %s", u_errorName(status)); in TestRegister() 55 URegistryKey key = Collator::registerInstance(frcol, US, status); in TestRegister() 59 Collator* ncol = Collator::createInstance(US_FOO, status); in TestRegister() 67 Locale loc = ncol->getLocale(ULOC_REQUESTED_LOCALE, status); in TestRegister() 68 if (U_SUCCESS(status) in TestRegister() 353 UErrorCode status = U_ZERO_ERROR; TestRegisterFactory() local [all...] |
H A D | ucaconf.cpp | 30 status(U_ZERO_ERROR) in UCAConformanceTest() 32 UCA = (RuleBasedCollator *)Collator::createInstance(Locale::getRoot(), status); in UCAConformanceTest() 33 if(U_FAILURE(status)) { in UCAConformanceTest() 34 dataerrln("Error - UCAConformanceTest: Unable to open UCA collator! - %s", u_errorName(status)); in UCAConformanceTest() 37 const char *srcDir = IntlTest::getSourceTestData(status); in UCAConformanceTest() 38 if (U_FAILURE(status)) { in UCAConformanceTest() 39 dataerrln("Could not open test data %s", u_errorName(status)); in UCAConformanceTest() 79 rbUCA = new RuleBasedCollator(ucarules, status); in initRbUCA() 80 if (U_FAILURE(status)) { in initRbUCA() 81 dataerrln("Failure creating UCA rule-based collator: %s", u_errorName(status)); in initRbUCA() [all...] |
H A D | dtfmttst.cpp | 32 #define ASSERT_OK(status) UPRV_BLOCK_MACRO_BEGIN { \ 33 if(U_FAILURE(status)) { \ 34 errcheckln(status, #status " = %s @ %s:%d", u_errorName(status), __FILE__, __LINE__); \ 250 UErrorCode status = U_ZERO_ERROR; in TestWallyWedel() local 263 SimpleDateFormat *sdf = new SimpleDateFormat((UnicodeString)"zzzz", status); in TestWallyWedel() 268 StringEnumeration* ids = TimeZone::createEnumeration(status); in TestWallyWedel() 269 if (U_FAILURE(status)) { in TestWallyWedel() 276 ids_length = ids->count(status); in TestWallyWedel() 388 UErrorCode status = U_ZERO_ERROR; TestTwoDigitYearDSTParse() local 624 UErrorCode status = U_ZERO_ERROR; TestFieldPosition() local 644 UErrorCode status = U_ZERO_ERROR; TestFieldPosition() local 682 UErrorCode status = U_ZERO_ERROR; TestPartialParse994() local 704 UErrorCode status = U_ZERO_ERROR; tryPat994() local 745 UErrorCode status = U_ZERO_ERROR; TestRunTogetherPattern985() local 777 UErrorCode status = U_ZERO_ERROR; TestRunTogetherPattern917() local 801 UErrorCode status = U_ZERO_ERROR; testIt917() local 830 UErrorCode status = U_ZERO_ERROR; TestCzechMonths459() local 872 UErrorCode status = U_ZERO_ERROR; TestLetterDPattern212() local 909 UErrorCode status = U_ZERO_ERROR; TestDayOfYearPattern195() local 930 UErrorCode status = U_ZERO_ERROR; tryPattern() local 958 UErrorCode status = U_ZERO_ERROR; TestQuotePattern161() local 982 UErrorCode status = U_ZERO_ERROR; TestBadInput135() local 1099 UErrorCode status = U_ZERO_ERROR; TestBadInput135a() local 1195 UErrorCode status = U_ZERO_ERROR; parse2DigitYear() local 1217 UErrorCode status = U_ZERO_ERROR; TestDateFormatZone061() local 1267 UErrorCode status = U_ZERO_ERROR; TestDateFormatZone146() local 2240 UErrorCode status = U_ZERO_ERROR; TestGenericTime() local 2347 UErrorCode status = U_ZERO_ERROR; TestZTimeZoneParsing() local 2407 UErrorCode status = U_ZERO_ERROR; TestRelative() local 2448 c->setTime(Calendar::getNow(), status); TestRelative() local 2515 UErrorCode status = U_ZERO_ERROR; TestRelativeClone() local 2545 UErrorCode status = U_ZERO_ERROR; TestHostClone() local 2574 UErrorCode status = U_ZERO_ERROR; TestHebrewClone() local 2608 UErrorCode status = U_ZERO_ERROR; getActualAndValidLocales() local 3423 UErrorCode status = U_ZERO_ERROR; TestTimeZoneDisplayName() local 3488 UErrorCode status = U_ZERO_ERROR; TestTimeZoneInLocale() local 3537 UErrorCode status = U_ZERO_ERROR; TestRoundtripWithCalendar() local 3681 UErrorCode status = U_ZERO_ERROR; Test6338() local 3854 UErrorCode status = U_ZERO_ERROR; Test6880() local 3945 UErrorCode status = U_ZERO_ERROR; TestNumberAsStringParsing() local 3986 UErrorCode status = U_ZERO_ERROR; TestISOEra() local 4021 UErrorCode status = U_ZERO_ERROR; TestFormalChineseDate() local 4056 UErrorCode status = U_ZERO_ERROR; TestStandAloneGMTParse() local 4093 UErrorCode status = U_ZERO_ERROR; TestParsePosition() local 4094 SimpleDateFormat sdf(UnicodeString(TestData[i][0]), status); TestParsePosition() local 4196 UErrorCode status = U_ZERO_ERROR; TestMonthPatterns() local 4285 UErrorCode status = U_ZERO_ERROR; TestContext() local 4390 UErrorCode status = U_ZERO_ERROR; TestNonGregoFmtParse() local 4466 UErrorCode status = U_ZERO_ERROR; TestFormatsWithNumberSystems() local 4594 UErrorCode status = U_ZERO_ERROR; TestDateFormatLeniency() local 4693 UErrorCode status = U_ZERO_ERROR; TestParseMultiPatternMatch() local 4743 UErrorCode status = U_ZERO_ERROR; TestParseLeniencyAPIs() local 4795 UErrorCode status = U_ZERO_ERROR; TestNumberFormatOverride() local 4876 UErrorCode status = U_ZERO_ERROR; TestCreateInstanceForSkeleton() local 4897 UErrorCode status = U_ZERO_ERROR; TestCreateInstanceForSkeletonDefault() local 4899 Locale::setDefault(Locale::getUS(), status); TestCreateInstanceForSkeletonDefault() local 4913 UErrorCode status = U_ZERO_ERROR; TestCreateInstanceForSkeletonWithCalendar() local 4942 UErrorCode status = U_ZERO_ERROR; TestDFSCreateForLocaleNonGregorianLocale() local 4960 UErrorCode status = U_ZERO_ERROR; TestDFSCreateForLocaleWithCalendarInLocale() local 4979 UErrorCode status = U_ZERO_ERROR; TestChangeCalendar() local 5041 UErrorCode status = U_ZERO_ERROR; TestPatternFromSkeleton() local 5667 UErrorCode status = U_ZERO_ERROR; TestAdoptCalendarLeak() local [all...] |
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/ |
H A D | json_test.cc | 20 #include "status.h" 36 Status status; in TEST() local 37 std::unique_ptr<ParserHandler> writer = NewJSONEncoder(&out, &status); in TEST() 54 Status status; in TEST() local 55 std::unique_ptr<ParserHandler> writer = NewJSONEncoder(&out, &status); in TEST() 91 Status status; in TEST() local 92 std::unique_ptr<ParserHandler> writer = NewJSONEncoder(&out, &status); in TEST() 104 Status status; in TEST() local 105 std::unique_ptr<ParserHandler> writer = NewJSONEncoder(&out, &status); in TEST() 115 Status status; in TEST() local 124 Status status; TEST() local 136 Status status; TEST() local 147 Status status; TEST() local 172 Status status; TEST() local 217 Status status; TEST() local 241 Status status; TEST() local 261 Status status; TEST() local 269 Status status; TEST() local 277 Status status; TEST() local 285 Status status; TEST() local 298 Status status; TEST() local 310 Status status; TEST() local 366 Status status() const { return status_; } status() function in v8_crdtp::json::Log 720 Status status = ConvertJSONToCBOR(SpanFrom(json), &cbor); TYPED_TEST() local 725 Status status = ConvertCBORToJSON(SpanFrom(cbor), &roundtrip_json); TYPED_TEST() local 739 Status status = TYPED_TEST() local 745 Status status = ConvertCBORToJSON(SpanFrom(cbor), &roundtrip_json); TYPED_TEST() local [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/zip/napi/common/ |
H A D | napi_async_work_promise.cpp | 46 static void PromiseOnComplete(napi_env env, napi_status status, void *data) in PromiseOnComplete() argument 58 status = napi_resolve_deferred(env, ctx->deferred_, ctx->res_.val_); in PromiseOnComplete() 59 if (status != napi_ok) { in PromiseOnComplete() 60 APP_LOGE("Internal BUG, cannot resolve promise for %{public}d", status); in PromiseOnComplete() 63 status = napi_reject_deferred(env, ctx->deferred_, ctx->res_.val_); in PromiseOnComplete() 64 if (status != napi_ok) { in PromiseOnComplete() 65 APP_LOGE("Internal BUG, cannot reject promise for %{public}d", status); in PromiseOnComplete() 80 napi_status status = napi_create_promise(env_, &ctx_->deferred_, &result); in Schedule() local 81 if (status != napi_ok) { in Schedule() 82 APP_LOGE("INNER BUG. Cannot create promise for %{public}d", status); in Schedule() [all...] |
/foundation/multimedia/media_foundation/test/unittest/ |
H A D | TestVideoFFmpegEncoder.cpp | 42 auto status = videoFfmpegEncoderPlugin->Init(); in HWTEST_F() local 43 EXPECT_EQ(Status::ERROR_UNSUPPORTED_FORMAT, status); in HWTEST_F() 48 auto status = videoFfmpegEncoderPlugin->Prepare(); in HWTEST_F() local 49 EXPECT_EQ(Status::ERROR_WRONG_STATE, status); in HWTEST_F() 54 auto status = videoFfmpegEncoderPlugin->Reset(); in HWTEST_F() local 55 EXPECT_EQ(Status::OK, status); in HWTEST_F() 60 auto status = videoFfmpegEncoderPlugin->Start(); in HWTEST_F() local 61 EXPECT_EQ(Status::ERROR_WRONG_STATE, status); in HWTEST_F() 68 auto status = videoFfmpegEncoderPlugin->GetParameter(tag, value); in HWTEST_F() local 69 EXPECT_EQ(Status::ERROR_WRONG_STATE, status); in HWTEST_F() 78 auto status = videoFfmpegEncoderPlugin->Deinit(); HWTEST_F() local [all...] |
H A D | TestFFmpegUtils.cpp | 54 bool status = aacAudioConfigParser.ParseConfigs(); in HWTEST() local 55 EXPECT_EQ(true, status); in HWTEST() 64 bool status = aacAudioConfigParser.ParseConfigs(); in HWTEST() local 65 EXPECT_EQ(false, status); in HWTEST() 72 bool status = aacAudioConfigParser.ParseConfigs(); in HWTEST() local 73 EXPECT_EQ(false, status); in HWTEST() 80 bool status = aacAudioConfigParser.ParseConfigs(); in HWTEST() local 81 EXPECT_EQ(false, status); in HWTEST() 88 bool status = aacAudioConfigParser.ParseConfigs(); in HWTEST() local 89 EXPECT_EQ(false, status); in HWTEST() 96 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 104 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 112 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 120 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 128 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 136 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 144 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 152 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 160 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 168 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 176 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local 184 bool status = aacAudioConfigParser.ParseConfigs(); HWTEST() local [all...] |
/third_party/libabigail/include/ |
H A D | abg-fe-iface.h | 36 /// The status of the @ref fe_iface::read_corpus call. 37 enum status enum in abigail::fe_iface 39 /// The status is in an unknown state 42 /// This status is for when the call went OK. 45 /// This status is for when the debug info could not be read. 48 /// This status is for when the alternate debug info could not be 52 /// This status is for when the symbols of the ELF binaries could 147 read_corpus(status& status) = 0; 153 status_to_diagnostic_string(fe_iface::status [all...] |
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/webgl/common/napi/ |
H A D | n_val.cpp | 104 napi_status status = napi_is_array(env_, val_, &res); in IsArray() local 105 return make_tuple(status == napi_ok, res); in IsArray() 120 napi_status status = napi_get_value_string_utf8(env_, val_, nullptr, -1, &strLen); in ToUTF8String() local 121 if (status != napi_ok) { in ToUTF8String() 127 status = napi_get_value_string_utf8(env_, val_, str.get(), bufLen, &strLen); in ToUTF8String() 128 return make_tuple(status == napi_ok, move(str), strLen); in ToUTF8String() 135 napi_status status = napi_get_value_string_utf16(env_, val_, nullptr, -1, &strLen); in ToUTF16String() local 136 if (status != napi_ok) { in ToUTF16String() 141 status = napi_get_value_string_utf16(env_, val_, str.get(), strLen, nullptr); in ToUTF16String() 142 if (status ! in ToUTF16String() 158 napi_status status = napi_get_value_external(env_, val_, &res); ToPointer() local 165 napi_status status = napi_is_typedarray(env_, val_, &res); IsTypeArray() local 172 napi_status status = napi_is_dataview(env_, val_, &res); IsDataView() local 182 napi_status status = napi_get_value_bool(env_, val_, &flag); ToBool() local 189 napi_status status = napi_get_value_double(env_, val_, &res); ToDouble() local 204 napi_status status = napi_get_value_double(env_, val_, &res); ToFloat() local 214 napi_status status = napi_get_value_int32(env_, val_, &res); ToInt32() local 224 napi_status status = napi_get_value_uint32(env_, val_, &res); ToUint32() local 234 napi_status status = napi_get_value_int64(env_, val_, &res); ToInt64() local 244 napi_status status = napi_get_value_int64(env_, val_, &res); ToGLsizei() local 256 napi_status status = napi_get_value_int64(env_, val_, &res); ToGLenum() local 264 bool status = napi_get_arraybuffer_info(env_, val_, &buf, &bufLen); ToArraybuffer() local 275 napi_status status = napi_get_typedarray_info(env_, val_, &type, &length, (void **) &data, &in_array_buffer, ToTypedArray() local 286 bool status = napi_get_dataview_info(env_, val_, &bufLen, &buf, &arraybuffer, &byteoff); ToDataview() local 297 napi_status status = ToTypedArrayInfo() local 310 napi_status status = napi_has_named_property(env_, val_, propName.c_str(), &res); HasProp() local 320 napi_status status = napi_get_named_property(env_, val_, propName.c_str(), &prop); GetProp() local 332 napi_status status = napi_define_properties(env_, val_, propVec.size(), propVec.data()); AddProp() local 345 napi_status status = napi_set_named_property(env_, val_, propName.c_str(), val); AddProp() local [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | number_modifiers.cpp | 39 void U_CALLCONV initDefaultCurrencySpacing(UErrorCode &status) { in initDefaultCurrencySpacing() argument 41 UNISET_DIGIT = new UnicodeSet(UnicodeString(u"[:digit:]"), status); in initDefaultCurrencySpacing() 42 UNISET_NOTSZ = new UnicodeSet(UnicodeString(u"[[:^S:]&[:^Z:]]"), status); in initDefaultCurrencySpacing() 44 status = U_MEMORY_ALLOCATION_ERROR; in initDefaultCurrencySpacing() 73 UErrorCode &status) const { in apply() 75 int length = output.insert(rightIndex, fSuffix, fField, status); in apply() 76 length += output.insert(leftIndex, fPrefix, fField, status); in apply() 158 UErrorCode &status) const { in apply() 159 return formatAsPrefixSuffix(output, leftIndex, rightIndex, status); in apply() 207 UErrorCode &status) cons in formatAsPrefixSuffix() 230 formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, int32_t index, int32_t* outPrefixLength, int32_t* outSuffixLength, Field field, UErrorCode& status) formatTwoArgPattern() argument 336 CurrencySpacingEnabledModifier(const FormattedStringBuilder &prefix, const FormattedStringBuilder &suffix, bool overwrite, bool strong, const DecimalFormatSymbols &symbols, UErrorCode &status) CurrencySpacingEnabledModifier() argument 406 applyCurrencySpacing(FormattedStringBuilder &output, int32_t prefixStart, int32_t prefixLen, int32_t suffixStart, int32_t suffixLen, const DecimalFormatSymbols &symbols, UErrorCode &status) applyCurrencySpacing() argument 425 applyCurrencySpacingAffix(FormattedStringBuilder &output, int32_t index, EAffix affix, const DecimalFormatSymbols &symbols, UErrorCode &status) applyCurrencySpacingAffix() argument 458 getUnicodeSet(const DecimalFormatSymbols &symbols, EPosition position, EAffix affix, UErrorCode &status) getUnicodeSet() argument 480 getInsertString(const DecimalFormatSymbols &symbols, EAffix affix, UErrorCode &status) getInsertString() argument [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares_sysconfig_files.c | 119 ares_status_t status; in parse_sort() local 142 status = ares__buf_tag_fetch_string(buf, ipaddr, sizeof(ipaddr)); in parse_sort() 143 if (status != ARES_SUCCESS) { in parse_sort() 144 return status; in parse_sort() 171 status = ares__buf_tag_fetch_string(buf, maskstr, sizeof(maskstr)); in parse_sort() 172 if (status != ARES_SUCCESS) { in parse_sort() 173 return status; in parse_sort() 222 ares_status_t status = ARES_SUCCESS; in ares__parse_sortlist() local 238 status = ARES_ENOMEM; in ares__parse_sortlist() 243 status in ares__parse_sortlist() 516 ares_status_t status; ares__init_by_environment() local 551 ares_status_t status = ARES_SUCCESS; ares__init_sysconfig_files() local [all...] |
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/ |
H A D | photo_napi.cpp | 41 napi_status status; in PhotoNapiConstructor() local 46 CAMERA_NAPI_GET_JS_OBJ_WITH_ZERO_ARGS(env, info, status, thisVar); in PhotoNapiConstructor() 48 if (status == napi_ok && thisVar != nullptr) { in PhotoNapiConstructor() 53 status = napi_wrap(env, thisVar, reinterpret_cast<void*>(obj.get()), in PhotoNapiConstructor() 55 if (status == napi_ok) { in PhotoNapiConstructor() 78 napi_status status; in Init() local 89 status = napi_define_class(env, PHOTO_NAPI_CLASS_NAME, NAPI_AUTO_LENGTH, in Init() 93 if (status == napi_ok) { in Init() 95 status = napi_set_named_property(env, exports, PHOTO_NAPI_CLASS_NAME, ctorObj); in Init() 96 if (status in Init() 109 napi_status status; CreatePhoto() local 133 napi_status status; GetMain() local 158 napi_status status; CreateRawPhoto() local 182 napi_status status; GetRaw() local 206 napi_status status; Release() local [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | smart_album_napi.cpp | 56 napi_status status; in Init() local 78 status = napi_define_class(env, SMART_ALBUM_NAPI_CLASS_NAME.c_str(), NAPI_AUTO_LENGTH, in Init() 82 if (status == napi_ok) { in Init() 83 status = napi_create_reference(env, ctorObj, refCount, &sConstructor_); in Init() 84 if (status == napi_ok) { in Init() 85 status = napi_set_named_property(env, exports, SMART_ALBUM_NAPI_CLASS_NAME.c_str(), ctorObj); in Init() 86 if (status == napi_ok) { in Init() 91 NAPI_DEBUG_LOG("SmartAlbumNapi::Init nullptr, status: %{public}d", status); in Init() 127 napi_status status; in SmartAlbumNapiConstructor() local 232 napi_status status; JSGetSmartAlbumId() local 260 napi_status status; JSGetSmartAlbumName() local 287 napi_status status; JSSmartAlbumNameSetter() local 318 napi_status status; JSGetSmartAlbumTag() local 346 napi_status status; JSGetSmartAlbumCapacity() local 374 napi_status status; JSGetSmartAlbumCategoryId() local 402 napi_status status; JSGetSmartAlbumCategoryName() local 430 napi_status status; JSGetSmartAlbumCoverUri() local 471 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&obj)); JSSmartAlbumCoverUriSetter() local 491 napi_status status; JSGetSmartAlbumUri() local 515 napi_status status; JSGetSmartAlbumDateModified() local 542 napi_status status; JSGetSmartAlbumType() local 568 napi_status status; JSGetSmartAlbumDescription() local 606 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&obj)); JSSmartAlbumDescriptionSetter() local 626 napi_status status; JSGetSmartAlbumExpiredTime() local 658 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&obj)); JSSmartAlbumExpiredTimeSetter() local 759 JSCommitModifyCompleteCallback(napi_env env, napi_status status, SmartAlbumNapiAsyncContext *context) JSCommitModifyCompleteCallback() argument 782 JSAddAssetCompleteCallback(napi_env env, napi_status status, SmartAlbumNapiAsyncContext *context) JSAddAssetCompleteCallback() argument 805 JSRemoveAssetCompleteCallback(napi_env env, napi_status status, SmartAlbumNapiAsyncContext *context) JSRemoveAssetCompleteCallback() argument 917 napi_status status; JSAddFileAssets() local 958 napi_status status; JSRemoveFileAssets() local 1000 napi_status status; JSCommitModify() local 1184 JSGetFileAssetsCompleteCallback(napi_env env, napi_status status, void *data) JSGetFileAssetsCompleteCallback() argument 1230 napi_status status; JSGetSmartAlbumFileAssets() local 1296 JSRecoverAssetCompleteCallback(napi_env env, napi_status status, void *data) JSRecoverAssetCompleteCallback() argument 1357 JSDeleteAssetCompleteCallback(napi_env env, napi_status status, void *data) JSDeleteAssetCompleteCallback() argument [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/ |
H A D | distributeddb_interfaces_relational_test.cpp | 207 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); in NoramlCreateDistributedTableTest() local 208 EXPECT_EQ(status, OK); in NoramlCreateDistributedTableTest() 211 status = delegate->CreateDistributedTable("sync_data", tableSyncType); in NoramlCreateDistributedTableTest() 212 EXPECT_EQ(status, OK); in NoramlCreateDistributedTableTest() 215 status = delegate->CreateDistributedTable("sync_data", tableSyncType); in NoramlCreateDistributedTableTest() 216 EXPECT_EQ(status, OK); in NoramlCreateDistributedTableTest() 218 status = g_mgr.CloseStore(delegate); in NoramlCreateDistributedTableTest() 219 EXPECT_EQ(status, OK); in NoramlCreateDistributedTableTest() 235 status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); in NoramlCreateDistributedTableTest() 236 EXPECT_EQ(status, O in NoramlCreateDistributedTableTest() 292 DBStatus status = g_mgr.OpenStore(g_dbDir + "tmp/" + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local 344 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local 371 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); CreateDistributedTableOverLimitTest() local 431 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); CreateDistributedTableInvalidArgsTest() local 513 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); CreateDistributedTableNonPrimaryKeyTest() local 572 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); CreateDistributedTableInvalidFieldTest() local 614 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); CreateDistributedTableCompositePKTest() local 657 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); CreateDistributedTableWithHistoryDataTest() local 714 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); TableModifyTest() local 847 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); UpgradeDistributedTableTest() local 1064 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); TableConstraintsTest() local 1131 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local 1238 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local 1298 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); TestRemoveDeviceDataWithCallback() local 1391 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local 1433 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, HWTEST_F() local 1488 DBStatus status = OK; HWTEST_F() local 1518 DBStatus status = OK; HWTEST_F() local 1577 DBStatus status = g_mgr.CloseStore(delegate); HWTEST_F() local 1592 DBStatus status = delegate->Sync(devices, SyncMode::SYNC_MODE_PUSH_ONLY, query, ProcessSync() local 1645 DBStatus status = OK; HWTEST_F() local 1731 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local 1773 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local 1851 DBStatus status = g_mgr.OpenStore(g_dbDir + STORE_ID + DB_SUFFIX, STORE_ID, {}, delegate); HWTEST_F() local [all...] |
/third_party/node/src/ |
H A D | node_i18n.cc | 140 UErrorCode* status); 147 UErrorCode* status) { in Transcode() 148 *status = U_ZERO_ERROR; in Transcode() 163 nullptr, nullptr, true, true, status); in Transcode() 164 if (U_SUCCESS(*status)) { in Transcode() 176 UErrorCode* status) { in TranscodeToUcs2() 177 *status = U_ZERO_ERROR; in TranscodeToUcs2() 183 source, source_length, status); in TranscodeToUcs2() 184 if (U_SUCCESS(*status)) in TranscodeToUcs2() 194 UErrorCode* status) { in TranscodeFromUcs2() 142 Transcode(Environment* env, const char* fromEncoding, const char* toEncoding, const char* source, const size_t source_length, UErrorCode* status) Transcode() argument 171 TranscodeToUcs2(Environment* env, const char* fromEncoding, const char* toEncoding, const char* source, const size_t source_length, UErrorCode* status) TranscodeToUcs2() argument 189 TranscodeFromUcs2(Environment* env, const char* fromEncoding, const char* toEncoding, const char* source, const size_t source_length, UErrorCode* status) TranscodeFromUcs2() argument 216 TranscodeUcs2FromUtf8(Environment* env, const char* fromEncoding, const char* toEncoding, const char* source, const size_t source_length, UErrorCode* status) TranscodeUcs2FromUtf8() argument 244 TranscodeUtf8FromUcs2(Environment* env, const char* fromEncoding, const char* toEncoding, const char* source, const size_t source_length, UErrorCode* status) TranscodeUtf8FromUcs2() argument 298 UErrorCode status = U_ZERO_ERROR; Transcode() local 349 UErrorCode status = static_cast<UErrorCode>(args[0].As<Int32>()->Value()); ICUErrorName() local 358 UErrorCode status = U_ZERO_ERROR; Converter() local 372 UErrorCode status = U_ZERO_ERROR; set_subst_chars() local 399 UErrorCode status = U_ZERO_ERROR; Has() local 417 UErrorCode status = U_ZERO_ERROR; Create() local 458 UErrorCode status = U_ZERO_ERROR; Decode() local 574 UErrorCode status = U_ZERO_ERROR; InitializeICUDirectory() local 591 UErrorCode status = U_ZERO_ERROR; SetDefaultTimeZone() local 602 UErrorCode status = U_ZERO_ERROR; ToUnicode() local 646 UErrorCode status = U_ZERO_ERROR; ToASCII() local [all...] |
/third_party/selinux/libsepol/cil/test/unit/ |
H A D | test_integration.c | 41 int status = 0, status1 = 0, status2 = 0; in test_integration() local 43 status = system("./secilc -M -c 24 test/integration.cil &> /dev/null"); in test_integration() 45 if (WIFSIGNALED(status) && (WTERMSIG(status) == SIGINT || WTERMSIG(status) == SIGQUIT)) in test_integration() 58 CuAssertIntEquals(tc, 1, WIFEXITED(status)); in test_integration() 59 CuAssertIntEquals(tc, 0, WEXITSTATUS(status)); in test_integration() 67 int status = 0; in test_min_policy() local 69 status = system("./secilc -M -c 24 test/policy.cil &> /dev/null"); in test_min_policy() 71 if (WIFSIGNALED(status) in test_min_policy() [all...] |
/foundation/filemanagement/app_file_service/interfaces/kits/js/file_share/ |
H A D | fileshare_n_exporter.cpp | 54 napi_status status = napi_get_cb_info(env, info, &argc, args, &res, &data); in InitPolicyConstructor() local 55 if (status != napi_ok) { in InitPolicyConstructor() 56 HILOGE("InitPolicyConstructor, status is not napi_ok"); in InitPolicyConstructor() 72 napi_status status = napi_create_object(env, &obj); in InitOperationMode() local 73 if (status != napi_ok) { in InitOperationMode() 77 status = napi_define_properties(env, obj, sizeof(desc) / sizeof(desc[0]), desc); in InitOperationMode() 78 if (status != napi_ok) { in InitOperationMode() 82 status = napi_set_named_property(env, exports, propertyName, obj); in InitOperationMode() 83 if (status != napi_ok) { in InitOperationMode() 102 napi_status status in InitPolicyErrorCode() local 129 napi_status status = napi_define_class(env, className, NAPI_AUTO_LENGTH, InitPolicyConstructor, nullptr, InitPolicyErrorResult() local 152 napi_status status = napi_define_class(env, className, NAPI_AUTO_LENGTH, InitPolicyConstructor, nullptr, InitPolicyInfo() local [all...] |