/foundation/graphic/graphic_surface/utils/hebc_white_list/ |
H A D | hebc_white_list.cpp | 30 bool HebcWhiteList::Check(const std::string& name) noexcept 36 return (std::find(hebcList_.begin(), hebcList_.end(), name) != hebcList_.end()); 49 void HebcWhiteList::GetApplicationName(std::string& name) noexcept 55 std::getline(procfile, name); 57 name = name.substr(0, name.find('\0')); 72 std::string name = appNameJson[i].asString(); variable 73 hebcList_.emplace_back(name);
|
/foundation/resourceschedule/memmgr/common/src/config/ |
H A D | kill_config.cpp | 74 std::string name = std::string(reinterpret_cast<const char *>(currNodePtr->name)); in ParseKillLevelNode() local 75 if (name.compare("comment") == 0) { in ParseKillLevelNode() 76 HILOGD("%{public}s comment skip :<%{public}s>", __func__, name.c_str()); in ParseKillLevelNode() 79 if (name.compare("killLevel") != 0) { in ParseKillLevelNode() 80 HILOGW("%{public}s unknown node :<%{public}s>", __func__, name.c_str()); in ParseKillLevelNode() 89 HILOGE("node:<%{public}s> <%{public}u, %{public}d> read fail", name.c_str(), memoryMB, minPriority); in ParseKillLevelNode() 93 HILOGE("<%{public}s> %{public}u MB to KB > UINT_MAX", name.c_str(), memoryMB); in ParseKillLevelNode() 99 name.c_str(), memoryKB, minPriority, killLevelsMap_.size()); in ParseKillLevelNode()
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/include/cloud_disk/ |
H A D | file_operations_cloud.h | 25 void Lookup(fuse_req_t req, fuse_ino_t parent, const char *name) override; 29 void MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode) override; 30 void RmDir(fuse_req_t req, fuse_ino_t parent, const char *name) override; 31 void Unlink(fuse_req_t req, fuse_ino_t parent, const char *name) override; 33 void MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, 35 void Create(fuse_req_t req, fuse_ino_t parent, const char *name, 39 void SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 41 void GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 43 void Rename(fuse_req_t req, fuse_ino_t parent, const char *name,
|
H A D | file_operations_base.h | 30 virtual void Lookup(fuse_req_t req, fuse_ino_t parent, const char *name); 36 virtual void MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode); 37 virtual void RmDir(fuse_req_t req, fuse_ino_t parent, const char *name); 38 virtual void Unlink(fuse_req_t req, fuse_ino_t parent, const char *name); 40 virtual void MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, 42 virtual void Create(fuse_req_t req, fuse_ino_t parent, const char *name, 46 virtual void SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 48 virtual void GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 50 virtual void Rename(fuse_req_t req, fuse_ino_t parent, const char *name,
|
H A D | fuse_operations.h | 25 static void Lookup(fuse_req_t req, fuse_ino_t parent, const char *name); 31 static void MkDir(fuse_req_t req, fuse_ino_t parent, const char *name, mode_t mode); 32 static void RmDir(fuse_req_t req, fuse_ino_t parent, const char *name); 33 static void Unlink(fuse_req_t req, fuse_ino_t parent, const char *name); 35 static void MkNod(fuse_req_t req, fuse_ino_t parent, const char *name, 37 static void Create(fuse_req_t req, fuse_ino_t parent, const char *name, 41 static void SetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 43 static void GetXattr(fuse_req_t req, fuse_ino_t ino, const char *name, 45 static void Rename(fuse_req_t req, fuse_ino_t parent, const char *name,
|
/third_party/alsa-lib/src/control/ |
H A D | cards.c | 138 * - The control device name (like /dev/snd/controlC0) 161 /* We got a device name */ in snd_card_get_index() 183 * \brief Obtain the card name. 186 * \param name Result - card name corresponding to card index. 189 * The value returned in name is allocated with strdup and should be 192 int snd_card_get_name(int card, char **name) in snd_card_get_name() argument 198 if (name == NULL) in snd_card_get_name() 207 *name = strdup((const char *)info.name); in snd_card_get_name() 222 snd_card_get_longname(int card, char **name) snd_card_get_longname() argument [all...] |
/third_party/cJSON/tests/ |
H A D | readme_examples.c | 32 \t\"name\":\t\"Awesome 4K\",\n\ 53 cJSON *name = NULL; in create_monitor() local 66 name = cJSON_CreateString("Awesome 4K"); in create_monitor() 67 if (name == NULL) in create_monitor() 73 cJSON_AddItemToObject(monitor, "name", name); in create_monitor() 130 if (cJSON_AddStringToObject(monitor, "name", "Awesome 4K") == NULL) in create_monitor_with_helpers() 173 const cJSON *name = NULL; in supports_full_hd() local 187 name = cJSON_GetObjectItemCaseSensitive(monitor_json, "name"); in supports_full_hd() [all...] |
/third_party/jerryscript/jerry-ext/handler/ |
H A D | handler-register.c | 28 jerryx_handler_register_global (const jerry_char_t *name_p, /**< name of the function */ in jerryx_handler_register_global() 47 * The properties are an array of (name, property value) pairs and 52 * - The property name must be a zero terminated UTF-8 string. 53 * - There should be no '\0' (NULL) character in the name excluding the string terminator. 72 for (; (entries[idx].name != NULL); idx++) in jerryx_set_properties() 76 jerry_value_t prop_name = jerry_create_string_from_utf8 ((const jerry_char_t *) entry->name); in jerryx_set_properties() 113 for (uint32_t idx = register_result.registered; entries[idx].name != NULL; idx++) in jerryx_release_property_entry() 120 * Set a property to a specified value with a given name. 124 * - The property name must be a zero terminated UTF-8 string. 125 * - There should be no '\0' (NULL) character in the name excludin 132 jerryx_set_property_str(const jerry_value_t target_object, const char *name, const jerry_value_t value) jerryx_set_property_str() argument 156 jerryx_get_property_str(const jerry_value_t target_object, const char *name) jerryx_get_property_str() argument 178 jerryx_has_property_str(const jerry_value_t target_object, const char *name) jerryx_has_property_str() argument [all...] |
/third_party/node/lib/internal/crypto/ |
H A D | mac.js | 45 const { hash, name } = algorithm; 49 length = getBlockSize(hash.name); 63 { name: 'OperationError', cause: err }); 68 { name, length, hash: { name: hash.name } }, 141 if (keyData.alg !== getAlgorithmName(algorithm.hash.name)) 160 name: 'HMAC', 173 normalizeHashName(key.algorithm.hash.name),
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/ |
H A D | utils.py | 17 An invalid distribution name; users should refer to the packaging user guide. 43 def canonicalize_name(name: str, *, validate: bool = False) -> NormalizedName: 44 if validate and not _validate_regex.match(name): 45 raise InvalidName(f"name is invalid: {name!r}") 47 value = _canonicalize_regex.sub("-", name).lower() 51 def is_normalized_name(name: str) -> bool: 52 return _normalized_regex.match(name) is not None 120 # See PEP 427 for the rules on escaping the project name. 122 raise InvalidWheelFilename(f"Invalid project name [all...] |
/third_party/mesa3d/src/panfrost/lib/ |
H A D | pan_pool.h | 94 #define PAN_DESC_ARRAY(count, name) \ 96 .size = pan_size(name), \ 97 .align = pan_alignment(name), \ 101 #define PAN_DESC(name) PAN_DESC_ARRAY(1, name) 124 #define pan_pool_alloc_desc(pool, name) \ 125 pan_pool_alloc_descs(pool, PAN_DESC_AGGREGATE(PAN_DESC(name))) 127 #define pan_pool_alloc_desc_array(pool, count, name) \ 128 pan_pool_alloc_descs(pool, PAN_DESC_AGGREGATE(PAN_DESC_ARRAY(count, name)))
|
/third_party/node/deps/openssl/openssl/crypto/ffc/ |
H A D | ffc_dh.c | 32 # define RFC5114(name, uid, sz, tag) { \ 33 name, uid, \ 44 # define RFC5114(name, uid, sz, tag) { name, uid } 49 const char *name; member 90 const DH_NAMED_GROUP *ossl_ffc_name_to_dh_named_group(const char *name) in ossl_ffc_name_to_dh_named_group() argument 95 if (OPENSSL_strcasecmp(dh_named_groups[i].name, name) == 0) in ossl_ffc_name_to_dh_named_group() 142 return group->name; in ossl_ffc_named_group_get_name()
|
/third_party/python/Tools/scripts/ |
H A D | abitype.py | 44 # name 45 name = tokens[pos][1] 54 raise Exception('%s has no PyVarObject_HEAD_INIT' % name) 81 return name, fields 134 def make_slots(name, fields): 136 res.append('static PyType_Slot %s_slots[] = {' % name) 148 res.append('static PyType_Spec %s_spec = {' % name) 153 res.append(' %s_slots,' % name) 197 name, fields = get_fields(start, end) 198 tokens[start:end] = [('',make_slots(name, field [all...] |
H A D | pep384_macrocheck.py | 9 When the macro name does not begin with an underscore, 32 name = os.path.join(startpath, search) 33 if not os.path.exists(name): 38 with open(name) as python_h: 48 name = os.path.join(startpath, include) 49 if not os.path.exists(name): 50 name = os.path.join(startpath, "../PC", include) 51 errors += parse_file(name) 122 name = re.match(define_pattern, line).group(1) 123 if not name [all...] |
/third_party/python/Lib/ |
H A D | opcode.py | 38 def def_op(name, op): 39 opname[op] = name 40 opmap[name] = op 42 def name_op(name, op): 43 def_op(name, op) 46 def jrel_op(name, op): 47 def_op(name, op) 50 def jabs_op(name, op): 51 def_op(name, op) 108 name_op('STORE_NAME', 90) # Index in name lis [all...] |
/third_party/openssl/crypto/ffc/ |
H A D | ffc_dh.c | 32 # define RFC5114(name, uid, sz, tag) { \ 33 name, uid, \ 44 # define RFC5114(name, uid, sz, tag) { name, uid } 49 const char *name; member 90 const DH_NAMED_GROUP *ossl_ffc_name_to_dh_named_group(const char *name) in ossl_ffc_name_to_dh_named_group() argument 95 if (OPENSSL_strcasecmp(dh_named_groups[i].name, name) == 0) in ossl_ffc_name_to_dh_named_group() 142 return group->name; in ossl_ffc_named_group_get_name()
|
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/opentype/ |
H A D | FeatureTag.java | 163 private FeatureTag(String name) { in FeatureTag() argument 164 this.tag = Tag.intValue(name()); in FeatureTag() 165 this.name = name; in FeatureTag() 168 private FeatureTag(String tagName, String name) { in FeatureTag() argument 170 this.name = name; in FeatureTag() 191 return name; in longName() 195 private final String name; field in FeatureTag
|
/third_party/skia/src/utils/win/ |
H A D | SkDWrite.cpp | 61 HRESULT sk_cstring_to_wchar(const char* skname, SkSMallocWCHAR* name) { in sk_cstring_to_wchar() argument 67 name->reset(wlen); in sk_cstring_to_wchar() 68 wlen = MultiByteToWideChar(CP_UTF8, 0, skname, -1, name->get(), wlen); in sk_cstring_to_wchar() 76 HRESULT sk_wchar_to_skstring(WCHAR* name, int nameLen, SkString* skname) { in sk_wchar_to_skstring() argument 77 int len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, nullptr, 0, nullptr, nullptr); in sk_wchar_to_skstring() 88 len = WideCharToMultiByte(CP_UTF8, 0, name, nameLen, skname->writable_str(), len, nullptr, nullptr); in sk_wchar_to_skstring() 111 HRM(names->GetStringLength(nameIndex, &nameLen), "Could not get name length."); in sk_get_locale_string() 113 SkSMallocWCHAR name(nameLen + 1); in sk_get_locale_string() 114 HRM(names->GetString(nameIndex, name.get(), nameLen + 1), "Could not get string."); in sk_get_locale_string() 116 HR(sk_wchar_to_skstring(name in sk_get_locale_string() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | mappedTypeGenericIndexedAccess.js | 17 addEntry<T extends keyof Types>(name: T, entry: Types[T]) { 18 if (!this.entries[name]) { 19 this.entries[name] = []; 21 this.entries[name]?.push(entry); 55 Test.prototype.addEntry = function (name, entry) {
57 if (!this.entries[name]) {
58 this.entries[name] = [];
60 (_a = this.entries[name]) === null || _a === void 0 ? void 0 : _a.push(entry);
88 addEntry<T extends keyof Types>(name: T, entry: Types[T]): void;
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | time_zone_test.cc | 36 EXPECT_EQ(a.name(), b.name()); in TEST() 41 EXPECT_EQ(implicit_utc.name(), explicit_utc.name()); in TEST() 56 EXPECT_EQ("UTC", absl::TimeZone().name()); in TEST() 57 EXPECT_EQ("UTC", absl::UTCTimeZone().name()); in TEST() 74 EXPECT_EQ("America/New_York", nyc.name()); in TEST() 76 EXPECT_EQ("Australia/Sydney", syd.name()); in TEST() 78 EXPECT_EQ("Fixed/UTC+03:25:45", fixed.name()); in TEST()
|
/third_party/skia/third_party/externals/angle2/include/platform/ |
H A D | Feature.h | 116 Feature(const char *name, 123 // The name of the workaround, lowercase, camel_case 124 const char *const name; member 144 inline Feature::Feature(const char *name, in Feature() argument 149 : name(name), in Feature() 158 (*mapPtr)[std::string(name)] = this; in Feature() 181 for (const std::string &name : featureNames) in overrideFeatures() 183 if (members.find(name) != members.end()) in overrideFeatures() 185 members[name] in overrideFeatures() [all...] |
/third_party/skia/infra/bots/recipe_modules/run/ |
H A D | api.py | 29 ', '.join([f.name for f in self._failed])) 42 name = kwargs.pop('name', 'read %s' % self.m.path.basename(filename)) 43 return self.m.file.read_text(name, filename, *args, **kwargs) 69 def __call__(self, steptype, name, abort_on_failure=True, 74 return steptype(name=name, **kwargs) 81 def with_retry(self, steptype, name, attempts, between_attempts_fn=None, 84 step_name = name 88 res = self(steptype, name [all...] |
/third_party/skia/include/sksl/ |
H A D | DSLFunction.h | 30 DSLFunction(const DSLType& returnType, skstd::string_view name, Parameters&... parameters) in DSLFunction() argument 31 : DSLFunction(DSLModifiers(), returnType, name, parameters...) {} in DSLFunction() 34 DSLFunction(const DSLModifiers& modifiers, const DSLType& returnType, skstd::string_view name, in DSLFunction() argument 45 this->init(modifiers, returnType, name, std::move(parameterArray), PositionInfo()); in DSLFunction() 48 DSLFunction(const DSLType& returnType, skstd::string_view name, in DSLFunction() argument 50 this->init(DSLModifiers(), returnType, name, std::move(parameters), pos); in DSLFunction() local 53 DSLFunction(const DSLModifiers& modifiers, const DSLType& returnType, skstd::string_view name, in DSLFunction() argument 55 this->init(modifiers, returnType, name, std::move(parameters), pos); in DSLFunction() 105 void init(DSLModifiers modifiers, const DSLType& returnType, skstd::string_view name,
|
/third_party/vk-gl-cts/modules/gles2/ |
H A D | tes2CapabilityTests.cpp | 47 GetIntCase (Context& context, const char* name, const char* description, GLenum param) in GetIntCase() argument 48 : tcu::TestCase (context.getTestContext(), tcu::NODETYPE_CAPABILITY, name, description) in GetIntCase() 80 const char* name; in init() member 98 addChild(new GetIntCase(m_context, getIntCases[ndx].name, getIntCases[ndx].description, getIntCases[ndx].param)); in init() 105 ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName); 114 ExtensionCase::ExtensionCase (tcu::TestContext& testCtx, const glu::ContextInfo& ctxInfo, const char* name, const char* desc, const char* extName) in ExtensionCase() argument 115 : tcu::TestCase (testCtx, tcu::NODETYPE_CAPABILITY, name, desc) in ExtensionCase() 144 ExtGroup (TestCaseGroup* parent, const char* name, const char* desc) in init() 148 group = new tcu::TestCaseGroup(parent->getTestContext(), name, desc); in init()
|
/third_party/zlib/contrib/puff/ |
H A D | pufftest.c | 54 /* Read the input file *name, or stdin if name is NULL, into allocated memory. 60 local void *load(const char *name, size_t *len) in load() argument 70 in = name == NULL ? stdin : fopen(name, "rb"); in load() 92 char *arg, *name = NULL; in main() local 111 else if (name != NULL) { in main() 112 fprintf(stderr, "only one file name allowed\n"); in main() 116 name = arg; in main() 117 source = load(name, in main() [all...] |