Home
last modified time | relevance | path

Searched refs:tss (Results 1 – 25 of 53) sorted by relevance

123

/external/tensorflow/tensorflow/core/util/
Dtensor_slice_set_test.cc44 TensorSliceSet tss(shape, DT_FLOAT); in TEST() local
54 TF_CHECK_OK(tss.Register(slice_1, "", src_1)); in TEST()
63 TF_CHECK_OK(tss.Register(slice_2, "", src_2)); in TEST()
72 TF_CHECK_OK(tss.Register(slice_3, "", src_3)); in TEST()
91 EXPECT_TRUE(tss.Query(s, results)); in TEST()
106 EXPECT_TRUE(tss.Query(s, results)); in TEST()
122 EXPECT_TRUE(tss.Query(s, results)); in TEST()
136 EXPECT_FALSE(tss.Query(s, results)); in TEST()
144 TensorSliceSet tss(shape, DT_INT32); in TEST() local
153 TF_CHECK_OK(tss.Register(slice_1, "slice_1", nullptr)); in TEST()
[all …]
Dtensor_slice_reader.cc192 const TensorSliceSet* tss = gtl::FindPtrOrNull(tensors_, name); in FindTensorSlice() local
193 if (tss && !tss->QueryMeta(slice, details)) { in FindTensorSlice()
196 return tss; in FindTensorSlice()
204 const TensorSliceSet* tss = gtl::FindPtrOrNull(tensors_, name); in HasTensor() local
205 if (!tss && !all_shards_loaded_) { in HasTensor()
209 tss = gtl::FindPtrOrNull(tensors_, name); in HasTensor()
211 if (tss) { in HasTensor()
213 *shape = tss->shape(); in HasTensor()
216 *type = tss->type(); in HasTensor()
231 const TensorSliceSet* tss = gtl::FindPtrOrNull(tensors_, name); in GetTensor() local
[all …]
Dtensor_slice_set.cc176 TensorSliceSet* tss = gtl::FindPtrOrNull(*tensor_slices, name); in RegisterTensorSlice() local
178 if (!tss) { in RegisterTensorSlice()
179 tss = new TensorSliceSet(shape, type); in RegisterTensorSlice()
180 tensor_slices->insert(std::make_pair(name, tss)); in RegisterTensorSlice()
183 const TensorShape& tss_shape(tss->shape()); in RegisterTensorSlice()
189 if (type != tss->type()) { in RegisterTensorSlice()
192 ": existing = ", DataTypeString(tss->type()), in RegisterTensorSlice()
197 return tss->Register(slice, tag, nullptr); in RegisterTensorSlice()
Dtensor_slice_reader.h148 const TensorSliceSet* tss; in CopySliceData() local
151 tss = FindTensorSlice(name, slice, &details); in CopySliceData()
152 if (!tss && !all_shards_loaded_) { in CopySliceData()
156 tss = FindTensorSlice(name, slice, &details); in CopySliceData()
158 if (!tss) { in CopySliceData()
185 tss->shape(), slice_s, slice, in CopySliceData()
/external/epid-sdk/epid/member/tpm2/unittests/
Dcreateprimary-test.cc34 Tpm2CtxObj tss(nullptr, nullptr, nullptr, epid2params); in TEST_F() local
36 EXPECT_EQ(kEpidBadArgErr, Tpm2CreatePrimary(tss, nullptr)); in TEST_F()
42 Tpm2CtxObj tss(Prng::Generate, &prng, nullptr, epid2params); in TEST_F() local
44 THROW_ON_EPIDERR(Tpm2SetHashAlg(tss, kSha256)); in TEST_F()
45 EXPECT_EQ(kEpidNoErr, Tpm2CreatePrimary(tss, &res)); in TEST_F()
Dgetrandom-tss-test.cc35 Tpm2CtxObj tss(nullptr, nullptr, nullptr, epid2params); in TEST_F() local
39 EXPECT_EQ(kEpidNoErr, Tpm2GetRandom(tss, length * CHAR_BIT, buf1.data())); in TEST_F()
40 EXPECT_EQ(kEpidNoErr, Tpm2GetRandom(tss, length * CHAR_BIT, buf2.data())); in TEST_F()
/external/python/cpython3/Lib/test/
Dtest_thread.py89 for tss in (262144, 0x100000, 0):
90 thread.stack_size(tss)
91 self.assertEqual(thread.stack_size(), tss, fail_msg % tss)
92 verbose_print("successfully set stack_size(%d)" % tss)
94 for tss in (262144, 0x100000):
95 verbose_print("trying stack_size = (%d)" % tss)
/external/python/cpython2/Lib/test/
Dtest_thread.py90 for tss in (262144, 0x100000, 0):
91 thread.stack_size(tss)
92 self.assertEqual(thread.stack_size(), tss, fail_msg % tss)
93 verbose_print("successfully set stack_size(%d)" % tss)
95 for tss in (262144, 0x100000):
96 verbose_print("trying stack_size = (%d)" % tss)
/external/grpc-grpc/test/core/iomgr/
Dbuffer_list_test.cc79 struct grpc_core::scm_timestamping tss; in TestVerifierCalledOnAck() local
80 tss.ts[0].tv_sec = 123; in TestVerifierCalledOnAck()
81 tss.ts[0].tv_nsec = 456; in TestVerifierCalledOnAck()
88 grpc_core::TracedBuffer::ProcessTimestamp(&list, &serr, &tss); in TestVerifierCalledOnAck()
/external/grpc-grpc/src/core/lib/iomgr/
Dbuffer_list.cc66 struct scm_timestamping* tss) { in ProcessTimestamp() argument
76 fill_gpr_from_timestamp(&(elem->ts_.scheduled_time), &(tss->ts[0])); in ProcessTimestamp()
80 fill_gpr_from_timestamp(&(elem->ts_.sent_time), &(tss->ts[0])); in ProcessTimestamp()
84 fill_gpr_from_timestamp(&(elem->ts_.acked_time), &(tss->ts[0])); in ProcessTimestamp()
/external/drrickorang/LoopbackApp/app/src/main/cpp/lb2/
Dloopback2.cpp140 static callbackTimeStamps tss = { in lb2GetPlayerTimeStampsAndExpectedBufferPeriod() local
148 *ppTSs = &tss; in lb2GetPlayerTimeStampsAndExpectedBufferPeriod()
153 static callbackTimeStamps tss = { in lb2GetRecorderTimeStampsAndExpectedBufferPeriod() local
161 *ppTSs = &tss; in lb2GetRecorderTimeStampsAndExpectedBufferPeriod()
/external/epid-sdk/epid/member/tpm2/ibm_tss/
Dnv.c42 rc = TSS_Execute(ctx->tss, NULL, (COMMAND_PARAMETERS*)&in, NULL, in Tpm2NvUndefineSpace()
73 rc = TSS_Execute(ctx->tss, NULL, (COMMAND_PARAMETERS*)&in, NULL, in Tpm2NvDefineSpace()
119 rc = TSS_Execute(ctx->tss, (RESPONSE_PARAMETERS*)&out, in Tpm2NvRead()
158 rc = TSS_Execute(ctx->tss, NULL, (COMMAND_PARAMETERS*)&in, NULL, in Tpm2NvWrite()
Dcontext.c92 rc = TSS_Create(&tpm_ctx->tss); in Tpm2CreateContext()
116 TSS_Delete((*ctx)->tss); in Tpm2DeleteContext()
143 rc = TSS_Execute(ctx->tss, NULL, (COMMAND_PARAMETERS*)&in, NULL, in Tpm2FlushKey()
Dload_external.c66 TSS_Execute(ctx->tss, NULL, (COMMAND_PARAMETERS*)&in_fc, NULL, in Tpm2LoadExternal()
117 rc = TSS_Execute(ctx->tss, (RESPONSE_PARAMETERS*)&out, in Tpm2LoadExternal()
Dsign.c83 TSS_Execute(ctx->tss, (RESPONSE_PARAMETERS*)&out, in Tpm2Sign()
143 TSS_Execute(ctx->tss, (RESPONSE_PARAMETERS*)&out, in Tpm2ReleaseCounter()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtxtimestamp.c120 static void print_timestamp(struct scm_timestamping *tss, int tstype, in print_timestamp() argument
139 __print_timestamp(tsname, &tss->ts[0], tskey, payload_len); in print_timestamp()
184 struct scm_timestamping *tss = NULL; in __recv_errmsg_cmsg() local
193 tss = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
220 if (serr && tss) { in __recv_errmsg_cmsg()
221 print_timestamp(tss, serr->ee_info, serr->ee_data, in __recv_errmsg_cmsg()
224 tss = NULL; in __recv_errmsg_cmsg()
/external/python/cpython3/Lib/email/
D_parseaddr.py118 tss = '0'
120 [thh, tmm, tss] = tm
126 tss = 0
128 [thh, tmm, tss] = tm
136 tss = int(tss)
171 return [yy, mm, dd, thh, tmm, tss, 0, 1, -1, tzoffset]
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/testfrmw/
Dthreads_scenarii.c200 long tsa, tss, tps; in scenar_init() local
205 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
211 output(" TSS: %li\n", tss); in scenar_init()
379 if ((tss > 0) && (tsa > 0)) { in scenar_init()
433 if (tss > 0) { in scenar_init()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_self/
Dthreads_scenarii.c214 long tsa, tss, tps; in scenar_init() local
219 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
225 output(" TSS: %li\n", tss); in scenar_init()
399 if ((tss > 0) && (tsa > 0)) { /* This routine is dependent on the Thread Stack Address Attribute in scenar_init()
453 if (tss > 0) { /* This routine is dependent on the Thread Stack Size Attribute option */ in scenar_init()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_exit/
Dthreads_scenarii.c147 long tsa, tss, tps; in scenar_init() local
152 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
158 output(" TSS: %li\n", tss); in scenar_init()
332 if ((tss > 0) && (tsa > 0)) { /* This routine is dependent on the Thread Stack Address Attribute in scenar_init()
386 if (tss > 0) { /* This routine is dependent on the Thread Stack Size Attribute option */ in scenar_init()
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_create/
Dthreads_scenarii.c147 long tsa, tss, tps; in scenar_init() local
152 tss = sysconf(_SC_THREAD_ATTR_STACKSIZE); in scenar_init()
158 output(" TSS: %li\n", tss); in scenar_init()
332 if ((tss > 0) && (tsa > 0)) { /* This routine is dependent on the Thread Stack Address Attribute in scenar_init()
386 if (tss > 0) { /* This routine is dependent on the Thread Stack Size Attribute option */ in scenar_init()
/external/python/cpython2/Python/
Dthread_pthread.h169 size_t tss; in PyThread_start_new_thread() local
181 tss = (_pythread_stacksize != 0) ? _pythread_stacksize in PyThread_start_new_thread()
183 if (tss != 0) { in PyThread_start_new_thread()
184 if (pthread_attr_setstacksize(&attrs, tss) != 0) { in PyThread_start_new_thread()
/external/epid-sdk/epid/member/
Dmember.parts89 PrintError("--use-tss is not compatiable with x86_64 target. "
112 excludes=['*-tss-test.cc'],
172 tss_libname = env['LIBPREFIX'] + 'tss' + libpost
178 tss_shlibname = env['SHLIBPREFIX'] + 'tss' + shlibpost
/external/python/cpython2/Lib/email/
D_parseaddr.py97 tss = '0'
99 [thh, tmm, tss] = tm
107 tss = int(tss)
140 return yy, mm, dd, thh, tmm, tss, 0, 1, -1, tzoffset
/external/python/cpython3/Python/
Dthread_pthread.h187 size_t tss; in PyThread_start_new_thread() local
201 tss = (stacksize != 0) ? stacksize : THREAD_STACK_SIZE; in PyThread_start_new_thread()
202 if (tss != 0) { in PyThread_start_new_thread()
203 if (pthread_attr_setstacksize(&attrs, tss) != 0) { in PyThread_start_new_thread()

123