Home
last modified time | relevance | path

Searched refs:data_node (Results 1 – 12 of 12) sorted by relevance

/third_party/ltp/metadata/
Ddata_storage.h25 struct data_node *array[];
29 struct data_node *node;
50 struct data_node { struct
76 static inline struct data_node *data_node_string(const char *string) in data_node_string()
79 struct data_node *node = malloc(size); in data_node_string()
90 static inline struct data_node *data_node_int(long i) in data_node_int()
92 struct data_node *node = malloc(sizeof(struct data_node_int)); in data_node_int()
105 static inline struct data_node *data_node_hash(void) in data_node_hash()
109 struct data_node *node = malloc(size); in data_node_hash()
121 static inline struct data_node *data_node_array(void) in data_node_array()
[all …]
Dmetaparse.c53 static void multiline_comment(FILE *f, struct data_node *doc) in multiline_comment()
65 struct data_node *line; in multiline_comment()
103 static void maybe_doc_comment(FILE *f, struct data_node *doc) in maybe_doc_comment()
123 static void maybe_comment(FILE *f, struct data_node *doc) in maybe_comment()
140 static char *next_token2(FILE *f, char *buf, size_t buf_len, struct data_node *doc) in next_token2()
215 static char *next_token(FILE *f, struct data_node *doc) in next_token()
289 static int parse_array(FILE *f, struct data_node *node) in parse_array()
298 struct data_node *ret = data_node_array(); in parse_array()
318 struct data_node *str = data_node_string(token); in parse_array()
378 static void look_for_array_size(FILE *f, const char *arr_id, struct data_node **res) in look_for_array_size()
[all …]
/third_party/curl/tests/unit/
Dunit1305.c45 static struct Curl_dns_entry *data_node; variable
67 if(data_node) { in unit_stop()
68 Curl_freeaddrinfo(data_node->addr); in unit_stop()
69 free(data_node); in unit_stop()
106 data_node = calloc(1, sizeof(struct Curl_dns_entry)); in create_node()
107 if(!data_node) in create_node()
110 data_node->addr = fake_ai(); in create_node()
111 if(!data_node->addr) in create_node()
129 data_node->inuse = 1; /* hash will hold the reference */
130 nodep = Curl_hash_add(&hp, data_key, key_len + 1, data_node);
[all …]
/third_party/boost/libs/predef/tools/ci/
Dbuild_log.py29 data_node = None
30 if not data_node:
31 data_node = self.get_child(node,tag='#text')
32 if not data_node:
33 data_node = self.get_child(node,tag='#cdata-section')
35 while data_node:
36 data += data_node.data
37 data_node = data_node.nextSibling
38 if data_node:
39 if data_node.nodeName != '#text' \
[all …]
/third_party/mesa3d/src/gallium/frontends/clover/llvm/
Dmetadata.hpp50 const auto data_node = f.getMetadata(name); in get_kernel_metadata_operands() local
51 if (data_node) in get_kernel_metadata_operands()
52 return range(data_node->op_begin(), data_node->op_end()); in get_kernel_metadata_operands()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Ddata_source_actor.cc224 for (auto &data_node : data_nodes_) { in FillDataBuffer() local
225 auto device_address = AnfAlgo::GetMutableOutputAddr(data_node, 0, false); in FillDataBuffer()
314 size_t HostQueueDataSourceActor::FetchNodePosition(const AnfNodePtr &data_node) const { in FetchNodePosition()
315 MS_EXCEPTION_IF_NULL(data_node); in FetchNodePosition()
316 const auto &iter = data_node_position_map_.find(data_node); in FetchNodePosition()
318 MS_LOG(EXCEPTION) << "Data node: " << data_node->fullname_with_scope() << " is not exist."; in FetchNodePosition()
Dgather_actor.cc45 size_t GatherActor::FetchDataNodePosition(const KernelWithIndex &data_node) const { in FetchDataNodePosition()
46 const auto &iter = find(data_nodes_.begin(), data_nodes_.end(), data_node); in FetchDataNodePosition()
48 …PTION) << "Data node: " << AnfAlgo::GetNodeDebugString(data_node.first) << " index:" << data_node.… in FetchDataNodePosition()
Dgather_actor.h63 size_t FetchDataNodePosition(const KernelWithIndex &data_node) const;
Dswitch_actor.cc188 size_t SwitchActor::FetchDataNodePosition(const AnfNodePtr &data_node) const { in FetchDataNodePosition()
189 const auto data_node_with_index = AnfAlgo::VisitKernelWithReturnType(data_node, 0); in FetchDataNodePosition()
192 MS_LOG(EXCEPTION) << "Data node: " << AnfAlgo::GetNodeDebugString(data_node) in FetchDataNodePosition()
Dswitch_actor.h85 size_t FetchDataNodePosition(const AnfNodePtr &data_node) const;
/third_party/mindspore/mindspore/lite/tools/optimizer/graph/
Dgroup_depthwise_op_convert_pass.cc60 auto data_node = conv_cnode->input(kConvInputIndex)->abstract(); in Run() local
61 if (data_node == nullptr) { in Run()
65 auto data_shape_ptr = utils::cast<abstract::ShapePtr>(data_node->GetShapeTrack()); in Run()
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_scheduler.cc2534 const auto &data_node = host_queue_ds_actor->data_nodes_[i]; in DumpDSActor() local
2535 MS_EXCEPTION_IF_NULL(data_node); in DumpDSActor()
2536 const auto &device_tensor = AnfAlgo::GetMutableOutputAddr(data_node, 0, false); in DumpDSActor()
2538 ofs << "\t\t\tnode_order_number:" << i << "\tnode_name:" << data_node->fullname_with_scope() in DumpDSActor()