Home
last modified time | relevance | path

Searched refs:node_name (Results 1 – 20 of 20) sorted by relevance

/external/ltp/testcases/kernel/syscalls/mknod/
Dmknod05.c95 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable
124 TEST(mknod(node_name, MODE_SGID, 0)); in main()
129 "%s", node_name, MODE_SGID, TEST_ERRNO, in main()
137 if (stat(node_name, &buf) < 0) { in main()
139 node_name, TEST_ERRNO); in main()
147 "setgid bit not set", node_name); in main()
155 node_name); in main()
162 node_name, MODE_SGID); in main()
166 if (unlink(node_name) == -1) { in main()
168 node_name, errno, strerror(errno)); in main()
[all …]
Dmknod08.c94 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable
120 TEST(mknod(node_name, MODE_RWX, 0)); in main()
126 node_name, MODE_RWX, TEST_ERRNO, in main()
134 if (stat(node_name, &buf) < 0) { in main()
137 node_name, TEST_ERRNO); in main()
145 "bit set", node_name); in main()
153 node_name); in main()
160 node_name, MODE_RWX); in main()
164 if (unlink(node_name) == -1) { in main()
167 node_name, errno, strerror(errno)); in main()
[all …]
Dmknod02.c95 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable
124 TEST(mknod(node_name, MODE_SGID, 0)); in main()
130 node_name, MODE_SGID, TEST_ERRNO, in main()
138 if (stat(node_name, &buf) < 0) { in main()
140 node_name, TEST_ERRNO); in main()
149 "bit not set", node_name); in main()
157 node_name); in main()
164 node_name, MODE_SGID); in main()
168 if (unlink(node_name) == -1) { in main()
170 node_name, errno, strerror(errno)); in main()
[all …]
Dmknod04.c95 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable
125 TEST(mknod(node_name, MODE_RWX, 0)); in main()
130 "%s", node_name, MODE_RWX, TEST_ERRNO, in main()
138 if (stat(node_name, &buf) < 0) { in main()
140 node_name, TEST_ERRNO); in main()
148 "bit set", node_name); in main()
156 node_name); in main()
163 node_name, MODE_RWX); in main()
167 if (unlink(node_name) == -1) { in main()
169 node_name, errno, strerror(errno)); in main()
[all …]
Dmknod03.c95 char node_name[PATH_MAX]; /* buffer to hold node name created */ variable
124 TEST(mknod(node_name, MODE_SGID, 0)); in main()
129 "%s", node_name, MODE_SGID, TEST_ERRNO, in main()
137 if (stat(node_name, &buf) < 0) { in main()
139 node_name, TEST_ERRNO); in main()
148 "set", node_name); in main()
156 node_name); in main()
163 node_name, MODE_SGID); in main()
167 if (unlink(node_name) == -1) { in main()
169 node_name, errno, strerror(errno)); in main()
[all …]
Dmknod06.c135 char *node_name; /* ptr. for node name created */ in main() local
152 node_name = Test_cases[ind].pathname; in main()
156 if (node_name == High_address_node) { in main()
157 node_name = get_high_address(); in main()
166 TEST(mknod(node_name, MODE_RWX, 0)); in main()
/external/dtc/
Dfdtput.c167 static int store_key_value(char **blob, const char *node_name, in store_key_value() argument
173 node = fdt_path_offset(*blob, node_name); in store_key_value()
175 report_error(node_name, -1, node); in store_key_value()
244 static int create_node(char **blob, const char *node_name) in create_node() argument
249 p = strrchr(node_name, '/'); in create_node()
251 report_error(node_name, -1, -FDT_ERR_BADPATH); in create_node()
258 if (p > node_name) { in create_node()
259 node = fdt_path_offset(*blob, node_name); in create_node()
261 report_error(node_name, -1, node); in create_node()
283 static int delete_prop(char *blob, const char *node_name, const char *prop_name) in delete_prop() argument
[all …]
/external/e2fsprogs/misc/
Dfuse2fs.c915 char *node_name, a; in op_mknod() local
928 node_name = strrchr(temp_path, '/'); in op_mknod()
929 if (!node_name) { in op_mknod()
933 node_name++; in op_mknod()
934 a = *node_name; in op_mknod()
935 *node_name = 0; in op_mknod()
954 *node_name = a; in op_mknod()
976 node_name, parent); in op_mknod()
977 err = ext2fs_link(fs, parent, node_name, child, filetype); in op_mknod()
985 err = ext2fs_link(fs, parent, node_name, child, in op_mknod()
[all …]
/external/ImageMagick/
DInstall-vms.txt12 set display/create/node=node_name::
14 where node_name is the DECNET X server to contact.
/external/webrtc/webrtc/libjingle/xmpp/
Dpubsub_task.cc180 const std::string& node_name(items->Attr(QN_NODE)); in HandlePubsubItems() local
181 NodeSubscriptions::iterator iter = subscribed_nodes_.find(node_name); in HandlePubsubItems()
Djid.cc54 Jid::Jid(const std::string& node_name, in Jid() argument
57 : node_name_(node_name), in Jid()
Djid.h32 explicit Jid(const std::string& node_name,
/external/libmojo/mojo/edk/system/ports/
Dnode.h144 int LostConnectionToNode(const NodeName& node_name);
185 void DestroyAllPortsWithPeer(const NodeName& node_name,
Dports_unittest.cc75 Task(NodeName node_name, ScopedMessage message) in Task()
76 : node_name(node_name), in Task()
81 NodeName node_name; member
110 Node* node = GetNode(task->node_name); in PumpTasks()
128 Node* node = GetNode(task->node_name); in PumpUntilTask()
175 explicit TestNodeDelegate(const NodeName& node_name) in TestNodeDelegate() argument
176 : node_name_(node_name), in TestNodeDelegate()
206 void ForwardMessage(const NodeName& node_name, in ForwardMessage() argument
210 << node_name_ << " to " << node_name; in ForwardMessage()
211 ClosePortsInMessage(GetNode(node_name), message.get()); in ForwardMessage()
[all …]
Dnode.cc406 int Node::LostConnectionToNode(const NodeName& node_name) { in LostConnectionToNode() argument
411 << " to node " << node_name; in LostConnectionToNode()
413 DestroyAllPortsWithPeer(node_name, kInvalidPortName); in LostConnectionToNode()
1290 void Node::DestroyAllPortsWithPeer(const NodeName& node_name, in DestroyAllPortsWithPeer() argument
1308 if (port->peer_node_name == node_name && in DestroyAllPortsWithPeer()
/external/protobuf/src/google/protobuf/util/
Dfield_mask_util.cc286 const string& node_name = parts[i]; in AddPath() local
287 Node*& child = node->children[node_name]; in AddPath()
312 const string& node_name = parts[i]; in IntersectPath() local
313 const Node* result = FindPtrOrNull(node->children, node_name); in IntersectPath()
/external/wpa_supplicant_8/src/utils/
Dxml-utils.c328 const char *node_name) in get_node_text() argument
330 node = get_first_child_node(ctx, node, node_name); in get_node_text()
/external/libmojo/mojo/edk/system/
Dnode_controller.cc173 ports::NodeName node_name; in ConnectToChild() local
174 GenerateRandomName(&node_name); in ConnectToChild()
179 std::make_pair(node_name, child_token)).second; in ConnectToChild()
202 node_name, in ConnectToChild()
Dnode_channel.cc748 ports::NodeName node_name = remote_node_name_; in OnChannelError() local
749 delegate_->OnChannelError(node_name, this); in OnChannelError()
/external/v8/src/ast/
Dprettyprinter.cc445 const char* node_name, FeedbackSlot slot) { in FormatSlotNode() argument
446 int pos = SNPrintF(*buf, "%s", node_name); in FormatSlotNode()