| /base/print/print_fwk/services/print_service/src/ |
| H A D | print_cups_client.cpp | 784 int PrintCupsClient::FillBorderlessOptions(JobParameters *jobParams, int num_options, cups_option_t **options) in FillBorderlessOptions() argument 835 int PrintCupsClient::FillJobOptions(JobParameters *jobParams, int num_options, cups_option_t **options) in FillJobOptions() argument 1071 VerifyPrintJob(JobParameters *jobParams, int &num_options, uint32_t &jobId, cups_option_t *options, http_t *http) VerifyPrintJob() argument 1160 cups_option_t *options = nullptr; StartCupsJob() local [all...] |
| /base/startup/appspawn/modules/sandbox/ |
| H A D | sandbox_utils.cpp | 654 char options[OPTIONS_MAX_LEN]; in DoDlpAppMountStrategy() local 741 std::string options in GetSandboxOptions() local 258 DoAppSandboxMountOnce(const char *originPath, const char *destinationPath, const char *fsType, unsigned long mountFlags, const char *options, mode_t mountSharedFlag) DoAppSandboxMountOnce() argument [all...] |
| /base/telephony/core_service/services/core/src/ |
| H A D | core_service_stub.cpp | 1219 LockInfo options; in OnSetLockState() local
|
| /base/telephony/core_service/test/unittest/core_service_gtest/ |
| H A D | zero_branch_test.cpp | 1109 LockInfo options; in HWTEST_F() local
|
| /base/telephony/core_service/frameworks/native/src/ |
| H A D | core_service_proxy.cpp | 1749 int32_t CoreServiceProxy::SetLockState(const int32_t slotId, const LockInfo &options, LockStatusResponse &response) in SetLockState() argument
|
| /base/web/webview/ohos_interface/ohos_glue/ohos_nweb/bridge/webcore/ |
| H A D | ark_web_nweb_impl.cpp | 908 std::shared_ptr<OHOS::NWeb::CacheOptions> options = std::make_shared<ArkWebCacheOptionsWrapper>(cacheOptions); in PrecompileJavaScript() local 909 nweb_nweb_->PrecompileJavaScript(ArkWebStringStructToClass(url), ArkWebStringStructToClass(script), options, in PrecompileJavaScript() local
|
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| H A D | dhd_linux_pktdump.c | 1000 uint8 options[BOOTP_MIN_DHCP_OPT_LEN]; member
|
| /third_party/ffmpeg/libavcodec/ |
| H A D | exr.c | 2300 static const AVOption options[] = { variable
|
| H A D | aacdec_template.c | 3563 static const AVOption options[] = { variable
|
| /third_party/elfutils/src/ |
| H A D | elflint.c | 59 static const struct argp_option options[] = variable
|
| /third_party/ffmpeg/libavfilter/ |
| H A D | vsrc_testsrc.c | 113 static const AVOption options[] = { variable
|
| /third_party/ffmpeg/libavformat/ |
| H A D | dashenc.c | 476 static void set_http_options(AVDictionary **options, DASHContext *c) in set_http_options() argument 226 dashenc_io_open(AVFormatContext *s, AVIOContext **pb, char *filename, AVDictionary **options) dashenc_io_open() argument 2362 static const AVOption options[] = { global() variable [all...] |
| H A D | http.c | 146 static const AVOption options[] = { variable 200 static int http_open_cnx_internal(URLContext *h, AVDictionary **options) in http_open_cnx_internal() argument 352 static int http_open_cnx(URLContext *h, AVDictionary **options) in http_open_cnx() argument 459 AVDictionary *options = NULL; in ff_http_do_new_request2() local 649 http_listen(URLContext *h, const char *uri, int flags, AVDictionary **options) http_listen() argument 681 http_open(URLContext *h, const char *uri, int flags, AVDictionary **options) http_open() argument 1905 AVDictionary *options = NULL; http_seek_internal() local [all...] |
| H A D | hls.c | 2020 AVDictionary *options = NULL; in hls_read_header() local 621 open_url_keepalive(AVFormatContext *s, AVIOContext **pb, const char *url, AVDictionary **options) open_url_keepalive() argument
|
| /third_party/curl/lib/vtls/ |
| H A D | sectransp.c | 1222 CFDictionaryRef options = CFDictionaryCreate(NULL, cKeys, cValues, in CopyIdentityFromPKCS12File() local
|
| /third_party/cups-filters/cupsfilters/ |
| H A D | ppdgenerator.c | 87 cups_option_t *options; /* Options to apply */ member 616 find_opt_in_array(cups_array_t *options, char *name) in find_opt_in_array() argument 640 add_opt_to_array(char *name, char *human_readable, cups_array_t *options) in add_opt_to_array() argument 671 add_choice_to_array(char *name, char *human_readable, char *opt_name, cups_array_t *options) add_choice_to_array() argument 702 lookup_option(char *name, cups_array_t *options, cups_array_t *printer_options) lookup_option() argument 720 lookup_choice(char *name, char *opt_name, cups_array_t *options, cups_array_t *printer_options) lookup_choice() argument 741 load_opt_strings_catalog(const char *location, cups_array_t *options) load_opt_strings_catalog() argument [all...] |
| /third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| H A D | DateTimePatternGenerator.java | 638 public String getBestPattern(String skeleton, int options) { in getBestPattern() argument 645 private String getBestPattern(String skeleton, DateTimeMatcher skipMatcher, int options) { in getBestPattern() argument 1011 replaceFieldTypes(String pattern, String skeleton, int options) replaceFieldTypes() argument 2099 getBestAppending(DateTimeMatcher source, int missingFields, DistanceInfo distInfo, DateTimeMatcher skipMatcher, EnumSet<DTPGflags> flags, int options) getBestAppending() argument 2220 adjustFieldTypes(PatternWithMatcher patternWithMatcher, DateTimeMatcher inputRequest, EnumSet<DTPGflags> flags, int options) adjustFieldTypes() argument [all...] |
| /third_party/icu/icu4c/source/i18n/ |
| H A D | dtptngen.cpp | 1001 U_ASSERT(i < 20); if (i < 10) { valueStr += (UChar)(i+0x30); } else { valueStr += (UChar)0x31; valueStr += (UChar)(i-10 + 0x30); } valueStr.getTerminatedBuffer(); } for (int32_t j = 1; j < UDATPG_WIDTH_COUNT; j++) { UnicodeString& valueStr2 = dtpg.getMutableFieldDisplayName((UDateTimePatternField)i, (UDateTimePGDisplayWidth)j); if (valueStr2.isEmpty()) { valueStr2 = dtpg.getFieldDisplayName((UDateTimePatternField)i, (UDateTimePGDisplayWidth)(j-1)); } } } } }; struct DateTimePatternGenerator::AvailableFormatsSink : public ResourceSink { DateTimePatternGenerator& dtpg; UnicodeString conflictingPattern; AvailableFormatsSink(DateTimePatternGenerator& _dtpg) : dtpg(_dtpg) {} virtual ~AvailableFormatsSink(); virtual void put(const char *key, ResourceValue &value, UBool isRoot, UErrorCode &errorCode) override { const UnicodeString formatKey(key, -1, US_INV); if (!dtpg.isAvailableFormatSet(formatKey) ) { dtpg.setAvailableFormat(formatKey, errorCode); const UnicodeString& formatValue = value.getUnicodeString(errorCode); conflictingPattern.remove(); dtpg.addPatternWithSkeleton(formatValue, &formatKey, !isRoot, conflictingPattern, errorCode); } } }; DateTimePatternGenerator::AppendItemFormatsSink::~AppendItemFormatsSink() {} DateTimePatternGenerator::AppendItemNamesSink::~AppendItemNamesSink() {} DateTimePatternGenerator::AvailableFormatsSink::~AvailableFormatsSink() {} void DateTimePatternGenerator::addCLDRData(const Locale& locale, UErrorCode& errorCode) { if (U_FAILURE(errorCode)) { return; } UnicodeString rbPattern, value, field; CharString path; LocalUResourceBundlePointer rb(ures_open(nullptr, locale.getName(), &errorCode)); if (U_FAILURE(errorCode)) { return; } CharString calendarTypeToUse; getCalendarTypeToUse(locale, calendarTypeToUse, errorCode); if (U_FAILURE(errorCode)) { return; } UErrorCode err = U_ZERO_ERROR; AppendItemFormatsSink appendItemFormatsSink(*this); path.clear() .append(DT_DateTimeCalendarTag, errorCode) .append(�, errorCode) .append(calendarTypeToUse, errorCode) .append(�, errorCode) .append(DT_DateTimeAppendItemsTag, errorCode); if (U_FAILURE(errorCode)) { return; } ures_getAllChildrenWithFallback(rb.getAlias(), path.data(), appendItemFormatsSink, err); appendItemFormatsSink.fillInMissing(); err = U_ZERO_ERROR; AppendItemNamesSink appendItemNamesSink(*this); ures_getAllChildrenWithFallback(rb.getAlias(), DT_DateTimeFieldsTag, appendItemNamesSink, err); appendItemNamesSink.fillInMissing(); err = U_ZERO_ERROR; initHashtable(errorCode); if (U_FAILURE(errorCode)) { return; } AvailableFormatsSink availableFormatsSink(*this); path.clear() .append(DT_DateTimeCalendarTag, errorCode) .append(�, errorCode) .append(calendarTypeToUse, errorCode) .append(�, errorCode) .append(DT_DateTimeAvailableFormatsTag, errorCode); if (U_FAILURE(errorCode)) { return; } ures_getAllChildrenWithFallback(rb.getAlias(), path.data(), availableFormatsSink, err); } void DateTimePatternGenerator::initHashtable(UErrorCode& err) { if (U_FAILURE(err)) { return; } if (fAvailableFormatKeyHash!=nullptr) { return; } LocalPointer<Hashtable> hash(new Hashtable(false, err), err); if (U_SUCCESS(err)) { fAvailableFormatKeyHash = hash.orphan(); } } void DateTimePatternGenerator::setAppendItemFormat(UDateTimePatternField field, const UnicodeString& value) { appendItemFormats[field] = value; appendItemFormats[field].getTerminatedBuffer(); } const UnicodeString& DateTimePatternGenerator::getAppendItemFormat(UDateTimePatternField field) const { return appendItemFormats[field]; } void DateTimePatternGenerator::setAppendItemName(UDateTimePatternField field, const UnicodeString& value) { setFieldDisplayName(field, UDATPG_WIDTH_APPENDITEM, value); } const UnicodeString& DateTimePatternGenerator::getAppendItemName(UDateTimePatternField field) const { return fieldDisplayNames[field][UDATPG_WIDTH_APPENDITEM]; } void DateTimePatternGenerator::setFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width, const UnicodeString& value) { fieldDisplayNames[field][width] = value; fieldDisplayNames[field][width].getTerminatedBuffer(); } UnicodeString DateTimePatternGenerator::getFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width) const { return fieldDisplayNames[field][width]; } UnicodeString& DateTimePatternGenerator::getMutableFieldDisplayName(UDateTimePatternField field, UDateTimePGDisplayWidth width) { return fieldDisplayNames[field][width]; } void DateTimePatternGenerator::getAppendName(UDateTimePatternField field, UnicodeString& value) { value = SINGLE_QUOTE; value += fieldDisplayNames[field][UDATPG_WIDTH_APPENDITEM]; value += SINGLE_QUOTE; } UnicodeString DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UErrorCode& status) { return getBestPattern(patternForm, UDATPG_MATCH_NO_OPTIONS, status); } UnicodeString DateTimePatternGenerator::getBestPattern(const UnicodeString& patternForm, UDateTimePatternMatchOptions options, UErrorCode& status) { if (U_FAILURE(status)) { return UnicodeString(); } if (U_FAILURE(internalErrorCode)) { status = internalErrorCode; return UnicodeString(); } const UnicodeString *bestPattern = nullptr; UnicodeString dtFormat; UnicodeString resultPattern; int32_t flags = kDTPGNoFlags; int32_t dateMask=(1<<UDATPG_DAYPERIOD_FIELD) - 1; int32_t timeMask=(1<<UDATPG_FIELD_COUNT) - 1 - dateMask; UnicodeString patternFormMapped = mapSkeletonMetacharacters(patternForm, &flags, status); if (U_FAILURE(status)) { return UnicodeString(); } resultPattern.remove(); dtMatcher->set(patternFormMapped, fp); const PtnSkeleton* specifiedSkeleton = nullptr; bestPattern=getBestRaw(*dtMatcher, -1, distanceInfo, status, &specifiedSkeleton); if (U_FAILURE(status)) { return UnicodeString(); } if ( distanceInfo->missingFieldMask==0 && distanceInfo->extraFieldMask==0 ) { resultPattern = adjustFieldTypes(*bestPattern, specifiedSkeleton, flags, options); return resultPattern; } int32_t neededFields = dtMatcher->getFieldMask(); UnicodeString datePattern=getBestAppending(neededFields & dateMask, flags, status, options); UnicodeString timePattern=getBestAppending(neededFields & timeMask, flags, status, options); if (U_FAILURE(status)) { return UnicodeString(); } if (datePattern.length()==0) { if (timePattern.length()==0) { resultPattern.remove(); } else { return timePattern; } } if (timePattern.length()==0) { return datePattern; } resultPattern.remove(); status = U_ZERO_ERROR; PtnSkeleton* reqSkeleton = dtMatcher->getSkeletonPtr(); UDateFormatStyle style = UDAT_SHORT; int32_t monthFieldLen = reqSkeleton->baseOriginal.getFieldLength(UDATPG_MONTH_FIELD); if (monthFieldLen == 4) { if (reqSkeleton->baseOriginal.getFieldLength(UDATPG_WEEKDAY_FIELD) > 0) fillInMissing() argument 1327 replaceFieldTypes(const UnicodeString& pattern, const UnicodeString& skeleton, UDateTimePatternMatchOptions options, UErrorCode& status) replaceFieldTypes() argument 1665 adjustFieldTypes(const UnicodeString& pattern, const PtnSkeleton* specifiedSkeleton, int32_t flags, UDateTimePatternMatchOptions options) adjustFieldTypes() argument 1787 getBestAppending(int32_t missingFields, int32_t flags, UErrorCode &status, UDateTimePatternMatchOptions options) getBestAppending() argument [all...] |
| /third_party/libwebsockets/lib/core/ |
| H A D | private-lib-core.h | 680 uint64_t options; member
|
| /third_party/mesa3d/src/amd/common/ |
| H A D | ac_surface.c | 191 ac_is_modifier_supported(const struct radeon_info *info, const struct ac_modifier_options *options, enum pipe_format format, uint64_t modifier) ac_is_modifier_supported() argument 249 ac_get_supported_modifiers(const struct radeon_info *info, const struct ac_modifier_options *options, enum pipe_format format, unsigned *mod_count, uint64_t *mods) ac_get_supported_modifiers() argument
|
| /third_party/mbedtls/programs/ssl/ |
| H A D | ssl_client2.c | 465 struct options { struct [all...] |
| /third_party/lzma/CPP/7zip/Archive/7z/ |
| H A D | 7zUpdate.cpp | 1804 Update( DECL_EXTERNAL_CODECS_LOC_VARS IInStream *inStream, const CDbEx *db, CObjectVector<CUpdateItem> &updateItems, ISequentialOutStream *seqOutStream, IArchiveUpdateCallback *updateCallback, const CUpdateOptions &options) Update() argument [all...] |
| /third_party/mesa3d/src/compiler/spirv/ |
| H A D | vtn_private.h | 674 struct spirv_to_nir_options *options; member
|
| /third_party/mesa3d/src/freedreno/decode/ |
| H A D | cffdec.c | 54 static const struct cffdec_options *options; variable 2647 } options; global() member [all...] |
| /third_party/mesa3d/src/compiler/nir/ |
| H A D | nir_serialize.c | 2215 const struct nir_shader_compiler_options *options = shader->options; in nir_shader_serialize_deserialize() local 2155 nir_deserialize(void *mem_ctx, const struct nir_shader_compiler_options *options, struct blob_reader *blob) nir_deserialize() argument
|