Home
last modified time | relevance | path

Searched refs:new_s (Results 1 – 23 of 23) sorted by relevance

/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/
Dresize_file.pass.cpp75 const std::uintmax_t new_s = 100; in basic_resize_file_test() local
77 resize_file(file1, new_s, ec); in basic_resize_file_test()
79 assert(file_size(file1) == new_s); in basic_resize_file_test()
82 const std::uintmax_t new_s = 1; in basic_resize_file_test() local
84 resize_file(file1, new_s, ec); in basic_resize_file_test()
86 assert(file_size(file1) == new_s); in basic_resize_file_test()
89 const std::uintmax_t new_s = 0; in basic_resize_file_test() local
91 resize_file(file1, new_s, ec); in basic_resize_file_test()
93 assert(file_size(file1) == new_s); in basic_resize_file_test()
97 const std::uintmax_t new_s = 1024; in basic_resize_file_test() local
[all …]
/external/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.resize_file/
Dresize_file.pass.cpp79 const std::uintmax_t new_s = 100; in TEST_CASE() local
81 resize_file(file1, new_s, ec); in TEST_CASE()
83 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
86 const std::uintmax_t new_s = 1; in TEST_CASE() local
88 resize_file(file1, new_s, ec); in TEST_CASE()
90 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
93 const std::uintmax_t new_s = 0; in TEST_CASE() local
95 resize_file(file1, new_s, ec); in TEST_CASE()
97 TEST_CHECK(file_size(file1) == new_s); in TEST_CASE()
101 const std::uintmax_t new_s = 1024; in TEST_CASE() local
[all …]
/external/python/cpython2/Modules/
Dstropmodule.c1096 char *new_s; in mymemreplace() local
1128 new_s = (char *)PyMem_MALLOC(new_len); in mymemreplace()
1129 if (new_s == NULL) in mymemreplace()
1131 out_s = new_s; in mymemreplace()
1140 memcpy(new_s, str, offset); in mymemreplace()
1145 new_s += offset; in mymemreplace()
1146 memcpy(new_s, sub, sub_len); in mymemreplace()
1147 new_s += sub_len; in mymemreplace()
1151 memcpy(new_s, str, len); in mymemreplace()
1172 char *str, *pat,*sub,*new_s; in strop_replace() local
[all …]
/external/oss-fuzz/projects/dnsmasq/
Dfuzz_header.h47 char *new_s = malloc(STR_SIZE + 1); in get_null_terminated() local
48 memcpy(new_s, *data, STR_SIZE); in get_null_terminated()
49 new_s[STR_SIZE] = '\0'; in get_null_terminated()
53 return new_s; in get_null_terminated()
61 char *new_s = malloc(to_get); in gb_get_random_data() local
62 memcpy(new_s, *data, to_get); in gb_get_random_data()
64 pointer_arr[pointer_idx++] = (void*)new_s; in gb_get_random_data()
69 return new_s; in gb_get_random_data()
/external/tensorflow/tensorflow/core/kernels/image/
Dadjust_hsv_gpu.cu.h114 float new_s = hsv.s; in adjust_hsv_nhwc() local
127 new_s = fminf(1.0f, fmaxf(0.0f, hsv.s * scale)); in adjust_hsv_nhwc()
134 const RgbTuple rgb = hsv2rgb_cuda(new_h, new_s, new_v); in adjust_hsv_nhwc()
/external/tensorflow/tensorflow/python/autograph/utils/
Dmisc_test.py44 new_a, new_v, new_s, new_l = misc.alias_tensors(a, v, s, l)
48 self.assertTrue(new_s is s)
/external/cronet/buildtools/third_party/libc++/trunk/test/std/utilities/memory/util.smartptr/util.smartptr.enab/
Denable_shared_from_this.pass.cpp108 std::shared_ptr<T> new_s = ptr->shared_from_this(); in main() local
109 assert(new_s == s); in main()
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.enab/
Denable_shared_from_this.pass.cpp108 std::shared_ptr<T> new_s = ptr->shared_from_this(); in main() local
109 assert(new_s == s); in main()
/external/harfbuzz_ng/src/
Dhb-ot-shaper-hangul.cc323 hb_codepoint_t new_s = s + new_tindex; in preprocess_text_hangul() local
324 if (font->has_glyph (new_s)) in preprocess_text_hangul()
326 (void) buffer->replace_glyphs (2, 1, &new_s); in preprocess_text_hangul()
/external/cronet/buildtools/third_party/libc++/trunk/src/filesystem/
Ddirectory_iterator.cpp216 __dir_stream new_s(p, opt, m_ec); in recursive_directory_iterator() local
219 if (m_ec || !new_s.good()) in recursive_directory_iterator()
224 __imp_->__stack_.push(std::move(new_s)); in recursive_directory_iterator()
/external/libcxx/src/filesystem/
Ddirectory_iterator.cpp281 __dir_stream new_s(p, opt, m_ec); in recursive_directory_iterator() local
284 if (m_ec || !new_s.good()) in recursive_directory_iterator()
289 __imp_->__stack_.push(move(new_s)); in recursive_directory_iterator()
/external/libxkbcommon/src/compose/
Dparser.c472 struct scanner new_s; in do_include() local
494 scanner_init(&new_s, table->ctx, string, size, path, s->priv); in do_include()
496 ok = parse(table, &new_s, include_depth + 1); in do_include()
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py82 new_s = [compat.as_bytes(
87 list=attr_value_pb2.AttrValue.ListValue(s=new_s)))
90 new_s = compat.as_bytes(ops.strip_name_scope(v.s, export_scope))
91 node_def.attr[k].CopyFrom(attr_value_pb2.AttrValue(s=new_s))
/external/selinux/libsemanage/src/
Dsemanage_store.c1243 char *new_s = realloc(s, len + 2); in append() local
1244 if (new_s == NULL) { in append()
1247 s = new_s; in append()
1262 char *new_s; in append_str() local
1268 new_s = realloc(s, s_len + t_len + 1); in append_str()
1269 if (new_s == NULL) { in append_str()
1272 s = new_s; in append_str()
/external/rust/crates/crossbeam-channel/tests/
Dlist.rs559 let (new_s, new_r) = unbounded(); in channel_through_channel()
563 s = new_s; in channel_through_channel()
Dzero.rs564 let (new_s, new_r) = bounded(0); in channel_through_channel()
568 s = new_s; in channel_through_channel()
Darray.rs668 let (new_s, new_r) = bounded(1); in channel_through_channel()
672 s = new_s; in channel_through_channel()
Dready.rs696 let (new_s, new_r) = bounded(cap); in channel_through_channel()
708 s = new_s; in channel_through_channel()
Dselect_macro.rs709 let (new_s, new_r) = bounded(cap); in channel_through_channel()
716 s = new_s; in channel_through_channel()
Dselect.rs969 let (new_s, new_r) = bounded(cap); in channel_through_channel()
982 s = new_s; in channel_through_channel()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dsocket_ops.ipp88 socket_type new_s = error_wrapper(call_accept(
90 if (new_s == invalid_socket)
91 return new_s;
95 int result = error_wrapper(::setsockopt(new_s,
99 ::close(new_s);
105 return new_s;
/external/cronet/third_party/googletest/src/googlemock/test/
Dgmock-matchers-containers_test.cc616 void set_s(const std::string& new_s) { s_ = new_s; } in set_s() argument
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc4282 void set_s(const std::string& new_s) { s_ = new_s; } in TEST() argument