Home
last modified time | relevance | path

Searched refs:shp (Results 1 – 16 of 16) sorted by relevance

/external/toybox/toys/lsb/
Dsu.c46 struct spwd *shp; in su_main() local
56 if (!(shp = getspnam(name))) perror_exit("no '%s'", name); in su_main()
58 if (*shp->sp_pwdp != '$') goto deny; in su_main()
60 passhash = crypt(toybuf, shp->sp_pwdp); in su_main()
62 if (!passhash || strcmp(passhash, shp->sp_pwdp)) goto deny; in su_main()
/external/tcpdump/
Dprint-decnet.c876 const struct seghdr *shp = (const struct seghdr *)nspp; in print_nsp() local
882 ND_TCHECK(shp->sh_seq[0]); in print_nsp()
883 ack = EXTRACT_LE_16BITS(shp->sh_seq[0]); in print_nsp()
892 ND_TCHECK(shp->sh_seq[1]); in print_nsp()
893 ack = EXTRACT_LE_16BITS(shp->sh_seq[1]); in print_nsp()
902 ND_TCHECK(shp->sh_seq[2]); in print_nsp()
903 ack = EXTRACT_LE_16BITS(shp->sh_seq[2]); in print_nsp()
912 const struct seghdr *shp = (const struct seghdr *)nspp; in print_nsp() local
918 ND_TCHECK(shp->sh_seq[0]); in print_nsp()
919 ack = EXTRACT_LE_16BITS(shp->sh_seq[0]); in print_nsp()
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dconstant_folding.cc228 const PartialTensorShape& shp, Tensor* value) { in ConvertShapeToConstant() argument
230 *value = Tensor(type, TensorShape({shp.dims()})); in ConvertShapeToConstant()
231 for (int i = 0; i < shp.dims(); ++i) { in ConvertShapeToConstant()
233 if (shp.dim_size(i) >= INT_MAX) { in ConvertShapeToConstant()
236 value->flat<int32>()(i) = shp.dim_size(i); in ConvertShapeToConstant()
238 value->flat<int64>()(i) = shp.dim_size(i); in ConvertShapeToConstant()
243 for (int i = 0; i < shp.dims(); ++i) { in ConvertShapeToConstant()
244 size *= shp.dim_size(i); in ConvertShapeToConstant()
258 if (shp.dims() >= INT_MAX) { in ConvertShapeToConstant()
261 value->flat<int32>()(0) = shp.dims(); in ConvertShapeToConstant()
[all …]
Dmemory_optimizer.cc569 PartialTensorShape shp(shape); in SchedulingPass() local
570 if (!shp.IsFullyDefined()) { in SchedulingPass()
/external/vboot_reference/host/lib/
Dcrossystem.c288 const VbSharedDataKernelPart* shp = in GetVdatLoadKernelDebug() local
301 shp->gpt_index, in GetVdatLoadKernelDebug()
302 shp->sector_start, in GetVdatLoadKernelDebug()
303 shp->sector_count, in GetVdatLoadKernelDebug()
304 shp->combined_version, in GetVdatLoadKernelDebug()
305 shp->check_result, in GetVdatLoadKernelDebug()
306 shp->flags); in GetVdatLoadKernelDebug()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/
DArabicShapingRegTest.java192 …ArabicShaping shp = new ArabicShaping(LETTERS_SHAPE | TEXT_DIRECTION_VISUAL_LTR | LENGTH_FIXED_SPA… in TestCoverage() local
196 shp.toString(), in TestCoverage()
201 assertEquals("ArabicShaping#hashCode() failed.", shp.hashCode(), 13); in TestCoverage()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/shaping/
DArabicShapingRegTest.java195 …ArabicShaping shp = new ArabicShaping(LETTERS_SHAPE | TEXT_DIRECTION_VISUAL_LTR | LENGTH_FIXED_SPA… in TestCoverage() local
199 shp.toString(), in TestCoverage()
204 assertEquals("ArabicShaping#hashCode() failed.", shp.hashCode(), 13); in TestCoverage()
/external/toolchain-utils/cros_utils/
Dstats.py2053 shp = list(inarray.shape)
2054 shp[dimension] = 1
2055 sum = N.reshape(sum, shp)
2065 shp = list(inarray.shape)
2067 shp[dim] = 1
2068 mult = N.reshape(mult, shp)
2093 shp = list(inarray.shape)
2094 shp[dimension] = 1
2095 s = N.reshape(s, shp)
2118 shp = list(inarray.shape)
[all …]
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc235 NodeDef* shp = item.graph.add_node(); in RunInfiniteTFLoop() local
236 shp->set_name("shape"); in RunInfiniteTFLoop()
237 shp->set_op("Const"); in RunInfiniteTFLoop()
238 (*shp->mutable_attr())["dtype"].set_type(DT_INT32); in RunInfiniteTFLoop()
242 (*shp->mutable_attr())["value"].mutable_tensor()); in RunInfiniteTFLoop()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc416 std::size_t operator()(const ShapeId& shp) const { in operator ()()
417 return std::hash<const Node*>{}(shp.node) + shp.port_id; in operator ()()
564 ShapeHandle shp = c->UnknownShape(); in GetUnknownOutputShape() local
565 unknown_shapes_[id] = shp; in GetUnknownOutputShape()
566 return shp; in GetUnknownOutputShape()
Dgraph_properties_test.cc848 auto shp = ops::ShapeN(s.WithOpName("shapes"), {a, b}); in TEST_F() local
849 Output o1 = ops::Fill(s.WithOpName("o1"), shp[0], zero); in TEST_F()
850 Output o2 = ops::Fill(s.WithOpName("o2"), shp[1], zero); in TEST_F()
/external/tensorflow/tensorflow/core/common_runtime/
Dshape_refiner_test.cc1254 shape_inference::ShapeHandle shp = ctx->MakeShape({3, 7}); in TEST_F() local
1256 0, std::vector<shape_inference::ShapeAndType>{{shp, DT_FLOAT}}); in TEST_F()
1265 shp = ctx->MakeShape({2, 7}); in TEST_F()
1267 0, std::vector<shape_inference::ShapeAndType>{{shp, DT_FLOAT}}); in TEST_F()
1276 shp = ctx->MakeShape({shape_inference::InferenceContext::kUnknownDim, 7}); in TEST_F()
1278 0, std::vector<shape_inference::ShapeAndType>{{shp, DT_FLOAT}}); in TEST_F()
1284 EXPECT_TRUE(SameHandle(ctx->Dim(ctx->output(0), 0), ctx->Dim(shp, 0))); in TEST_F()
1288 shape_inference::ShapeHandle shp2 = shp; in TEST_F()
1294 EXPECT_TRUE(SameHandle(ctx->Dim(shp, 0), ctx->Dim(shp2, 0))); in TEST_F()
/external/icu/icu4c/source/data/misc/
DkeyTypeData.txt387 shp{""}
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.cc345 ShapeHandle shp = shape_manager_.MakeShape(dims); in WithRank() local
346 return Merge(shape, shp, out); in WithRank()
/external/ImageMagick/PerlMagick/t/reference/write/jng/
Dread_prog_jdaa.miff15 …A�eIE�iMI�cIH�aLS�tcu��v��zt��^^��vz����U���8���,���-���L���y�\P��`P��rf�shp�WN��C;��-#��<3��?5�…
Dread_jdaa.miff15 …A�eIE�iMI�cIH�aLS�tcu��v��zt��^^��vz����U���8���,���-���L���y�\P��`P��rf�shp�WN��C;��-#��<3��?5�…