Home
last modified time | relevance | path

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

/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()
296 std::unique_ptr<GrapplerItem> new_item(new GrapplerItem()); in GrapplerItemFromMetaGraphDef() local
297 new_item->id = id; in GrapplerItemFromMetaGraphDef()
298 new_item->graph = meta_graph.graph_def(); in GrapplerItemFromMetaGraphDef()
303 new_item->feed.emplace_back(feed_name, Tensor()); in GrapplerItemFromMetaGraphDef()
306 new_item->fetch.emplace_back(NodeName(fetch_node)); in GrapplerItemFromMetaGraphDef()
310 if (new_item->fetch.empty() && in GrapplerItemFromMetaGraphDef()
[all …]
/external/swiftshader/third_party/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()
113 new_item.components.Set(current_inst->GetSingleWordInOperand(1)); in MarkExtractUseAsLive()
115 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkExtractUseAsLive()
134 WorkListItem new_item; in MarkInsertUsesAsLive() local
135 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
136 new_item.components = current_item.components; in MarkInsertUsesAsLive()
137 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
139 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkInsertUsesAsLive()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/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()
113 new_item.components.Set(current_inst->GetSingleWordInOperand(1)); in MarkExtractUseAsLive()
115 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkExtractUseAsLive()
134 WorkListItem new_item; in MarkInsertUsesAsLive() local
135 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
136 new_item.components = current_item.components; in MarkInsertUsesAsLive()
137 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
139 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()
113 new_item.components.Set(current_inst->GetSingleWordInOperand(1)); in MarkExtractUseAsLive()
115 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkExtractUseAsLive()
134 WorkListItem new_item; in MarkInsertUsesAsLive() local
135 new_item.instruction = operand_inst; in MarkInsertUsesAsLive()
136 new_item.components = current_item.components; in MarkInsertUsesAsLive()
137 new_item.components.Clear(insert_position); in MarkInsertUsesAsLive()
139 AddItemToWorkListIfNeeded(new_item, live_components, work_list); in MarkInsertUsesAsLive()
[all …]
/external/curl/src/
Dslist_wc.c39 struct curl_slist *new_item = curl_slist_append(NULL, data); in slist_wc_append() local
41 if(!new_item) in slist_wc_append()
48 curl_slist_free_all(new_item); in slist_wc_append()
52 list->first = new_item; in slist_wc_append()
53 list->last = new_item; in slist_wc_append()
57 list->last->next = new_item; in slist_wc_append()
/external/curl/lib/
Dslist.c62 struct curl_slist *new_item; in Curl_slist_append_nodup() local
66 new_item = malloc(sizeof(struct curl_slist)); in Curl_slist_append_nodup()
67 if(!new_item) in Curl_slist_append_nodup()
70 new_item->next = NULL; in Curl_slist_append_nodup()
71 new_item->data = data; in Curl_slist_append_nodup()
75 return new_item; in Curl_slist_append_nodup()
78 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.c81 struct cil_list_item *new_item = cil_malloc(sizeof(*new_item)); in cil_list_item_init() local
82 new_item->next = NULL; in cil_list_item_init()
83 new_item->flavor = CIL_NONE; in cil_list_item_init()
84 new_item->data = NULL; in cil_list_item_init()
86 *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/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/boringssl/src/crypto/x509/
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/
Dx509_lu.c81 if ((method->new_item != NULL) && !method->new_item(ret)) { in X509_LOOKUP_new()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_encoder.h920 static INLINE void stack_push(int *stack, int new_item, int stack_size) { in stack_push() argument
923 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()
/external/boringssl/src/include/openssl/
Dx509_vfy.h122 int (*new_item)(X509_LOOKUP *ctx); member
/external/rust/crates/quiche/deps/boringssl/src/include/openssl/
Dx509_vfy.h122 int (*new_item)(X509_LOOKUP *ctx); member
/external/rust/crates/hashbrown/src/raw/
Dmod.rs906 if let Some(new_item) = f(item) { in replace_bucket_with()
910 self.bucket(index).write(new_item); in replace_bucket_with()