Home
last modified time | relevance | path

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

12345678910>>...35

/external/u-boot/common/
Dimage-fit.c110 static void fit_get_debug(const void *fit, int noffset, in fit_get_debug() argument
114 prop_name, (ulong)fit, noffset, fit_get_name(fit, noffset, NULL), in fit_get_debug()
126 int fit_get_subimage_count(const void *fit, int images_noffset) in fit_get_subimage_count() argument
134 noffset = fdt_next_node(fit, images_noffset, &ndepth); in fit_get_subimage_count()
136 noffset = fdt_next_node(fit, noffset, &ndepth)) { in fit_get_subimage_count()
161 static void fit_image_print_data(const void *fit, int noffset, const char *p, in fit_image_print_data() argument
172 fit_get_name(fit, noffset, NULL)); in fit_image_print_data()
174 if (fit_image_hash_get_algo(fit, noffset, &algo)) { in fit_image_print_data()
179 keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_print_data()
180 required = fdt_getprop(fit, noffset, "required", NULL) != NULL; in fit_image_print_data()
[all …]
Dimage-sig.c124 struct image_region *fit_region_make_list(const void *fit, in fit_region_make_list() argument
146 region[i].data = fit + fdt_regions[i].offset; in fit_region_make_list()
154 const void *fit, int noffset, int required_keynode, in fit_image_setup_verify() argument
159 if (fit_image_hash_get_algo(fit, noffset, &algo_name)) { in fit_image_setup_verify()
164 info->keyname = fdt_getprop(fit, noffset, "key-name-hint", NULL); in fit_image_setup_verify()
165 info->fit = (void *)fit; in fit_image_setup_verify()
182 int fit_image_check_sig(const void *fit, int noffset, const void *data, in fit_image_check_sig() argument
191 if (fit_image_setup_verify(&info, fit, noffset, required_keynode, in fit_image_check_sig()
195 if (fit_image_hash_get_value(fit, noffset, &fit_value, in fit_image_check_sig()
212 static int fit_image_verify_sig(const void *fit, int image_noffset, in fit_image_verify_sig() argument
[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.c215 static int update_fit_getparams(const void *fit, int noffset, ulong *addr, in update_fit_getparams() argument
220 if (fit_image_get_data(fit, noffset, &data, (size_t *)size)) in update_fit_getparams()
223 if (fit_image_get_load(fit, noffset, (ulong *)fladdr)) in update_fit_getparams()
238 void *fit; in update_tftp() local
281 fit = (void *)addr; in update_tftp()
283 if (!fit_check_format((void *)fit)) { in update_tftp()
290 images_noffset = fdt_path_offset(fit, FIT_IMAGES_PATH); in update_tftp()
293 noffset = fdt_next_node(fit, images_noffset, &ndepth); in update_tftp()
298 fit_image_name = (char *)fit_get_name(fit, noffset, NULL); in update_tftp()
301 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.c29 static int spl_fit_get_image_name(const void *fit, int images, in spl_fit_get_image_name() argument
38 conf_node = fit_find_config_node(fit); in spl_fit_get_image_name()
42 for (node = fdt_first_subnode(fit, conf_node); in spl_fit_get_image_name()
44 node = fdt_next_subnode(fit, node)) { in spl_fit_get_image_name()
45 name = fdt_getprop(fit, node, "description", &len); in spl_fit_get_image_name()
52 name = fdt_getprop(fit, conf_node, type, &len); in spl_fit_get_image_name()
83 static int spl_fit_get_image_node(const void *fit, int images, in spl_fit_get_image_node() argument
90 err = spl_fit_get_image_name(fit, images, type, index, &str); in spl_fit_get_image_node()
96 node = fdt_subnode_offset(fit, images, str); in spl_fit_get_image_node()
169 void *fit, ulong base_offset, int node, in spl_load_fit_image() argument
[all …]
/external/u-boot/include/
Dimage.h939 int fit_get_subimage_count(const void *fit, int images_noffset);
940 void fit_print_contents(const void *fit);
941 void fit_image_print(const void *fit, int noffset, const char *p);
950 static inline ulong fit_get_size(const void *fit) in fit_get_size() argument
952 return fdt_totalsize(fit); in fit_get_size()
962 ulong fit_get_end(const void *fit);
978 int fit_get_desc(const void *fit, int noffset, char **desc);
979 int fit_get_timestamp(const void *fit, int noffset, time_t *timestamp);
981 int fit_image_get_node(const void *fit, const char *image_uname);
982 int fit_image_get_os(const void *fit, int noffset, uint8_t *os);
[all …]
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Dlinear_test.py97 classifier.fit(input_fn=input_fn, steps=100)
99 classifier.fit(input_fn=input_fn, steps=200)
123 classifier.fit(input_fn=input_fn, steps=100)
125 classifier.fit(input_fn=input_fn, steps=200)
138 classifier.fit(input_fn=test_data.iris_input_multiclass_fn, steps=100)
160 classifier.fit(input_fn=_input_fn, steps=100)
173 classifier.fit(x=train_x, y=train_y, steps=100)
204 classifier.fit(input_fn=_input_fn, steps=50)
236 classifier.fit(input_fn=_input_fn, steps=100)
262 classifier.fit(input_fn=_input_fn, steps=100)
[all …]
Ddebug_test.py96 classifier.fit(
115 classifier.fit(
132 classifier.fit(
154 classifier.fit(
177 classifier.fit(
198 classifier.fit(
225 classifier.fit(input_fn=input_fn, steps=5)
242 classifier.fit(input_fn=_input_fn, steps=5)
253 classifier.fit(x=train_x, y=train_y, steps=5)
290 classifier.fit(input_fn=_input_fn, steps=50)
[all …]
Ddnn_linear_combined_test.py221 estimator.fit(input_fn=test_data.iris_input_multiclass_fn, steps=10)
277 classifier.fit(input_fn=_input_fn, steps=2)
296 classifier.fit(
348 classifier.fit(input_fn=_input_fn_float_label, steps=50)
370 classifier.fit(input_fn=test_data.iris_input_logistic_fn, steps=100)
420 classifier.fit(input_fn=_input_fn, steps=100)
466 classifier.fit(input_fn=_input_fn, steps=100)
514 classifier.fit(input_fn=_input_fn, steps=100)
538 classifier.fit(input_fn=test_data.iris_input_multiclass_fn, steps=100)
580 classifier.fit(input_fn=_input_fn, steps=50)
[all …]
/external/tensorflow/tensorflow/python/keras/engine/
Dtraining_eager_test.py56 hist = model.fit(np.zeros((1, 1)), np.zeros((1, 1)))
98 model.fit(
104 model.fit(
111 model.fit([input_a, input_b], [target_a, target_b],
123 model.fit(
128 model.fit([input_a, input_b], [target_a, target_b],
131 model.fit(
165 model.fit(inputs, targets, epochs=1, batch_size=2, verbose=0)
166 model.fit(inputs, targets, epochs=1, batch_size=3, verbose=0, shuffle=False)
167 model.fit(inputs, targets, epochs=1, batch_size=4, verbose=0,
[all …]
Dfeature_columns_integration_test.py67 model.fit(x, y, epochs=1, batch_size=5)
68 model.fit(x, y, epochs=1, batch_size=5)
92 model.fit(ds, steps_per_epoch=1)
93 model.fit(ds, steps_per_epoch=1)
113 dnn_model.fit(x=x, y=y, epochs=1, batch_size=5)
114 dnn_model.fit(x=x, y=y, epochs=1, batch_size=5)
137 dnn_model.fit(ds, steps_per_epoch=1)
138 dnn_model.fit(ds, steps_per_epoch=1)
167 print(model.fit(*data, epochs=1))
202 print(model.fit(*data_list, epochs=1))
[all …]
Dtraining_dataset_test.py68 model.fit(iterator, epochs=1, steps_per_epoch=2, verbose=1)
73 model.fit(iterator,
80 model.fit(iterator,
89 model.fit(
99 model.fit(iterator, iterator,
104 model.fit(iterator, epochs=1, verbose=0)
130 model.fit(iterator, epochs=1, steps_per_epoch=3, verbose=0)
160 model.fit(dataset, epochs=1, steps_per_epoch=2, verbose=0,
162 model.fit(dataset, epochs=1, steps_per_epoch=2, verbose=0,
181 model.fit(dataset, epochs=1, steps_per_epoch=2, verbose=1)
[all …]
Dtraining_test.py212 model.fit(
217 model.fit(
222 model.fit(
230 model.fit(
238 model.fit(
245 model.fit(
252 model.fit(
260 model.fit(
269 model.fit(
280 model.fit(
[all …]
/external/skia/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()
DGrRecordingContext.cpp169 SkBackingFit fit, in makeDeferredSurfaceContext() argument
175 proxy = this->proxyProvider()->createProxy(format, dstDesc, origin, fit, isDstBudgeted); in makeDeferredSurfaceContext()
177 SkASSERT(SkBackingFit::kExact == fit); in makeDeferredSurfaceContext()
196 SkBackingFit fit, in makeDeferredRenderTargetContext() argument
219 rtp = this->proxyProvider()->createProxy(format, desc, origin, fit, budgeted); in makeDeferredRenderTargetContext()
269 SkBackingFit fit, in makeDeferredRenderTargetContextWithFallback() argument
293 return this->makeDeferredRenderTargetContext(localFormat, fit, width, height, config, in makeDeferredRenderTargetContextWithFallback()
327 SkBackingFit fit, in makeDeferredSurfaceContext() argument
331 return fContext->makeDeferredSurfaceContext(format, dstDesc, origin, mipMapped, fit, in makeDeferredSurfaceContext()
337 SkBackingFit fit, in makeDeferredRenderTargetContext() argument
[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_fit.py185 fit = make_fname('test.fit')
187 util.run_and_log(cons, [mkimage, '-f', its, fit])
190 return fit
355 fit = make_fit(mkimage, params)
356 params['fit'] = fit
375 data = read_file(fit)
386 fit = make_fit(mkimage, params)
398 fit = make_fit(mkimage, params)
410 fit = make_fit(mkimage, params)
Dtest_vboot.py92 '%s%s' % (datadir, its), fit])
106 '-r', fit])
146 util.run_and_log(cons, [fit_check_sign, '-f', fit, '-k', tmpdir,
151 (fit, sig_node))
157 (fit, sig_node, sig))
162 util.run_and_log_expect_exception(cons, [fit_check_sign, '-f', fit,
169 fit = '%stest.fit' % tmpdir
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/
Dsdca_estimator_test.py60 classifier.fit(input_fn=input_fn, steps=100)
82 classifier.fit(input_fn=input_fn, steps=100)
109 classifier.fit(input_fn=input_fn, steps=50)
139 classifier.fit(input_fn=input_fn, steps=50)
170 classifier.fit(input_fn=input_fn, steps=50)
202 classifier.fit(input_fn=input_fn, steps=50)
234 classifier.fit(input_fn=input_fn, steps=10)
273 classifier.fit(input_fn=input_fn, steps=50)
314 classifier.fit(input_fn=input_fn, steps=50)
347 regressor.fit(input_fn=input_fn, steps=20)
[all …]
/external/skia/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/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/protobuf/php/ext/google/protobuf/
Dstorage.c344 upb_oneof_iter fit; in create_layout() local
352 for (upb_oneof_begin(&fit, oneof); !upb_oneof_done(&fit); in create_layout()
353 upb_oneof_next(&fit)) { in create_layout()
354 const upb_fielddef* field = upb_oneof_iter_field(&fit); in create_layout()
364 upb_oneof_iter fit; in create_layout() local
370 for (upb_oneof_begin(&fit, oneof); !upb_oneof_done(&fit); in create_layout()
371 upb_oneof_next(&fit)) { in create_layout()
372 const upb_fielddef* field = upb_oneof_iter_field(&fit); in create_layout()

12345678910>>...35