/third_party/skia/third_party/externals/freetype/src/otvalid/ |
H A D | otvcommn.h | 45 FT_Validator root; member 70 ft_validator_error( otvalid->root, FT_THROW( _error ) ) 92 if ( p + (_count) > otvalid->root->limit ) \ 100 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \ 123 if ( otvalid->root->level == FT_VALIDATE_PARANOID ) \
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfwoff.c | 92 /* Replace `face->root.stream' with a stream containing the extracted */ 140 FT_ASSERT( stream == face->root.stream ); in FT_LOCAL_DEF() 401 face->root.stream, in FT_LOCAL_DEF() 402 ( face->root.face_flags & FT_FACE_FLAG_EXTERNAL_STREAM ) != 0 ); in FT_LOCAL_DEF() 404 face->root.stream = sfnt_stream; in FT_LOCAL_DEF() 406 face->root.face_flags &= ~FT_FACE_FLAG_EXTERNAL_STREAM; in FT_LOCAL_DEF()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ip6_fib.c | 470 w->root = &tb->tb6_root; in fib6_table_dump() 579 w->root = &table->tb6_root; in fib6_dump_table() 591 cb->args[5] = READ_ONCE(w->root->fn_sernum); in fib6_dump_table() 594 int sernum = READ_ONCE(w->root->fn_sernum); in fib6_dump_table() 596 /* Begin at the root if the tree changed */ in fib6_dump_table() 599 w->node = w->root; in fib6_dump_table() 741 struct fib6_node *root, in fib6_add_1() 757 fn = root; in fib6_add_1() 790 /* remove null_entry in the root node */ in fib6_add_1() 1377 int fib6_add(struct fib6_node *root, struc argument 739 fib6_add_1(struct net *net, struct fib6_table *table, struct fib6_node *root, struct in6_addr *addr, int plen, int offset, int allow_create, int replace_required, struct netlink_ext_ack *extack) fib6_add_1() argument 1547 fib6_node_lookup_1(struct fib6_node *root, struct lookup_args *args) fib6_node_lookup_1() argument 1616 fib6_node_lookup(struct fib6_node *root, const struct in6_addr *daddr, const struct in6_addr *saddr) fib6_node_lookup() argument 1656 fib6_locate_1(struct fib6_node *root, const struct in6_addr *addr, int plen, int offset, bool exact_match) fib6_locate_1() argument 1706 fib6_locate(struct fib6_node *root, const struct in6_addr *daddr, int dst_len, const struct in6_addr *saddr, int src_len, bool exact_match) fib6_locate() argument 2222 fib6_clean_tree(struct net *net, struct fib6_node *root, int (*func)(struct fib6_info *, void *arg), int sernum, void *arg, bool skip_notify) fib6_clean_tree() argument [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ip6_fib.c | 471 w->root = &tb->tb6_root; in fib6_table_dump() 580 w->root = &table->tb6_root; in fib6_dump_table() 592 cb->args[5] = READ_ONCE(w->root->fn_sernum); in fib6_dump_table() 595 int sernum = READ_ONCE(w->root->fn_sernum); in fib6_dump_table() 597 /* Begin at the root if the tree changed */ in fib6_dump_table() 600 w->node = w->root; in fib6_dump_table() 742 struct fib6_node *root, in fib6_add_1() 758 fn = root; in fib6_add_1() 791 /* remove null_entry in the root node */ in fib6_add_1() 1374 int fib6_add(struct fib6_node *root, struc argument 740 fib6_add_1(struct net *net, struct fib6_table *table, struct fib6_node *root, struct in6_addr *addr, int plen, int offset, int allow_create, int replace_required, struct netlink_ext_ack *extack) fib6_add_1() argument 1544 fib6_node_lookup_1(struct fib6_node *root, struct lookup_args *args) fib6_node_lookup_1() argument 1613 fib6_node_lookup(struct fib6_node *root, const struct in6_addr *daddr, const struct in6_addr *saddr) fib6_node_lookup() argument 1653 fib6_locate_1(struct fib6_node *root, const struct in6_addr *addr, int plen, int offset, bool exact_match) fib6_locate_1() argument 1703 fib6_locate(struct fib6_node *root, const struct in6_addr *daddr, int dst_len, const struct in6_addr *saddr, int src_len, bool exact_match) fib6_locate() argument 2219 fib6_clean_tree(struct net *net, struct fib6_node *root, int (*func)(struct fib6_info *, void *arg), int sernum, void *arg, bool skip_notify) fib6_clean_tree() argument [all...] |
/third_party/skia/third_party/externals/freetype/src/autofit/ |
H A D | aflatin.c | 63 af_style_names[metrics->root.style_class->style] )); in af_latin_metrics_init_widths() 77 AF_Scaler scaler = &dummy->root.scaler; in af_latin_metrics_init_widths() 79 AF_StyleClass style_class = metrics->root.style_class; in af_latin_metrics_init_widths() 129 p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); in af_latin_metrics_init_widths() 134 glyph_index = af_shaper_get_elem( &metrics->root, in af_latin_metrics_init_widths() 328 AF_StyleClass sc = metrics->root.style_class; in af_latin_metrics_init_blues() 448 p = af_shaper_get_cluster( p, &metrics->root, shaper_buf, &num_idx ); in af_latin_metrics_init_blues() 470 glyph_index = af_shaper_get_elem( &metrics->root, in af_latin_metrics_init_blues() 1043 AF_FaceGlobals globals = metrics->root.globals; in af_latin_metrics_init_blues() 1101 p = af_shaper_get_cluster( p, &metrics->root, shaper_bu in af_latin_metrics_check_digits() [all...] |
/kernel/linux/linux-5.10/security/apparmor/ |
H A D | apparmorfs.c | 53 * policy symlink in the root of the securityfs apparmor/ directory. 1128 * several root files and 2060 * @root: root namespace to stop search at (NOT NULL) 2063 * Find the next namespace from @ns under @root and handle all locking needed 2066 * Returns: next namespace or NULL if at last namespace under @root 2068 * NOTE: will not unlock root->lock 2070 static struct aa_ns *__next_ns(struct aa_ns *root, struct aa_ns *ns) in __next_ns() argument 2074 AA_BUG(!root); in __next_ns() 2076 AA_BUG(ns != root in __next_ns() 2109 __first_profile(struct aa_ns *root, struct aa_ns *ns) __first_profile() argument 2171 next_profile(struct aa_ns *root, struct aa_profile *profile) next_profile() argument 2194 struct aa_ns *root = aa_get_current_ns(); p_start() local 2238 struct aa_ns *root = f->private, *ns; p_stop() local 2258 struct aa_ns *root = f->private; seq_show_profile() local [all...] |
/kernel/linux/linux-6.6/fs/smb/client/ |
H A D | cifsfs.c | 285 cifs_dbg(VFS, "%s: get root inode failed\n", __func__); in cifs_read_super() 297 if (cifs_sb->root) { in cifs_kill_sb() 300 /* finally release root dentry */ in cifs_kill_sb() 301 dput(cifs_sb->root); in cifs_kill_sb() 302 cifs_sb->root = NULL; in cifs_kill_sb() 518 static int cifs_show_devname(struct seq_file *m, struct dentry *root) in cifs_show_devname() argument 520 struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb); in cifs_show_devname() 540 cifs_show_options(struct seq_file *s, struct dentry *root) in cifs_show_options() argument 542 struct cifs_sb_info *cifs_sb = CIFS_SB(root->d_sb); in cifs_show_options() 657 if (root in cifs_show_options() 786 cifs_show_stats(struct seq_file *s, struct dentry *root) cifs_show_stats() argument 898 struct dentry *root; cifs_smb3_do_mount() local [all...] |
/kernel/linux/linux-6.6/security/apparmor/ |
H A D | apparmorfs.c | 54 * policy symlink in the root of the securityfs apparmor/ directory. 1132 * several root files and 2078 * @root: root namespace to stop search at (NOT NULL) 2081 * Find the next namespace from @ns under @root and handle all locking needed 2084 * Returns: next namespace or NULL if at last namespace under @root 2086 * NOTE: will not unlock root->lock 2088 static struct aa_ns *__next_ns(struct aa_ns *root, struct aa_ns *ns) in __next_ns() argument 2092 AA_BUG(!root); in __next_ns() 2094 AA_BUG(ns != root in __next_ns() 2127 __first_profile(struct aa_ns *root, struct aa_ns *ns) __first_profile() argument 2189 next_profile(struct aa_ns *root, struct aa_profile *profile) next_profile() argument 2212 struct aa_ns *root = aa_get_current_ns(); p_start() local 2256 struct aa_ns *root = f->private, *ns; p_stop() local 2276 struct aa_ns *root = f->private; seq_show_profile() local [all...] |
/third_party/exfatprogs/fsck/ |
H A D | fsck.c | 259 "ERROR: the cluster chain of root is cyclic")) in root_check_clus_chain() 267 exfat_err("ERROR: failed to read the fat entry of root"); in root_check_clus_chain() 274 "ERROR: the cluster chain of root is broken")) { in root_check_clus_chain() 292 exfat_err("ERROR: the start cluster of root is wrong\n"); in root_check_clus_chain() 971 retval = exfat_lookup_dentry_set(exfat, exfat->root, &filter); in read_bitmap() 1048 retval = exfat_lookup_dentry_set(exfat, exfat->root, &filter); in read_upcase_table() 1172 if (dir == exfat->root) in read_children() 1256 if (!exfat->root) { in exfat_filesystem_check() 1257 exfat_err("root is NULL\n"); in exfat_filesystem_check() 1261 list_add(&exfat->root in exfat_filesystem_check() 1294 struct exfat_inode *root; exfat_root_dir_check() local [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | cnormtst.c | 137 void addNormTest(TestNode** root); 139 void addNormTest(TestNode** root) in addNormTest() argument 141 addTest(root, &TestAPI, "tsnorm/cnormtst/TestAPI"); in addNormTest() 142 addTest(root, &TestDecomp, "tsnorm/cnormtst/TestDecomp"); in addNormTest() 143 addTest(root, &TestCompatDecomp, "tsnorm/cnormtst/TestCompatDecomp"); in addNormTest() 144 addTest(root, &TestCanonDecompCompose, "tsnorm/cnormtst/TestCanonDecompCompose"); in addNormTest() 145 addTest(root, &TestCompatDecompCompose, "tsnorm/cnormtst/TestCompatDecompCompose"); in addNormTest() 146 addTest(root, &TestFCD, "tsnorm/cnormtst/TestFCD"); in addNormTest() 147 addTest(root, &TestNull, "tsnorm/cnormtst/TestNull"); in addNormTest() 148 addTest(root, in addNormTest() [all...] |
H A D | cdtrgtst.c | 35 void addDateForRgrTest(TestNode** root); 37 void addDateForRgrTest(TestNode** root) in addDateForRgrTest() argument 39 addTest(root, &Test4029195, "tsformat/cdtrgtst/Test4029195"); in addDateForRgrTest() 40 addTest(root, &Test4056591, "tsformat/cdtrgtst/Test4056591"); in addDateForRgrTest() 41 addTest(root, &Test4059917, "tsformat/cdtrgtst/Test4059917"); in addDateForRgrTest() 42 addTest(root, &Test4060212, "tsformat/cdtrgtst/Test4060212"); in addDateForRgrTest() 43 addTest(root, &Test4061287, "tsformat/cdtrgtst/Test4061287"); in addDateForRgrTest() 44 addTest(root, &Test4073003, "tsformat/cdtrgtst/Test4073003"); in addDateForRgrTest() 45 addTest(root, &Test4162071, "tsformat/cdtrgtst/Test4162071"); in addDateForRgrTest() 46 addTest(root, in addDateForRgrTest() [all...] |
H A D | callcoll.c | 201 void addAllCollTest(TestNode** root) in addAllCollTest() argument 203 addTest(root, &TestPrimary, "tscoll/callcoll/TestPrimary"); in addAllCollTest() 204 addTest(root, &TestSecondary, "tscoll/callcoll/TestSecondary"); in addAllCollTest() 205 addTest(root, &TestTertiary, "tscoll/callcoll/TestTertiary"); in addAllCollTest() 206 addTest(root, &TestIdentical, "tscoll/callcoll/TestIdentical"); in addAllCollTest() 207 addTest(root, &TestExtra, "tscoll/callcoll/TestExtra"); in addAllCollTest() 208 addTest(root, &TestJB581, "tscoll/callcoll/TestJB581"); in addAllCollTest() 209 addTest(root, &TestVariableTop, "tscoll/callcoll/TestVariableTop"); in addAllCollTest() 210 addTest(root, &TestSurrogates, "tscoll/callcoll/TestSurrogates"); in addAllCollTest() 211 addTest(root, in addAllCollTest() [all...] |
/third_party/python/Lib/idlelib/ |
H A D | editor.py | 74 def __init__(self, flist=None, filename=None, key=None, root=None): 118 root = root or flist.root 119 self.root = root 120 self.menubar = Menu(root) 121 self.top = top = window.ListedToplevel(root, menu=self.menubar) 227 text['font'] = idleConf.GetFont(self.root, 'main', 'EditorWindow') 638 if self.root [all...] |
/base/notification/common_event_service/services/src/ |
H A D | inner_common_event_manager.cpp | 87 bool InnerCommonEventManager::GetJsonFromFile(const char *path, nlohmann::json &root) in GetJsonFromFile() argument 94 root = nlohmann::json::parse(file, nullptr, false); in GetJsonFromFile() 96 if (root.is_discarded() || !root.is_structured()) { in GetJsonFromFile() 100 if (root.is_null() || root.empty() || !root.is_object()) { in GetJsonFromFile() 101 EVENT_LOGE("GetJsonFromFile fail as invalid root."); in GetJsonFromFile() 171 nlohmann::json root; in getCcmPublishControl() local 174 if (!GetConfigJson(JsonPoint, root)) { in getCcmPublishControl() [all...] |
/base/startup/appspawn/modules/sandbox/ |
H A D | sandbox_load.c | 543 static int ParseNameGroupsConfig(AppSpawnSandboxCfg *sandbox, const cJSON *root) in ParseNameGroupsConfig() argument 545 APPSPAWN_CHECK(root != NULL, return APPSPAWN_SANDBOX_INVALID, "Invalid config "); in ParseNameGroupsConfig() 546 cJSON *configs = cJSON_GetObjectItemCaseSensitive(root, "name-groups"); in ParseNameGroupsConfig() 592 static int ParseGlobalSandboxConfig(AppSpawnSandboxCfg *sandbox, const cJSON *root) in ParseGlobalSandboxConfig() argument 594 cJSON *json = cJSON_GetObjectItemCaseSensitive(root, "global"); in ParseGlobalSandboxConfig() 597 char *rootPath = GetStringFromJsonObj(json, "sandbox-root"); in ParseGlobalSandboxConfig() 598 APPSPAWN_CHECK(rootPath != NULL, return APPSPAWN_SYSTEM_ERROR, "No root path in config"); in ParseGlobalSandboxConfig() 603 APPSPAWN_CHECK(sandbox->rootPath != NULL, return APPSPAWN_SYSTEM_ERROR, "Failed to copy root path"); in ParseGlobalSandboxConfig() 613 APPSPAWN_STATIC int ParseAppSandboxConfig(const cJSON *root, ParseJsonContext *context) in ParseAppSandboxConfig() argument 615 APPSPAWN_CHECK(root ! in ParseAppSandboxConfig() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | setup.c | 110 struct device_node *root; in pSeries_show_cpuinfo() local 113 root = of_find_node_by_path("/"); in pSeries_show_cpuinfo() 114 if (root) in pSeries_show_cpuinfo() 115 model = of_get_property(root, "model", NULL); in pSeries_show_cpuinfo() 117 of_node_put(root); in pSeries_show_cpuinfo() 502 struct device_node *root = of_find_node_by_path("/"); in pSeries_discover_phbs() local 504 for_each_child_of_node(root, node) { in pSeries_discover_phbs() 523 of_node_put(root); in pSeries_discover_phbs() 723 struct resource *res, *root, *conflict; in of_pci_parse_iov_addrs() local 741 root in of_pci_parse_iov_addrs() [all...] |
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
H A D | debugfs.c | 1005 dir = debugfs_create_dir(dep->name, dep->dwc->root); in dwc3_debugfs_create_endpoint_dir() 1011 struct dentry *root; in dwc3_debugfs_init() local 1024 root = debugfs_create_dir(dev_name(dwc->dev), usb_debug_root); in dwc3_debugfs_init() 1025 dwc->root = root; in dwc3_debugfs_init() 1027 debugfs_create_regset32("regdump", 0444, root, dwc->regset); in dwc3_debugfs_init() 1028 debugfs_create_file("lsp_dump", 0644, root, dwc, &dwc3_lsp_fops); in dwc3_debugfs_init() 1031 debugfs_create_file("mode", 0644, root, dwc, in dwc3_debugfs_init() 1036 debugfs_create_file("testmode", 0644, root, dwc, in dwc3_debugfs_init() 1038 debugfs_create_file("link_state", 0644, root, dw in dwc3_debugfs_init() [all...] |
/kernel/linux/linux-5.10/fs/cramfs/ |
H A D | inode.c | 512 sync_filesystem(fc->root->d_sb); in cramfs_reconfigure() 562 /* Check that the root inode is in a sane state */ in cramfs_read_super() 563 if (!S_ISDIR(super->root.mode)) { in cramfs_read_super() 564 errorfc(fc, "root is not a directory"); in cramfs_read_super() 568 super->root.mode |= 0555; in cramfs_read_super() 570 root_offset = super->root.offset << 2; in cramfs_read_super() 588 errorfc(fc, "bad root offset %lu", root_offset); in cramfs_read_super() 598 struct inode *root; in cramfs_finalize_super() local 605 root = get_cramfs_inode(sb, cramfs_root, 0); in cramfs_finalize_super() 606 if (IS_ERR(root)) in cramfs_finalize_super() [all...] |
/kernel/linux/linux-5.10/fs/ext2/ |
H A D | balloc.c | 190 * @root: root of per-filesystem reservation rb tree 199 static void __rsv_window_dump(struct rb_root *root, int verbose, in __rsv_window_dump() argument 207 n = rb_first(root); in __rsv_window_dump() 241 #define rsv_window_dump(root, verbose) \ 242 __rsv_window_dump((root), (verbose), __func__) 244 #define rsv_window_dump(root, verbose) do {} while (0) 283 * @root: root of reservation tree 291 search_reserve_window(struct rb_root *root, ext2_fsblk_ argument 332 struct rb_root *root = &EXT2_SB(sb)->s_rsv_window_root; ext2_rsv_window_add() local [all...] |
/kernel/linux/linux-6.6/fs/cramfs/ |
H A D | inode.c | 505 sync_filesystem(fc->root->d_sb); in cramfs_reconfigure() 555 /* Check that the root inode is in a sane state */ in cramfs_read_super() 556 if (!S_ISDIR(super->root.mode)) { in cramfs_read_super() 557 errorfc(fc, "root is not a directory"); in cramfs_read_super() 561 super->root.mode |= 0555; in cramfs_read_super() 563 root_offset = super->root.offset << 2; in cramfs_read_super() 581 errorfc(fc, "bad root offset %lu", root_offset); in cramfs_read_super() 591 struct inode *root; in cramfs_finalize_super() local 598 root = get_cramfs_inode(sb, cramfs_root, 0); in cramfs_finalize_super() 599 if (IS_ERR(root)) in cramfs_finalize_super() [all...] |
/kernel/linux/linux-6.6/fs/ext2/ |
H A D | balloc.c | 189 * @root: root of per-filesystem reservation rb tree 198 static void __rsv_window_dump(struct rb_root *root, int verbose, in __rsv_window_dump() argument 206 n = rb_first(root); in __rsv_window_dump() 240 #define rsv_window_dump(root, verbose) \ 241 __rsv_window_dump((root), (verbose), __func__) 243 #define rsv_window_dump(root, verbose) do {} while (0) 282 * @root: root of reservation tree 290 search_reserve_window(struct rb_root *root, ext2_fsblk_ argument 331 struct rb_root *root = &EXT2_SB(sb)->s_rsv_window_root; ext2_rsv_window_add() local [all...] |
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | ValidateAST.cpp | 26 static bool validate(TIntermNode *root, 51 ValidateAST(TIntermNode *root, TDiagnostics *diagnostics, const ValidateASTOptions &options); 130 bool ValidateAST::validate(TIntermNode *root, in validate() argument 134 ValidateAST validate(root, diagnostics, options); in validate() 135 root->traverse(&validate); in validate() 139 ValidateAST::ValidateAST(TIntermNode *root, in ValidateAST() argument 144 bool isTreeRoot = root->getAsBlock() && root->getAsBlock()->isTreeRoot(); in ValidateAST() 155 mParent[root] = nullptr; in ValidateAST() 996 bool ValidateAST(TIntermNode *root, TDiagnostic argument [all...] |
/kernel/linux/linux-5.10/drivers/pci/pcie/ |
H A D | aspm.c | 52 struct pcie_link_state *root; /* pointer to the root port link */ member 420 * Every switch on the path to root complex need 1 in pcie_aspm_check_latency() 873 * the root ports entirely, in which case a downstream port on in alloc_pcie_link_state() 874 * a switch may become the root of the link state chain for all in alloc_pcie_link_state() 880 link->root = link; in alloc_pcie_link_state() 891 link->root = link->parent->root; in alloc_pcie_link_state() 910 * @pdev: the root port or switch downstream port 931 /* VIA has a strange chipset, root por in pcie_aspm_init_link_state() 977 pcie_update_aspm_capable(struct pcie_link_state *root) pcie_update_aspm_capable() argument 1004 struct pcie_link_state *link, *root, *parent_link; pcie_aspm_exit_link_state() local [all...] |
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | samsung-laptop.c | 290 * samsung-laptop/ - debugfs root directory 310 struct dentry *root; member 1263 debugfs_remove_recursive(samsung->debug.root); in samsung_debugfs_exit() 1268 struct dentry *root; in samsung_debugfs_init() local 1270 root = debugfs_create_dir("samsung-laptop", NULL); in samsung_debugfs_init() 1271 samsung->debug.root = root; in samsung_debugfs_init() 1282 debugfs_create_u16("command", 0644, root, &samsung->debug.command); in samsung_debugfs_init() 1283 debugfs_create_u32("d0", 0644, root, &samsung->debug.data.d0); in samsung_debugfs_init() 1284 debugfs_create_u32("d1", 0644, root, in samsung_debugfs_init() [all...] |
/kernel/linux/linux-6.6/drivers/pci/pcie/ |
H A D | aspm.c | 48 struct pcie_link_state *root; /* pointer to the root port link */ member 405 * Every switch on the path to root complex need 1 in pcie_aspm_check_latency() 836 * the root ports entirely, in which case a downstream port on in alloc_pcie_link_state() 837 * a switch may become the root of the link state chain for all in alloc_pcie_link_state() 843 link->root = link; in alloc_pcie_link_state() 854 link->root = link->parent->root; in alloc_pcie_link_state() 873 * @pdev: the root port or switch downstream port 894 /* VIA has a strange chipset, root por in pcie_aspm_init_link_state() 940 pcie_update_aspm_capable(struct pcie_link_state *root) pcie_update_aspm_capable() argument 967 struct pcie_link_state *link, *root, *parent_link; pcie_aspm_exit_link_state() local [all...] |