Home
last modified time | relevance | path

Searched refs:fit (Results 1 – 25 of 894) sorted by relevance

12345678910>>...36

/external/u-boot/common/
Dimage-fit.c112 static void fit_get_debug(const void *fit, int noffset, in fit_get_debug() argument
116 prop_name, (ulong)fit, noffset, fit_get_name(fit, noffset, NULL), in fit_get_debug()
128 int fit_get_subimage_count(const void *fit, int images_noffset) in fit_get_subimage_count() argument
136 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_get_subimage_count()
138 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_get_subimage_count()
163 static void fit_image_print_data(const void *fit, int noffset, const char *p, in fit_image_print_data() argument
175 fit_get_name(fit, noffset, NULL)); in fit_image_print_data()
177 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_print_data()
182 keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_print_data()
183 required = fdt_getprop(fit, noffset, "required", NULL) != NULL; in fit_image_print_data()
[all …]
Dimage-sig.c181 struct image_region *fit_region_make_list(const void *fit, in fit_region_make_list() argument
203 region[i].data = fit + fdt_regions[i].offset; in fit_region_make_list()
211 const void *fit, int noffset, int required_keynode, in fit_image_setup_verify() argument
217 if (fdt_totalsize(fit) > CONFIG_FIT_SIGNATURE_MAX_SIZE) { in fit_image_setup_verify()
222 if (fit_image_hash_get_algo(fit, noffset, &algo_name)) { in fit_image_setup_verify()
227 padding_name = fdt_getprop(fit, noffset, "padding", NULL); in fit_image_setup_verify()
232 info->keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_setup_verify()
233 info->fit = (void *)fit; in fit_image_setup_verify()
251 int fit_image_check_sig(const void *fit, int noffset, const void *data, in fit_image_check_sig() argument
260 if (fit_image_setup_verify(&info, fit, noffset, required_keynode, in fit_image_check_sig()
[all …]
Dboot_fit.c15 static int fdt_offset(const void *fit) in fdt_offset() argument
20 node = fit_find_config_node(fit); in fdt_offset()
24 images = fdt_path_offset(fit, FIT_IMAGES_PATH); in fdt_offset()
30 fdt_name = fdt_getprop(fit, node, FIT_FDT_PROP, &fdt_len); in fdt_offset()
37 fdt_node = fdt_subnode_offset(fit, images, fdt_name); in fdt_offset()
44 fdt_offset = fdt_getprop_u32(fit, fdt_node, "data-offset"); in fdt_offset()
49 fdt_len = fdt_getprop_u32(fit, fdt_node, "data-size"); in fdt_offset()
57 void *locate_dtb_in_fit(const void *fit) in locate_dtb_in_fit() argument
63 size = fdt_totalsize(fit); in locate_dtb_in_fit()
66 header = (struct image_header *)fit; in locate_dtb_in_fit()
[all …]
Dupdate.c217 static int update_fit_getparams(const void *fit, int noffset, ulong *addr, in update_fit_getparams() argument
222 if (fit_image_get_data(fit, noffset, &data, (size_t *)size)) in update_fit_getparams()
225 if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) in update_fit_getparams()
240 void *fit; in update_tftp() local
283 fit = (void *)addr; in update_tftp()
285 if (!fit_check_format((void *)fit)) { in update_tftp()
292 images_noffset = fdt_path_offset(fit, FIT_IMAGES_PATH); in update_tftp()
295 noffset = fdt_next_node(fit, images_noffset, &ndepth); in update_tftp()
300 fit_image_name = (char *)fit_get_name(fit, noffset, NULL); in update_tftp()
303 if (!fit_image_verify(fit, noffset)) { in update_tftp()
[all …]
/external/u-boot/tools/
Dimage-host.c30 static int fit_set_hash_value(void *fit, int noffset, uint8_t *value, in fit_set_hash_value() argument
35 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_set_hash_value()
38 FIT_VALUE_PROP, fit_get_name(fit, noffset, NULL), in fit_set_hash_value()
59 static int fit_image_process_hash(void *fit, const char *image_name, in fit_image_process_hash() argument
68 node_name = fit_get_name(fit, noffset, NULL); in fit_image_process_hash()
70 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_process_hash()
82 ret = fit_set_hash_value(fit, noffset, value, value_len); in fit_image_process_hash()
107 static int fit_image_write_sig(void *fit, int noffset, uint8_t *value, in fit_image_write_sig() argument
118 string_size = fdt_size_dt_strings(fit); in fit_image_write_sig()
120 ret = fdt_setprop(fit, noffset, FIT_VALUE_PROP, value, value_len); in fit_image_write_sig()
[all …]
/external/u-boot/common/spl/
Dspl_fit.c42 static int spl_fit_get_image_name(const void *fit, int images, in spl_fit_get_image_name() argument
51 conf_node = fit_find_config_node(fit); in spl_fit_get_image_name()
55 for (node = fdt_first_subnode(fit, conf_node); in spl_fit_get_image_name()
57 node = fdt_next_subnode(fit, node)) { in spl_fit_get_image_name()
58 name = fdt_getprop(fit, node, "description", &len); in spl_fit_get_image_name()
65 name = fdt_getprop(fit, conf_node, type, &len); in spl_fit_get_image_name()
96 static int spl_fit_get_image_node(const void *fit, int images, in spl_fit_get_image_node() argument
103 err = spl_fit_get_image_name(fit, images, type, index, &str); in spl_fit_get_image_node()
109 node = fdt_subnode_offset(fit, images, str); in spl_fit_get_image_node()
174 void *fit, ulong base_offset, int node, in spl_load_fit_image() argument
[all …]
/external/bc/tests/bc/
Dlib2_results.txt440 Error: 128 cannot fit into 1 signed byte(s).
466 Error: 129 cannot fit into 1 signed byte(s).
467 Error: -129 cannot fit into 1 signed byte(s).
491 Error: 255 cannot fit into 1 signed byte(s).
492 Error: -255 cannot fit into 1 signed byte(s).
514 Error: 256 cannot fit into 1 unsigned byte(s).
515 Error: 256 cannot fit into 1 signed byte(s).
516 Error: -256 cannot fit into 1 signed byte(s).
561 Error: 32768 cannot fit into 2 signed byte(s).
581 Error: 32769 cannot fit into 2 signed byte(s).
[all …]
/external/u-boot/prebuilt-intermediates/
Dimage.h966 int fit_get_subimage_count(const void *fit, int images_noffset);
967 void fit_print_contents(const void *fit);
968 void fit_image_print(const void *fit, int noffset, const char *p);
977 static inline ulong fit_get_size(const void *fit) in fit_get_size() argument
979 return fdt_totalsize(fit); in fit_get_size()
989 ulong fit_get_end(const void *fit);
1005 int fit_get_desc(const void *fit, int noffset, char **desc);
1006 int fit_get_timestamp(const void *fit, int noffset, time_t *timestamp);
1008 int fit_image_get_node(const void *fit, const char *image_uname);
1009 int fit_image_get_os(const void *fit, int noffset, uint8_t *os);
[all …]
/external/u-boot/include/
Dimage.h966 int fit_get_subimage_count(const void *fit, int images_noffset);
967 void fit_print_contents(const void *fit);
968 void fit_image_print(const void *fit, int noffset, const char *p);
977 static inline ulong fit_get_size(const void *fit) in fit_get_size() argument
979 return fdt_totalsize(fit); in fit_get_size()
989 ulong fit_get_end(const void *fit);
1005 int fit_get_desc(const void *fit, int noffset, char **desc);
1006 int fit_get_timestamp(const void *fit, int noffset, time_t *timestamp);
1008 int fit_image_get_node(const void *fit, const char *image_uname);
1009 int fit_image_get_os(const void *fit, int noffset, uint8_t *os);
[all …]
/external/u-boot/arch/arm/mach-k3/
Dsysfw-loader.c53 static int fit_get_data_by_name(const void *fit, int images, const char *name, in fit_get_data_by_name() argument
58 node_offset = fdt_subnode_offset(fit, images, name); in fit_get_data_by_name()
62 return fit_image_get_data(fit, node_offset, addr, size); in fit_get_data_by_name()
65 static void k3_sysfw_load_using_fit(void *fit) in k3_sysfw_load_using_fit() argument
73 images = fdt_path_offset(fit, FIT_IMAGES_PATH); in k3_sysfw_load_using_fit()
78 ret = fit_get_data_by_name(fit, images, SYSFW_FIRMWARE, in k3_sysfw_load_using_fit()
103 static void k3_sysfw_configure_using_fit(void *fit, in k3_sysfw_configure_using_fit() argument
113 images = fdt_path_offset(fit, FIT_IMAGES_PATH); in k3_sysfw_configure_using_fit()
118 ret = fit_get_data_by_name(fit, images, SYSFW_CFG_BOARD, in k3_sysfw_configure_using_fit()
132 ret = fit_get_data_by_name(fit, images, SYSFW_CFG_PM, in k3_sysfw_configure_using_fit()
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dfeature_columns_integration_test.py69 model.fit(x, y, epochs=1, batch_size=5)
70 model.fit(x, y, epochs=1, batch_size=5)
95 model.fit(ds, steps_per_epoch=1)
96 model.fit(ds, steps_per_epoch=1)
134 model.fit(ds, epochs=1)
135 model.fit(ds, epochs=1)
156 dnn_model.fit(x=x, y=y, epochs=1, batch_size=5)
157 dnn_model.fit(x=x, y=y, epochs=1, batch_size=5)
181 dnn_model.fit(ds, steps_per_epoch=1)
182 dnn_model.fit(ds, steps_per_epoch=1)
[all …]
Dtraining_eager_test.py61 hist = model.fit(np.zeros((1, 1)), np.zeros((1, 1)))
104 model.fit(
110 model.fit(
117 model.fit([input_a, input_b], [target_a, target_b],
129 model.fit(
134 model.fit([input_a, input_b], [target_a, target_b],
137 model.fit(
172 model.fit(inputs, targets, epochs=1, batch_size=2, verbose=0)
173 model.fit(inputs, targets, epochs=1, batch_size=3, verbose=0, shuffle=False)
174 model.fit(inputs, targets, epochs=1, batch_size=4, verbose=0,
[all …]
Dtraining_test.py284 hist = model.fit(x=np.array([0.]), y=np.array([0.]))
312 history = model.fit(
346 history = model.fit(
415 history = model.fit(
454 model.fit(
459 model.fit(
464 model.fit(
472 model.fit(
479 model.fit(
486 model.fit(
[all …]
Dtraining_dataset_test.py76 model.fit(dataset, epochs=1, steps_per_epoch=2, verbose=0,
78 model.fit(dataset, epochs=1, steps_per_epoch=2, verbose=0,
101 model.fit(dataset, epochs=1, steps_per_epoch=2, verbose=1)
106 model.fit(dataset, epochs=1, steps_per_epoch=2, verbose=0,
112 model.fit(dataset,
120 model.fit(
130 model.fit(dataset, batch_size=10, epochs=1, steps_per_epoch=2,
143 model.fit(dataset, dataset,
149 model.fit(dataset, epochs=1, verbose=0)
185 model.fit(dataset_tuple, epochs=1, steps_per_epoch=2, verbose=1)
[all …]
/external/skqp/src/gpu/
DGrTextureRenderTargetProxy.cpp26 SkBackingFit fit, in GrTextureRenderTargetProxy() argument
29 : GrSurfaceProxy(format, desc, origin, fit, budgeted, surfaceFlags) in GrTextureRenderTargetProxy()
31 , GrRenderTargetProxy(caps, format, desc, origin, fit, budgeted, surfaceFlags) in GrTextureRenderTargetProxy()
32 , GrTextureProxy(format, desc, origin, mipMapped, fit, budgeted, surfaceFlags) {} in GrTextureRenderTargetProxy()
41 SkBackingFit fit, in GrTextureRenderTargetProxy() argument
44 : GrSurfaceProxy(std::move(callback), lazyType, format, desc, origin, fit, budgeted, in GrTextureRenderTargetProxy()
48 , GrRenderTargetProxy(LazyInstantiateCallback(), lazyType, format, desc, origin, fit, in GrTextureRenderTargetProxy()
51 fit, budgeted, surfaceFlags) {} in GrTextureRenderTargetProxy()
/external/u-boot/test/py/tests/
Dtest_vboot.py95 '%s%s' % (datadir, its), fit])
109 '-r', fit])
123 fit])
138 with open(fit, 'r+b') as handle:
183 util.run_and_log(cons, [fit_check_sign, '-f', fit, '-k', tmpdir,
200 (fit, sig_node))
206 (fit, sig_node, sig))
211 util.run_and_log_expect_exception(cons, [fit_check_sign, '-f', fit,
247 fit = '%stest.fit' % tmpdir
Dtest_fit.py185 fit = make_fname('test.fit')
187 util.run_and_log(cons, [mkimage, '-f', its, fit])
190 return fit
369 fit = make_fit(mkimage, params)
370 params['fit'] = fit
389 data = read_file(fit)
400 fit = make_fit(mkimage, params)
412 fit = make_fit(mkimage, params)
424 fit = make_fit(mkimage, params)
438 fit = make_fit(mkimage, params)
/external/skia/src/gpu/
DGrTextureRenderTargetProxy.cpp30 SkBackingFit fit, in GrTextureRenderTargetProxy() argument
35 : GrSurfaceProxy(format, dimensions, GrRenderable::kYes, texSwizzle, fit, budgeted, in GrTextureRenderTargetProxy()
38 , GrRenderTargetProxy(caps, format, dimensions, sampleCnt, texSwizzle, fit, budgeted, in GrTextureRenderTargetProxy()
40 , GrTextureProxy(format, dimensions, mipMapped, mipMapsStatus, texSwizzle, fit, budgeted, in GrTextureRenderTargetProxy()
54 SkBackingFit fit, in GrTextureRenderTargetProxy() argument
60 fit, budgeted, isProtected, surfaceFlags, useAllocator) in GrTextureRenderTargetProxy()
64 fit, budgeted, isProtected, surfaceFlags, useAllocator, in GrTextureRenderTargetProxy()
67 texSwizzle, fit, budgeted, isProtected, surfaceFlags, useAllocator) { in GrTextureRenderTargetProxy()
DGrSurfaceProxy.cpp32 static bool is_valid_lazy(const SkISize& dimensions, SkBackingFit fit) { in is_valid_lazy() argument
37 return ((dimensions.fWidth < 0 && dimensions.fHeight < 0 && SkBackingFit::kApprox == fit) || in is_valid_lazy()
51 SkBackingFit fit, in GrSurfaceProxy() argument
60 , fFit(fit) in GrSurfaceProxy()
75 SkBackingFit fit, in GrSurfaceProxy() argument
84 , fFit(fit) in GrSurfaceProxy()
92 SkASSERT(is_valid_lazy(dimensions, fit)); in GrSurfaceProxy()
98 SkBackingFit fit, in GrSurfaceProxy() argument
105 , fFit(fit) in GrSurfaceProxy()
281 SkBackingFit fit, in Copy() argument
[all …]
/external/tensorflow/tensorflow/python/keras/distribute/
Dmulti_worker_callback_tf1_test.py141 model.fit(
165 model.fit(
181 model.fit(
195 history_after_one_more_epoch = model.fit(
229 history_after_loading_weight_and_one_more_epoch = model.fit(
253 history_after_model_restoring_and_one_more_epoch = model.fit(
271 history_one_more_epoch_without_model_restoring = model.fit(
306 model.fit(
350 model.fit(
377 model.fit(
[all …]
/external/skqp/tests/
DProxyTest.cpp45 SkBackingFit fit, in check_rendertarget() argument
63 if (SkBackingFit::kExact == fit) { in check_rendertarget()
81 SkBackingFit fit) { in check_texture() argument
96 if (SkBackingFit::kExact == fit) { in check_texture()
119 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
123 if (GrPixelConfigIsCompressed(config) && SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
142 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
150 proxyProvider->createProxy(format, desc, origin, fit, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
169 fit, caps.maxWindowRectangles()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
177 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DTextureProxyTest.cpp42 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex() argument
48 proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, in deferred_tex()
56 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT() argument
62 … proxyProvider->createProxy(format, desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes); in deferred_texRT()
69 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped() argument
73 desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes); in wrapped()
80 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key() argument
94 desc, kBottomLeft_GrSurfaceOrigin, fit, SkBudgeted::kYes); in wrapped_with_key()
100 static sk_sp<GrTextureProxy> create_wrapped_backend(GrContext* context, SkBackingFit fit, in create_wrapped_backend() argument
310 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/skia/tests/
DTextureProxyTest.cpp34 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_tex() argument
42 GrMipMapped::kNo, fit, SkBudgeted::kYes, GrProtected::kNo); in deferred_tex()
49 GrProxyProvider* proxyProvider, SkBackingFit fit) { in deferred_texRT() argument
57 GrMipMapped::kNo, fit, SkBudgeted::kYes, GrProtected::kNo); in deferred_texRT()
64 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped() argument
66 kSize, kColorType, GrRenderable::kNo, 1, fit, SkBudgeted::kYes, GrProtected::kNo); in wrapped()
73 GrProxyProvider* proxyProvider, SkBackingFit fit) { in wrapped_with_key() argument
85 kSize, kColorType, GrRenderable::kNo, 1, fit, SkBudgeted::kYes, GrProtected::kNo); in wrapped_with_key()
91 static sk_sp<GrTextureProxy> create_wrapped_backend(GrContext* context, SkBackingFit fit, in create_wrapped_backend() argument
300 for (auto fit : { SkBackingFit::kExact, SkBackingFit::kApprox }) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
DProxyTest.cpp44 SkBackingFit fit, in check_rendertarget() argument
62 if (SkBackingFit::kExact == fit) { in check_rendertarget()
77 SkBackingFit fit) { in check_texture() argument
119 for (auto fit : {SkBackingFit::kExact, SkBackingFit::kApprox}) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
133 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
145 GrMipMapped::kNo, fit, budgeted, GrProtected::kNo); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
162 fit, caps.maxWindowRectangles()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
169 if (SkBackingFit::kApprox == fit) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
181 GrMipMapped::kNo, fit, budgeted, GrProtected::kNo)); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
194 fit); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
[all …]
/external/tensorflow/tensorflow/python/keras/
Dcallbacks_test.py155 model.fit(
273 model.fit(dataset, epochs=2, steps_per_epoch=10)
288 model.fit(dataset, epochs=2, steps_per_epoch=10)
303 model.fit(training_dataset, epochs=2, validation_data=val_dataset)
318 model.fit(x, y, batch_size=10, epochs=2, validation_split=0.2)
348 model.fit(
376 model.fit(x=training, validation_data=validation)
428 model.fit(
448 model.fit(
469 model.fit(
[all …]

12345678910>>...36