Home
last modified time | relevance | path

Searched refs:new_item (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc119 GrapplerItem* new_item, NodeDef* node) { in UpdatePlaceholderShape() argument
181 new_item->feed.emplace_back(node->name(), fake_input); in UpdatePlaceholderShape()
185 auto it = find_if(new_item->feed.begin(), new_item->feed.end(), in UpdatePlaceholderShape()
189 DCHECK(it != new_item->feed.end()); in UpdatePlaceholderShape()
297 std::unique_ptr<GrapplerItem> new_item(new GrapplerItem()); in GrapplerItemFromMetaGraphDef() local
298 new_item->id = id; in GrapplerItemFromMetaGraphDef()
299 new_item->graph = meta_graph.graph_def(); in GrapplerItemFromMetaGraphDef()
304 new_item->feed.emplace_back(feed_name, Tensor()); in GrapplerItemFromMetaGraphDef()
307 new_item->fetch.emplace_back(NodeName(fetch_node)); in GrapplerItemFromMetaGraphDef()
311 if (new_item->fetch.empty() && in GrapplerItemFromMetaGraphDef()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dvector_dce.cpp106 WorkListItem new_item; in MarkExtractUseAsLive() local
107 new_item.instruction = operand_inst; in MarkExtractUseAsLive()
109 new_item.components = live_elements; in MarkExtractUseAsLive()
114 new_item.components.Set(element_index); in MarkExtractUseAsLive()
117 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkExtractUseAsLive()
136 WorkListItem new_item; in MarkInsertUsesAsLive() local
137 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
138 new_item.components = current_item.components; in MarkInsertUsesAsLive()
139 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
141 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkInsertUsesAsLive()
[all …]
/external/deqp-deps/SPIRV-Tools/source/opt/
Dvector_dce.cpp108 WorkListItem new_item; in MarkExtractUseAsLive() local
109 new_item.instruction = operand_inst; in MarkExtractUseAsLive()
111 new_item.components = live_elements; in MarkExtractUseAsLive()
116 new_item.components.Set(element_index); in MarkExtractUseAsLive()
119 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkExtractUseAsLive()
138 WorkListItem new_item; in MarkInsertUsesAsLive() local
139 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
140 new_item.components = current_item.components; in MarkInsertUsesAsLive()
141 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
143 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkInsertUsesAsLive()
[all …]
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dvector_dce.cpp106 WorkListItem new_item; in MarkExtractUseAsLive() local
107 new_item.instruction = operand_inst; in MarkExtractUseAsLive()
109 new_item.components = live_elements; in MarkExtractUseAsLive()
114 new_item.components.Set(element_index); in MarkExtractUseAsLive()
117 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkExtractUseAsLive()
136 WorkListItem new_item; in MarkInsertUsesAsLive() local
137 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
138 new_item.components = current_item.components; in MarkInsertUsesAsLive()
139 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
141 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkInsertUsesAsLive()
[all …]
/external/curl/src/
Dslist_wc.c41 struct curl_slist *new_item = curl_slist_append(NULL, data); in slist_wc_append() local
43 if(!new_item) in slist_wc_append()
50 curl_slist_free_all(new_item); in slist_wc_append()
54 list->first = new_item; in slist_wc_append()
55 list->last = new_item; in slist_wc_append()
59 list->last->next = new_item; in slist_wc_append()
/external/curl/lib/
Dslist.c64 struct curl_slist *new_item; in Curl_slist_append_nodup() local
68 new_item = malloc(sizeof(struct curl_slist)); in Curl_slist_append_nodup()
69 if(!new_item) in Curl_slist_append_nodup()
72 new_item->next = NULL; in Curl_slist_append_nodup()
73 new_item->data = data; in Curl_slist_append_nodup()
77 return new_item; in Curl_slist_append_nodup()
80 last->next = new_item; in Curl_slist_append_nodup()
/external/mesa3d/src/gallium/drivers/r600/
Dcompute_memory_pool.c565 struct compute_memory_item *new_item = NULL; in compute_memory_alloc() local
570 new_item = (struct compute_memory_item *) in compute_memory_alloc()
572 if (!new_item) in compute_memory_alloc()
575 new_item->size_in_dw = size_in_dw; in compute_memory_alloc()
576 new_item->start_in_dw = -1; /* mark pending */ in compute_memory_alloc()
577 new_item->id = pool->next_id++; in compute_memory_alloc()
578 new_item->pool = pool; in compute_memory_alloc()
579 new_item->real_buffer = NULL; in compute_memory_alloc()
581 list_addtail(&new_item->link, pool->unallocated_list); in compute_memory_alloc()
584 new_item, new_item->id, new_item->size_in_dw, in compute_memory_alloc()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_list.c82 struct cil_list_item *new_item = cil_malloc(sizeof(*new_item)); in cil_list_item_init() local
83 new_item->next = NULL; in cil_list_item_init()
84 new_item->flavor = CIL_NONE; in cil_list_item_init()
85 new_item->data = NULL; in cil_list_item_init()
87 *item = new_item; in cil_list_item_init()
/external/tensorflow/tensorflow/core/grappler/inputs/
Dfile_input_yielder.cc121 std::unique_ptr<GrapplerItem> new_item = in NextItem() local
123 if (new_item == nullptr) { in NextItem()
129 *item = std::move(*new_item); in NextItem()
/external/python/cpython2/Misc/Vim/
Dvim_syntax.py143 new_item = it.next()
144 buffer_.append(new_item)
145 total_len += len(new_item) + 1
/external/tensorflow/tensorflow/dtensor/mlir/expansions/
Dtensorlist_setitem_spmd_expander.cc44 const auto new_item, in ExpandOp()
47 op->setOperand(2, new_item); in ExpandOp()
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dtensor_list_dynamic_shape.py48 new_item = tf.add(
51 new_list = list_ops.tensor_list_set_item(tensor_list, i, new_item)
/external/tensorflow/tensorflow/lite/experimental/mlir/testing/op_tests/
Dtensor_list_dynamic_shape.py52 new_item = tf.add(
55 new_list = list_ops.tensor_list_set_item(tensor_list, i, new_item)
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/
DesextcTessellationShaderVertexSpacing.cpp166 _tess_coordinate_cartesian new_item; in getEdgesForIsolinesTessellation() local
168 new_item.x = coordinate[0]; in getEdgesForIsolinesTessellation()
169 new_item.y = coordinate[1]; in getEdgesForIsolinesTessellation()
182 edge.points.push_back(new_item); in getEdgesForIsolinesTessellation()
197 new_edge.points.push_back(new_item); in getEdgesForIsolinesTessellation()
1168 _tess_coordinate_delta new_item; in verifyEdges() local
1170 new_item.counter = 1; in verifyEdges()
1171 new_item.delta = distance; in verifyEdges()
1173 segment_deltas.push_back(new_item); in verifyEdges()
DesextcTessellationShaderTCTE.cpp2915 _vec4 new_item = _vec4(data_ptr[0], data_ptr[1], data_ptr[2], data_ptr[3]); in initTestRun() local
2917 if (std::find(run.result_position_data.begin(), run.result_position_data.end(), new_item) == in initTestRun()
2920 run.result_position_data.push_back(new_item); in initTestRun()
2928 _vec2 new_item = _vec2(data_ptr[0], data_ptr[1]); in initTestRun() local
2930 if (std::find(run.result_value1_data.begin(), run.result_value1_data.end(), new_item) == in initTestRun()
2933 run.result_value1_data.push_back(new_item); in initTestRun()
2940 _ivec4 new_item = _ivec4(data_ptr[0], data_ptr[1], data_ptr[2], data_ptr[3]); in initTestRun() local
2942 if (std::find(run.result_value2_data.begin(), run.result_value2_data.end(), new_item) == in initTestRun()
2945 run.result_value2_data.push_back(new_item); in initTestRun()
/external/iperf3/src/
Dcjson.c1484 cJSON *new_item = cJSON_New_Item(&(input_buffer->hooks)); in parse_array() local
1485 if (new_item == NULL) in parse_array()
1494 current_item = head = new_item; in parse_array()
1499 current_item->next = new_item; in parse_array()
1500 new_item->prev = current_item; in parse_array()
1501 current_item = new_item; in parse_array()
1638 cJSON *new_item = cJSON_New_Item(&(input_buffer->hooks)); in parse_object() local
1639 if (new_item == NULL) in parse_object()
1648 current_item = head = new_item; in parse_object()
1653 current_item->next = new_item; in parse_object()
[all …]
/external/cronet/third_party/boringssl/src/crypto/x509/
Dinternal.h262 int (*new_item)(X509_LOOKUP *ctx); member
Dx509_lu.c81 if ((method->new_item != NULL) && !method->new_item(ret)) { in X509_LOOKUP_new()
/external/boringssl/src/crypto/x509/
Dinternal.h262 int (*new_item)(X509_LOOKUP *ctx); member
Dx509_lu.c81 if ((method->new_item != NULL) && !method->new_item(ret)) { in X509_LOOKUP_new()
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/
Dinternal.h247 int (*new_item)(X509_LOOKUP *ctx); member
Dx509_lu.c82 if ((method->new_item != NULL) && !method->new_item(ret)) { in X509_LOOKUP_new()
/external/python/setuptools/pkg_resources/_vendor/more_itertools/
Dmore.py4149 new_item = [None] * size
4152 new_item[i] = elem
4155 new_item[i] = elem
4157 yield tuple(new_item)
/external/libvpx/vp9/encoder/
Dvp9_encoder.h1183 static INLINE void stack_push(int *stack, int new_item, int stack_size) { in stack_push() argument
1186 stack[0] = new_item; in stack_push()
/external/mesa3d/src/vulkan/overlay-layer/
Doverlay.cpp297 struct VkBaseOutStructure *new_item = in clone_chain() local
300 memcpy(new_item, item, item_size); in clone_chain()
303 head = new_item; in clone_chain()
305 tail->pNext = new_item; in clone_chain()
306 tail = new_item; in clone_chain()

12