/AliOS-Things-master/components/jsoncpp/src/lib_json/ |
A D | json_tool.h | 94 template <typename Iter> Iter fixNumericLocale(Iter begin, Iter end) { in fixNumericLocale() argument 95 for (; begin != end; ++begin) { in fixNumericLocale() 96 if (*begin == ',') { in fixNumericLocale() 97 *begin = '.'; in fixNumericLocale() 100 return begin; in fixNumericLocale() 108 for (; begin != end; ++begin) { in fixNumericLocaleInput() 109 if (*begin == '.') { in fixNumericLocaleInput() 110 *begin = decimalPoint; in fixNumericLocaleInput() 120 Iter fixZerosInTheEnd(Iter begin, Iter end, unsigned int precision) { in fixZerosInTheEnd() argument 121 for (; begin != end; --end) { in fixZerosInTheEnd() [all …]
|
A D | json_value.cpp | 412 duplicateAndPrefixStringValue(begin, static_cast<unsigned>(end - begin)); in Value() 623 begin); in getString() 624 *end = *begin + length; in getString() 1087 CZString actualKey(begin, static_cast<unsigned>(end - begin), in find() 1098 return &resolveReference(begin, end); in demand() 1156 Value const* found = find(begin, end); in get() 1170 CZString actualKey(begin, static_cast<unsigned>(end - begin), in removeMember() 1222 Value const* value = find(begin, end); in isMember() 1447 Value::const_iterator Value::begin() const { in begin() function in Json::Value 1473 Value::iterator Value::begin() { in begin() function in Json::Value [all …]
|
A D | json_reader.cpp | 93 document_.assign(document.begin(), document.end()); in parse() 94 const char* begin = document_.c_str(); in parse() local 95 const char* end = begin + document_.length(); in parse() 96 return parse(begin, end, root, collectComments); in parse() 356 Reader::Location current = begin; in normalizeEOL() 372 void Reader::addComment(Location begin, Location end, in addComment() argument 375 const String& normalized = normalizeEOL(begin, end); in addComment() 1332 OurReader::Location current = begin; in normalizeEOL() 1976 char const* begin = doc.data(); in parseFromStream() local 1977 char const* end = begin + doc.size(); in parseFromStream() [all …]
|
A D | json_writer.cpp | 142 &*buffer.begin(), buffer.size(), in valueToString() 165 buffer.erase(fixZerosInTheEnd(buffer.begin(), buffer.end(), precision), in valueToString() 421 for (auto it = members.begin(); it != members.end(); ++it) { in writeValue() 423 if (it != members.begin()) in writeValue() 489 auto it = members.begin(); in writeValue() 618 String::const_iterator iter = comment.begin(); in writeCommentBeforeValue() 707 auto it = members.begin(); in writeValue() 838 String::const_iterator iter = comment.begin(); in writeCommentBeforeValue() 982 auto it = members.begin(); in writeValue() 1124 String::const_iterator iter = comment.begin(); in writeCommentBeforeValue() [all …]
|
/AliOS-Things-master/components/py_engine/engine/extmod/ |
A D | modure.c | 120 s = start - begin; in match_span_helper() 191 subj.end = subj.begin + len; in ure_exec() 224 subj.end = subj.begin + len; in re_split() 244 … mp_obj_t s = mp_obj_new_str_of_type(str_type, (const byte *)subj.begin, caps[0] - subj.begin); in re_split() 249 subj.begin = caps[1]; in re_split() 257 mp_obj_t s = mp_obj_new_str_of_type(str_type, (const byte *)subj.begin, subj.end - subj.begin); in re_split() 283 subj.begin = where_str; in re_sub_helper() 284 subj.end = subj.begin + where_len; in re_sub_helper() 310 vstr_add_strn(&vstr_return, subj.begin, match->caps[0] - subj.begin); in re_sub_helper() 357 subj.begin = match->caps[1]; in re_sub_helper() [all …]
|
/AliOS-Things-master/components/uvoice/test/ |
A D | test_main.c | 18 char *begin; in handle_input() local 41 begin = ptr; in handle_input() 44 ptr = begin; in handle_input() 51 len = end - begin; in handle_input() 59 memcpy(temp, begin, len); in handle_input()
|
/AliOS-Things-master/components/uvoice/stream/ |
A D | uvoice_partition.c | 25 uint32_t begin; member 35 uint32_t begin; member 188 *begin = atoi(ptr); in partition_info_parse() 230 loader->begin, loader->bin_size); in partition_loader_update() 255 loader->rd_offset = loader->begin; in partition_loader_update() 277 loader->begin = 0; in partition_loader_reset() 278 loader->rd_offset = loader->begin; in partition_loader_reset() 381 loader->rd_offset = loader->begin; in partition_loader_action() 461 loader->rd_offset = loader->begin; in partition_loader_create() 573 wr_offset = packer->begin + pos; in partition_packer_update() [all …]
|
/AliOS-Things-master/components/linkkit/external/nghttp2/ |
A D | nghttp2_buf.c | 34 buf->begin = NULL; in nghttp2_buf_init() 53 nghttp2_mem_free(mem, buf->begin); in nghttp2_buf_free() 54 buf->begin = NULL; in nghttp2_buf_free() 75 buf->pos = ptr + (buf->pos - buf->begin); in nghttp2_buf_reserve() 76 buf->last = ptr + (buf->last - buf->begin); in nghttp2_buf_reserve() 77 buf->mark = ptr + (buf->mark - buf->begin); in nghttp2_buf_reserve() 78 buf->begin = ptr; in nghttp2_buf_reserve() 86 buf->pos = buf->last = buf->mark = buf->begin; in nghttp2_buf_reset() 91 buf->begin = buf->pos = buf->last = buf->mark = begin; in nghttp2_buf_wrap_init() 92 buf->end = begin + len; in nghttp2_buf_wrap_init() [all …]
|
A D | nghttp2_buf.h | 39 uint8_t *begin; member 56 #define nghttp2_buf_cap(BUF) ((size_t)((BUF)->end - (BUF)->begin)) 58 #define nghttp2_buf_pos_offset(BUF) ((size_t)((BUF)->pos - (BUF)->begin)) 59 #define nghttp2_buf_last_offset(BUF) ((size_t)((BUF)->last - (BUF)->begin)) 119 void nghttp2_buf_wrap_init(nghttp2_buf *buf, uint8_t *begin, size_t len); 214 int nghttp2_bufs_wrap_init(nghttp2_bufs *bufs, uint8_t *begin, size_t len,
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/ |
A D | top_n.h | 179 UnsortedIterator unsorted_begin() const { return elements_.begin(); } in unsorted_begin() 180 UnsortedIterator unsorted_end() const { return elements_.begin() + size(); } in unsorted_end() 232 std::make_heap(elements_.begin(), elements_.end(), cmp_); in PushInternal() 234 std::pop_heap(elements_.begin(), elements_.end(), cmp_); in PushInternal() 241 std::push_heap(elements_.begin(), elements_.end(), cmp_); in PushInternal() 243 std::pop_heap(elements_.begin(), elements_.end(), cmp_); in PushInternal() 277 std::sort(out->begin(), out->end(), cmp_); in Extract() 280 std::sort_heap(out->begin(), out->end(), cmp_); in Extract() 308 std::sort(output->begin(), output->end(), cmp_); in ExtractNondestructive() 311 std::sort_heap(output->begin(), output->end(), cmp_); in ExtractNondestructive()
|
/AliOS-Things-master/components/oss/src/model/ |
A D | LifecycleRule.cc | 122 auto first = transitionList_.begin(); in operator ==() 123 auto Rightfirst = right.transitionList_.begin(); in operator ==() 140 auto firstTag = tagSet_.begin(); in operator ==() 141 auto RightfirstTag = right.tagSet_.begin(); in operator ==() 166 first = noncurrentVersionTransitionList_.begin(); in operator ==() 167 Rightfirst = right.noncurrentVersionTransitionList_.begin(); in operator ==()
|
A D | GetObjectRequest.cc | 134 int64_t begin = -1; in Range() local 137 begin = range_[0]; in Range() 141 return std::pair<int64_t, int64_t>(begin, end); in Range()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/function_test/core/ |
A D | locationclient_ft.cc | 44 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 47 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST() 81 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 84 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST() 118 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 121 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST() 155 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 158 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST() 184 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in cb() 187 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in cb()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | strided_slice.cc | 42 begin = GetInput(context, node, kBeginTensor); in StridedSliceContext() 50 const TfLiteTensor* begin; member 69 op_params.start_indices[i] = GetTensorData<int32_t>(op_context->begin)[i]; in BuildStridedSliceParams() 96 int32_t begin = StartForAxis(op_params, input_shape, idx); in CheckOutputSize() local 97 int32_t end = StopForAxis(op_params, input_shape, idx, begin); in CheckOutputSize() 105 end = begin + 1; in CheckOutputSize() 109 int32_t dim_shape = std::ceil((end - begin) / static_cast<float>(stride)); in CheckOutputSize()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/ |
A D | EndpointProvider.cc | 130 transform(product_.begin(), product_.end(), product_.begin(), ::tolower); in EndpointProvider() 144 transform(product_.begin(), product_.end(), product_.begin(), ::tolower); in EndpointProvider() 164 allRegionsit = std::find(allRegions.begin(), allRegions.end(), regionId); in localEndpoint() 171 std::find(allProductsInLocalEndpoints.begin(), in localEndpoint() 179 it = std::find(vec.begin(), vec.end(), regionId); in localEndpoint()
|
A D | Url.cc | 191 std::transform(host_.begin(), host_.end(), host_.begin(), ::tolower); in setHost() 208 std::transform(scheme_.begin(), scheme_.end(), scheme_.begin(), ::tolower); in setScheme()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | locationclient_ut.cc | 58 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 60 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST() 95 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 97 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST() 129 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 131 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST() 165 it = std::find(protocols.begin(), protocols.end(), string("HTTP")); in TEST() 167 it = std::find(protocols.begin(), protocols.end(), string("HTTPS")); in TEST()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/ |
A D | context_util.h | 40 const_iterator begin() const { return int_array_->data; } in begin() function 42 size_t size() const { return end() - begin(); } in size()
|
/AliOS-Things-master/components/jsoncpp/include/json/ |
A D | value.h | 324 Value(const char* begin, const char* end); ///< Copy all, incl zeroes. 385 bool getString(char const** begin, char const** end) const; 505 Value get(const char* begin, const char* end, 514 Value const* find(char const* begin, char const* end) const; 518 Value* demand(char const* begin, char const* end); 539 bool removeMember(const char* begin, const char* end, Value* removed); 555 bool isMember(const char* begin, const char* end) const; 581 const_iterator begin() const; 584 iterator begin();
|
A D | reader.h | 223 void addComment(Location begin, Location end, CommentPlacement placement); 226 static bool containsNewLine(Location begin, Location end); 227 static String normalizeEOL(Location begin, Location end);
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/mlir/testing/op_tests/ |
A D | shape_to_strided_slice.py | 37 begin = parameters["begin"] 43 begin,
|
/AliOS-Things-master/components/oss/src/external/json/ |
A D | jsoncpp.cpp | 182 while (begin < end) { in fixNumericLocale() 183 if (*begin == ',') { in fixNumericLocale() 184 *begin = '.'; in fixNumericLocale() 186 ++begin; in fixNumericLocale() 193 while (begin < end) { in fixNumericLocaleInput() 194 if (*begin == '.') { in fixNumericLocaleInput() 197 ++begin; in fixNumericLocaleInput() 308 for (; begin < end; ++begin) in containsNewLine() 309 if (*begin == '\n' || *begin == '\r') in containsNewLine() 1265 for (; begin < end; ++begin) in containsNewLine() [all …]
|
A D | json.h | 763 Value(const char* begin, const char* end); ///< Copy all, incl zeroes. 827 char const** begin, char const** end) const; 974 Value const* find(char const* begin, char const* end) const; 978 Value const* demand(char const* begin, char const* end); 1002 bool removeMember(const char* begin, const char* end, Value* removed); 1018 bool isMember(const char* begin, const char* end) const; 1049 const_iterator begin() const; 1052 iterator begin(); 1598 void addComment(Location begin, Location end, CommentPlacement placement); 1601 static bool containsNewLine(Location begin, Location end); [all …]
|
/AliOS-Things-master/components/py_engine/engine/lib/re1.5/ |
A D | recursiveloop.c | 71 if(sp != input->begin) in recursiveloop() 86 return recursiveloop(HANDLE_ANCHORED(prog->insts, is_anchored), input->begin, input, subp, nsubp); in re1_5_recursiveloopprog()
|
/AliOS-Things-master/components/oss/src/http/ |
A D | Url.cc | 252 std::transform(host_.begin(), host_.end(), host_.begin(), ::tolower); in setHost() 282 std::transform(scheme_.begin(), scheme_.end(), scheme_.begin(), ::tolower); in setScheme()
|