Home
last modified time | relevance | path

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

/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/tensorflow/tensorflow/core/kernels/
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.py57 new_a, new_v, new_s, new_l = misc.alias_tensors(a, v, s, l)
61 self.assertTrue(new_s is s)
/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-shape-complex-hangul.cc321 hb_codepoint_t new_s = s + new_tindex; in preprocess_text_hangul() local
322 if (font->has_glyph (new_s)) in preprocess_text_hangul()
324 buffer->replace_glyphs (2, 1, &new_s); in preprocess_text_hangul()
/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/xkbcommon/src/compose/
Dparser.c493 struct scanner new_s; in do_include() local
515 scanner_init(&new_s, table->ctx, string, size, path, s->priv); in do_include()
517 ok = parse(table, &new_s, include_depth + 1); in do_include()
/external/tensorflow/tensorflow/python/framework/
Dmeta_graph.py87 new_s = [compat.as_bytes(
92 list=attr_value_pb2.AttrValue.ListValue(s=new_s)))
95 new_s = compat.as_bytes(ops.strip_name_scope(v.s, export_scope))
96 node_def.attr[k].CopyFrom(attr_value_pb2.AttrValue(s=new_s))
/external/selinux/libsemanage/src/
Dsemanage_store.c1214 char *new_s = realloc(s, len + 2); in append() local
1215 if (new_s == NULL) { in append()
1218 s = new_s; in append()
1233 char *new_s; in append_str() local
1239 new_s = realloc(s, s_len + t_len + 1); in append_str()
1240 if (new_s == NULL) { in append_str()
1243 s = new_s; in append_str()
/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/google-breakpad/src/testing/test/
Dgmock-matchers_test.cc3126 void set_s(const string& new_s) { s_ = new_s; } in set_s() argument
/external/googletest/googlemock/test/
Dgmock-matchers_test.cc3977 void set_s(const std::string& new_s) { s_ = new_s; } in set_s() argument