Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 180) sorted by relevance

12345678

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/
A Dmicro_string.cc60 ++current; in StrCatStr()
65 ++current; in StrCatStr()
68 *current = 0; in StrCatStr()
139 *current = 0; in FastFloatToBufferLeft()
143 current = StrCatStr(current, (current_end - current), "Inf"); in FastFloatToBufferLeft()
146 current = StrCatStr(current, (current_end - current), "NaN"); in FastFloatToBufferLeft()
187 current = StrCatUInt32(current, (current_end - current), scaled_fraction, 10); in FastFloatToBufferLeft()
199 *(current + leading_zeros) = *current; in FastFloatToBufferLeft()
208 current--; in FastFloatToBufferLeft()
211 current = StrCatStr(current, (current_end - current), "*2^"); in FastFloatToBufferLeft()
[all …]
A Dmicro_allocator.cc203 current->first_created = -1; in AddTensors()
204 current->last_used = -1; in AddTensors()
217 current->first_created = 0; in AddTensors()
233 if (((current->last_used == -1) || (current->last_used < i))) { in AddTensors()
234 current->last_used = i; in AddTensors()
240 if ((current->first_created == -1) || (current->first_created > i)) { in AddTensors()
252 (current->first_created == -1) && (current->last_used != -1); in AddTensors()
255 ((current->first_created == -1) || (current->last_used == -1)); in AddTensors()
261 i, current->first_created, current->last_used); in AddTensors()
334 current->first_created, current->last_used)); in CreatePlan()
[all …]
/AliOS-Things-master/components/http/src/
A Dhttp_formdata.c102 current = current->next; in httpclient_formdata_addtext()
111 current = current->next; in httpclient_formdata_addtext()
137 current->data_len = strlen(current->data); in httpclient_formdata_addtext()
141 current->data_len = strlen(current->data); in httpclient_formdata_addtext()
225 current = current->next; in httpclient_formdata_addfile()
234 current = current->next; in httpclient_formdata_addfile()
266 current->data_len = strlen(current->data); in httpclient_formdata_addfile()
306 current = current->next; in httpclient_formdata_len()
344 current = current->next; in httpclient_send_formdata()
385 current = current->next; in httpclient_send_formdata()
[all …]
/AliOS-Things-master/components/freetype/src/base/
A Dftgloadr.c91 FT_GlyphLoad current = &loader->current; in FT_GlyphLoader_Rewind() local
98 *current = *base; in FT_GlyphLoader_Rewind()
146 FT_Outline* current = &loader->current.outline; in FT_GlyphLoader_Adjust_Points() local
189 FT_GlyphLoad current = &loader->current; in FT_GlyphLoader_Adjust_Subglyphs() local
208 FT_Outline* current = &loader->current.outline; in FT_GlyphLoader_CheckPoints() local
288 FT_GlyphLoad current = &loader->current; in FT_GlyphLoader_CheckSubGlyphs() local
313 FT_GlyphLoad current = &loader->current; in FT_GlyphLoader_Prepare() local
316 current->outline.n_points = 0; in FT_GlyphLoader_Prepare()
317 current->outline.n_contours = 0; in FT_GlyphLoader_Prepare()
330 FT_GlyphLoad current = &loader->current; in FT_GlyphLoader_Add() local
[all …]
/AliOS-Things-master/components/SDL2/src/timer/
A DSDL_timer.c105 SDL_Timer *current; in SDL_TimerThread() local
133 current = pending; in SDL_TimerThread()
135 SDL_AddTimerInternal(data, current); in SDL_TimerThread()
152 current = data->timers; in SDL_TimerThread()
156 delay = (current->scheduled - tick); in SDL_TimerThread()
161 data->timers = current->next; in SDL_TimerThread()
166 interval = current->callback(current->interval, current->param); in SDL_TimerThread()
171 current->interval = interval; in SDL_TimerThread()
176 freelist_head = current; in SDL_TimerThread()
179 freelist_tail->next = current; in SDL_TimerThread()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dreduce.h72 TFLITE_DCHECK(current >= 0 && current < num_dims); in ResolveAxis()
73 if (current < 0 || current >= num_dims) { in ResolveAxis()
78 if (out_axis[j] == current) { in ResolveAxis()
84 out_axis[*out_num_axis] = current; in ResolveAxis()
100 return current + actual_in; in ReduceSumImpl()
112 size_t current = static_cast<size_t>(dims[idx]); in InitTensorDataForReduce() local
117 num_elements *= current; in InitTensorDataForReduce()
176 num_outputs *= current; in Mean()
204 num_elements_in_axis *= current; in Mean()
349 num_outputs *= current; in QuantizedMeanOrSum()
[all …]
/AliOS-Things-master/components/jsoncpp/src/lib_json/
A Djson_reader.cpp360 if (current != end && *current == '\n') in normalizeEOL()
362 ++current; in normalizeEOL()
554 ++current; in decodeNumber()
686 if (*(current++) == '\\' && *(current++) == 'u') { in decodeUnicodeCodePoint()
706 current); in decodeUnicodeEscapeSequence()
767 while (current < location && current != end_) { in getLocationLineAndColumn()
771 ++current; in getLocationLineAndColumn()
1336 if (current != end && *current == '\n') in normalizeEOL()
1563 ++current; in decodeNumber()
1733 if (*(current++) == '\\' && *(current++) == 'u') { in decodeUnicodeCodePoint()
[all …]
A Djson_valueiterator.h21 const Value::ObjectValues::iterator& current) in ValueIteratorBase() argument
22 : current_(current), isNull_(false) {} in ValueIteratorBase()
119 const Value::ObjectValues::iterator& current) in ValueConstIterator() argument
120 : ValueIteratorBase(current) {} in ValueConstIterator()
141 ValueIterator::ValueIterator(const Value::ObjectValues::iterator& current) in ValueIterator() argument
142 : ValueIteratorBase(current) {} in ValueIterator()
A Djson_tool.h81 static inline void uintToString(LargestUInt value, char*& current) { in uintToString() argument
82 *--current = 0; in uintToString()
84 *--current = static_cast<char>(value % 10U + static_cast<unsigned>('0')); in uintToString()
A Djson_value.cpp1531 while (current != end) { in makePath()
1532 if (*current == '[') { in makePath()
1533 ++current; in makePath()
1534 if (*current == '%') in makePath()
1538 for (; current != end && *current >= '0' && *current <= '9'; ++current) in makePath()
1542 if (current == end || *++current != ']') in makePath()
1546 ++current; in makePath()
1547 } else if (*current == '.' || *current == ']') { in makePath()
1548 ++current; in makePath()
1551 while (current != end && !strchr("[.", *current)) in makePath()
[all …]
/AliOS-Things-master/components/oss/src/external/json/
A Djsoncpp.cpp602 if (current != end && *current == '\n') in normalizeEOL()
796 ++current; in decodeNumber()
932 if (*(current++) == '\\' && *(current++) == 'u') { in decodeUnicodeCodePoint()
1019 while (current < location && current != end_) { in getLocationLineAndColumn()
1587 if (current != end && *current == '\n') in normalizeEOL()
1964 if (*(current++) == '\\' && *(current++) == 'u') { in decodeUnicodeCodePoint()
2051 while (current < location && current != end_) { in getLocationLineAndColumn()
4064 for (; current != end && *current >= '0' && *current <= '9'; ++current) in makePath()
4068 if (current == end || *++current != ']') in makePath()
4073 } else if (*current == '.' || *current == ']') { in makePath()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Dsqueeze.cc64 int current = squeeze_dims[idx] < 0 ? squeeze_dims[idx] + input_num_dims in Prepare() local
66 TF_LITE_ENSURE(context, current >= 0 && current < input_num_dims && in Prepare()
67 input_dims->data[current] == 1); in Prepare()
68 should_squeeze[current] = true; in Prepare()
/AliOS-Things-master/components/netmgr/src/
A Dnetmgr_conn.c43 netmgr_conn_t* current = g_netmgr_conn_list; in netmgr_conn_deinit() local
44 while(current != NULL) { in netmgr_conn_deinit()
45 if(current == conn) { in netmgr_conn_deinit()
48 current = current->next; in netmgr_conn_deinit()
52 if(current != NULL) { in netmgr_conn_deinit()
/AliOS-Things-master/components/SDL2/test/
A Dtestyuv.c263 int current = 0; in main() local
416 --current; in main()
418 ++current; in main()
423 --current; in main()
425 ++current; in main()
431 if (current < 0) { in main()
432 current += SDL_arraysize(output); in main()
434 if (current >= SDL_arraysize(output)) { in main()
435 current -= SDL_arraysize(output); in main()
439 SDL_RenderCopy(renderer, output[current], NULL, NULL); in main()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libwebp-1.0.2/src/enc/
A Dbackward_references_cost_enc.c376 CostInterval* current = manager->head_; in UpdateCostAtIndex() local
378 while (current != NULL && current->start_ <= i) { in UpdateCostAtIndex()
379 CostInterval* const next = current->next_; in UpdateCostAtIndex()
380 if (current->end_ <= i) { in UpdateCostAtIndex()
383 PopInterval(manager, current); in UpdateCostAtIndex()
386 UpdateCost(manager, i, current->index_, current->cost_); in UpdateCostAtIndex()
388 current = next; in UpdateCostAtIndex()
398 assert(current != NULL); in PositionOrphanInterval()
405 previous->next_->start_ < current->start_) { in PositionOrphanInterval()
412 ConnectIntervals(manager, current, manager->head_); in PositionOrphanInterval()
[all …]
A Dpredictor_enc.c74 VP8LPredictorsSub[0](current, NULL, 1, out); in PredictBatch()
77 VP8LPredictorsSub[2](current, upper, 1, out); in PredictBatch()
105 const int diff_up = MaxDiffBetweenPixels(current, up); in MaxDiffAroundPixel()
106 const int diff_down = MaxDiffBetweenPixels(current, down); in MaxDiffAroundPixel()
107 const int diff_left = MaxDiffBetweenPixels(current, left); in MaxDiffAroundPixel()
108 const int diff_right = MaxDiffBetweenPixels(current, right); in MaxDiffAroundPixel()
122 uint32_t current, up, down, left, right; in MaxDiffsForRow() local
125 current = argb[0]; in MaxDiffsForRow()
128 current = AddGreenToBlueAndRed(current); in MaxDiffsForRow()
135 left = current; in MaxDiffsForRow()
[all …]
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/libtests/
A Dpngimage.c387 buffer->current = NULL; in buffer_init()
415 buffer->current = NULL; in buffer_start_write()
422 buffer->current = &buffer->first; in buffer_start_read()
443 assert(current->next == NULL); in buffer_extend()
450 current->next = add; in buffer_extend()
1470 if ((current & write_transforms) == current) in test_one_file()
1491 if (is_combo(current)) in test_one_file()
1493 bad_combo &= current; in test_one_file()
1506 unsigned int next = current; in test_one_file()
1523 current = next; in test_one_file()
[all …]
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/utils/pm/
A Dmodule_charger.c53 int current; in native_charger_current_get() local
55 if (aos_charger_current_get(&current)) { in native_charger_current_get()
60 ret = current; in native_charger_current_get()
/AliOS-Things-master/components/ble_host/bt_host/ali_vendormodel_profile/
A Dali_vendormodel_profile.c40 u8_t current; member
101 net_buf_simple_add_u8(msg, g_onoff_state.current); in gen_onoff_get()
115 g_onoff_state.current = net_buf_simple_pull_u8(buf); in gen_onoff_set_unack()
120 if (g_onoff_state.current) { in gen_onoff_set_unack()
134 if (g_onoff_state.previous != g_onoff_state.current && in gen_onoff_set_unack()
137 g_onoff_state.previous, g_onoff_state.current); in gen_onoff_set_unack()
138 g_onoff_state.previous = g_onoff_state.current; in gen_onoff_set_unack()
140 net_buf_simple_add_u8(msg, g_onoff_state.current); in gen_onoff_set_unack()
/AliOS-Things-master/components/freetype/include/internal/
A Dftgloadr.h88 FT_GlyphLoadRec current; member
126 (_loader)->current.outline.n_points + \
131 (_loader)->current.outline.n_contours + \
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/vstudio/
A Dreadme.txt19 - Decompress current zlib, including all contrib/* files
28 - Decompress current zlib, including all contrib/* files
33 - Decompress current zlib, including all contrib/* files
38 - Decompress current zlib, including all contrib/* files
43 - Decompress current zlib, including all contrib/* files
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/memory_planner/
A Dgreedy_memory_planner.cc75 BufferRequirements* current = &requirements_[buffer_count_]; in AddBuffer() local
76 current->size = size; in AddBuffer()
77 current->first_time_used = first_time_used; in AddBuffer()
78 current->last_time_used = last_time_used; in AddBuffer()
79 current->offline_offset = kOnlinePlannedBuffer; in AddBuffer()
88 BufferRequirements* current = &requirements_[buffer_count_]; in AddBuffer() local
93 current->offline_offset = offline_offset; in AddBuffer()
/AliOS-Things-master/components/freetype/src/raster/
A Dftraster.c2142 current = *old; in InsNew()
2145 while ( current ) in InsNew()
2150 current = *old; in InsNew()
2172 current = *old; in DelOld()
2174 while ( current ) in DelOld()
2206 current = *list; in Sort()
2209 current->X = *current->offset; in Sort()
2210 current->offset += current->flags & Flow_Up ? 1 : -1; in Sort()
2212 current = current->link; in Sort()
2217 current = *old; in Sort()
[all …]
/AliOS-Things-master/components/SDL2/src/ttf/
A DSDL_ttf.c94 c_glyph *current; member
1273 glyph = font->current; in TTF_SizeUTF8()
1401 FT_Bitmap *current; in TTF_RenderUTF8_Solid() local
1454 glyph = font->current; in TTF_RenderUTF8_Solid()
1455 current = &glyph->bitmap; in TTF_RenderUTF8_Solid()
1458 width = current->width; in TTF_RenderUTF8_Solid()
1483 src = current->buffer + row * current->pitch; in TTF_RenderUTF8_Solid()
1578 FT_Bitmap* current; in TTF_RenderUTF8_Shaded() local
1646 glyph = font->current; in TTF_RenderUTF8_Shaded()
1675 src = current->buffer + row * current->pitch; in TTF_RenderUTF8_Shaded()
[all …]
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodcharger.c88 int current; in obj_getCurrent() local
99 LOGD(LOG_TAG, "%s: current = %d;\n", __func__, current); in obj_getCurrent()
101 return MP_ROM_INT(current); in obj_getCurrent()

Completed in 94 milliseconds

12345678