Searched defs:root (Results 1 - 12 of 12) sorted by relevance

/system/update_engine/common/
H A Dhwid_override.cc37 string HwidOverride::Read(const base::FilePath& root) { argument
39 lsb_release.Load(base::FilePath(root.value() + "/etc/lsb-release"));
/system/bt/osi/src/
H A Dbuffer.c30 buffer_t *root; member in struct:buffer_t
41 buffer->root = buffer;
60 ret->root = buf->root;
64 ++buf->root->refcount;
73 if (buffer->root != buffer) {
74 // We're a leaf node. Delete the root node if we're the last referent.
75 if (--buffer->root->refcount == 0)
76 osi_free(buffer->root);
79 // We're a root nod
[all...]
/system/connectivity/shill/dhcp/
H A Ddhcp_config.h110 base::FilePath root() const { return root_; } function in class:shill::DHCPConfig
/system/core/libcutils/
H A Dconfig_utils.c39 cnode* config_find(cnode *root, const char *name) argument
44 for(node = root->first_child; node; node = node->next)
51 static cnode* _config_create(cnode *root, const char *name) argument
57 if(root->last_child)
58 root->last_child->next = node;
60 root->first_child = node;
62 root->last_child = node;
67 int config_bool(cnode *root, const char *name, int _default) argument
71 node = config_find(root, name);
85 const char* config_str(cnode *root, cons argument
95 config_set(cnode *root, const char *name, const char *value) argument
262 parse_expr(cstate *cs, cnode *root) argument
292 config_load(cnode *root, char *data) argument
312 config_load_file(cnode *root, const char *fn) argument
319 config_free(cnode *root) argument
[all...]
/system/core/libdiskconfig/
H A Ddiskconfig.c94 load_partitions(cnode *root, struct disk_info *dinfo) argument
99 for (partnode = root->first_child; partnode; partnode = partnode->next) {
146 cnode *root = config_node("", ""); local
162 config_load_file(root, fn);
163 if (root->first_child == NULL) {
168 if (!(devroot = config_find(root, "device"))) {
/system/core/libmemunreachable/
H A DHeapWalker.cpp73 void HeapWalker::RecurseRoot(const Range& root) { argument
74 allocator::vector<Range> to_do(1, root, allocator_);
/system/update_engine/
H A Domaha_request_params.cc195 void OmahaRequestParams::set_root(const string& root) { argument
196 root_ = root;
/system/core/libprocessgroup/
H A Dprocessgroup.cpp231 DIR *root = opendir(cgroup_root_path); local
232 if (root == NULL) {
237 while ((readdir_r(root, &cur, &dir) == 0) && dir) {
252 closedir(root);
/system/extras/libfec/
H A Dfec_verity.cpp182 /* reads the verity hash tree, validates it against the root hash in `root',
185 static int verify_tree(fec_handle *f, const uint8_t *root) argument
191 check(root);
208 /* validate the root hash */
210 !verity_check_block(f, root, data)) {
213 !verity_check_block(f, root, data)) {
214 error("root hash invalid");
218 error("failed to rewrite the root block: %s", strerror(errno));
223 debug("root has
348 uint8_t root[SHA256_DIGEST_LENGTH]; local
[all...]
/system/connectivity/shill/
H A Djson_store.cc443 base::DictionaryValue root; local
444 root.SetStringWithoutPathExpansion(
446 root.SetWithoutPathExpansion(kRootPropertySettings, std::move(groups));
451 if (!json_serializer.Serialize(root)) {
/system/core/init/
H A Ddevices.cpp444 /* skip root hub name and device. use device interface */
804 char *root, *loading, *data; local
812 l = asprintf(&root, SYSFS_PREFIX"%s/", uevent->path);
816 l = asprintf(&loading, "%sloading", root);
820 l = asprintf(&data, "%sdata", root);
842 INFO("firmware: copy success { '%s', '%s' }\n", root, uevent->firmware);
844 INFO("firmware: copy failure { '%s', '%s' }\n", root, uevent->firmware);
872 free(root);
/system/core/sdcard/
H A Dsdcard.c65 * It must be run as root, but will drop to requested UID/GID as soon as it
124 /* This node is one level above a normal root; used for legacy layouts
207 struct node root; member in struct:fuse_global
533 /* Always block security-sensitive files at root */
646 return &fuse->global->root;
1298 res = get_node_path_locked(&fuse->global->root, path, sizeof(path));
1303 if (statfs(fuse->global->root.name, &stat) < 0) {
1727 derive_permissions_recursive_locked(global->fuse_default, &global->root);
1862 memset(&global.root, 0, sizeof(global.root));
[all...]

Completed in 260 milliseconds