Home
last modified time | relevance | path

Searched refs:int_node (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/optimizers/data/
Dgraph_utils_test.cc67 NodeDef* int_node = AddScalarConstNode<int>(42, &graph); in TEST() local
68 EXPECT_TRUE(ContainsGraphNodeWithName(int_node->name(), *graph.graph())); in TEST()
69 EXPECT_EQ(int_node->attr().at("value").tensor().int_val(0), 42); in TEST()
/external/selinux/libsepol/cil/src/
Dcil_build_ast.h230 int cil_fill_integer(struct cil_tree_node *int_node, uint32_t *integer, int base);
231 int cil_fill_integer64(struct cil_tree_node *int_node, uint64_t *integer, int base);
Dcil_build_ast.c5617 int cil_fill_integer(struct cil_tree_node *int_node, uint32_t *integer, int base) in cil_fill_integer() argument
5623 if (int_node == NULL || integer == NULL) { in cil_fill_integer()
5628 val = strtol(int_node->data, &endptr, base); in cil_fill_integer()
5629 if (errno != 0 || endptr == int_node->data || *endptr != '\0') { in cil_fill_integer()
5643 int cil_fill_integer64(struct cil_tree_node *int_node, uint64_t *integer, int base) in cil_fill_integer64() argument
5649 if (int_node == NULL || integer == NULL) { in cil_fill_integer64()
5654 val = strtoull(int_node->data, &endptr, base); in cil_fill_integer64()
5655 if (errno != 0 || endptr == int_node->data || *endptr != '\0') { in cil_fill_integer64()