Home
last modified time | relevance | path

Searched refs:strategy (Results 1 – 25 of 43) sorted by relevance

12

/AliOS-Things-master/components/py_engine/tests/perf_bench/
A Dbm_hexiom.py140 if strategy == Done.HIGHEST_VALUE_STRATEGY:
142 elif strategy == Done.MIN_CHOICE_STRATEGY:
144 elif strategy == Done.MAX_CHOICE_STRATEGY:
146 elif strategy == Done.FIRST_STRATEGY:
308 def find_moves(pos, strategy, order): argument
310 cell_id = done.next_cell(pos, strategy)
411 moves = find_moves(pos, strategy, order)
448 def solve(pos, strategy, order, output): argument
504 def solve_file(file, strategy, order, output): argument
506 solve(pos, strategy, order, output)
[all …]
/AliOS-Things-master/components/SDL2/src/video/emscripten/
A DSDL_emscriptenvideo.c333 EmscriptenFullscreenStrategy strategy; in Emscripten_SetWindowFullscreen() local
337strategy.scaleMode = is_desktop_fullscreen ? EMSCRIPTEN_FULLSCREEN_SCALE_STRETCH : EMSCRIPTEN_FULL… in Emscripten_SetWindowFullscreen()
340 strategy.canvasResolutionScaleMode = EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_NONE; in Emscripten_SetWindowFullscreen()
342 strategy.canvasResolutionScaleMode = EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_HIDEF; in Emscripten_SetWindowFullscreen()
344 strategy.canvasResolutionScaleMode = EMSCRIPTEN_FULLSCREEN_CANVAS_SCALE_STDDEF; in Emscripten_SetWindowFullscreen()
347 strategy.filteringMode = EMSCRIPTEN_FULLSCREEN_FILTERING_DEFAULT; in Emscripten_SetWindowFullscreen()
349 strategy.canvasResizedCallback = Emscripten_HandleCanvasResize; in Emscripten_SetWindowFullscreen()
350 strategy.canvasResizedCallbackUserData = data; in Emscripten_SetWindowFullscreen()
355 res = emscripten_request_fullscreen_strategy(data->canvas_id, 1, &strategy); in Emscripten_SetWindowFullscreen()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/minizip/
A Dzip.h229 int strategy,
246 int strategy,
272 int strategy,
293 int strategy,
A Dzip.c1059 int windowBits,int memLevel, int strategy, in zipOpenNewFileInZip4_64() argument
1221 err = deflateInit2(&zi->ci.stream, level, Z_DEFLATED, windowBits, memLevel, strategy); in zipOpenNewFileInZip4_64()
1269 int windowBits,int memLevel, int strategy, in zipOpenNewFileInZip4() argument
1277 windowBits, memLevel, strategy, in zipOpenNewFileInZip4()
1285 int windowBits,int memLevel, int strategy, in zipOpenNewFileInZip3() argument
1292 windowBits, memLevel, strategy, in zipOpenNewFileInZip3()
1300 int windowBits,int memLevel, int strategy, in zipOpenNewFileInZip3_64() argument
1307 windowBits, memLevel, strategy, in zipOpenNewFileInZip3_64()
/AliOS-Things-master/components/py_engine/external/unzip/src/
A Dgzwrite.c38 15 + 16, 8, state->strategy);
458 int ZEXPORT gzsetparams(file, level, strategy) in gzsetparams() argument
461 int strategy;
477 if (level == state->level && strategy == state->strategy)
492 deflateParams(strm, level, strategy);
495 state->strategy = strategy;
A Ddeflate.c217 int strategy;
261 strategy < 0 || strategy > Z_FIXED) {
304 s->strategy = strategy;
412 int ZEXPORT deflateParams(strm, level, strategy) in deflateParams() argument
415 int strategy;
429 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {
434 if ((strategy != s->strategy || func != configuration_table[level].func) &&
446 s->strategy = strategy;
658 if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2)
821 (s->strategy == Z_RLE ? deflate_rle(s, flush) :
[all …]
A Dgzlib.c105 state->strategy = Z_DEFAULT_STRATEGY;
128 state->strategy = Z_FILTERED;
131 state->strategy = Z_HUFFMAN_ONLY;
134 state->strategy = Z_RLE;
137 state->strategy = Z_FIXED;
A Dgzio.c-bak101 int strategy = Z_DEFAULT_STRATEGY; /* compression strategy */
141 strategy = Z_FILTERED;
143 strategy = Z_HUFFMAN_ONLY;
145 strategy = Z_RLE;
157 Z_DEFLATED, -MAX_WBITS, DEF_MEM_LEVEL, strategy);
233 * Update the compression level and strategy
235 int ZEXPORT gzsetparams (file, level, strategy)
238 int strategy;
254 return deflateParams (&(s->stream), level, strategy);
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/pascal/
A Dzlibpas.pas115 memLevel, strategy: Integer): Integer;
120 function deflateParams(var strm: z_stream; level, strategy: Integer): Integer; in deflateParams()
165 level, method, windowBits, memLevel, strategy: Integer;
233 strategy: Integer): Integer;
235 Result := deflateInit2_(strm, level, method, windowBits, memLevel, strategy,
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/ada/
A Dzlib-thin.adb45 strategy : Int)
54 strategy,
A Dzlib-thin.ads147 strategy : Int)
189 strategy : Int)
261 strategy : Int;
272 strategy : Int)
/AliOS-Things-master/components/freetype/src/gzip/
A Dzlib.h819 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
821 (strategy), ZLIB_VERSION, sizeof(z_stream))
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/
A Dzlib.h708 int strategy));
1379 ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy));
1770 int strategy, const char *version,
1783 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
1785 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
1797 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
1799 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
A Dgzwrite.c45 MAX_WBITS + 16, DEF_MEM_LEVEL, state->strategy);
585 int ZEXPORT gzsetparams(file, level, strategy) in gzsetparams() argument
588 int strategy;
604 if (level == state->level && strategy == state->strategy)
619 deflateParams(strm, level, strategy);
622 state->strategy = strategy;
A Ddeflate.c247 int strategy;
300 strategy < 0 || strategy > Z_FIXED || (windowBits == 8 && wrap != 1)) {
344 s->strategy = strategy;
568 int ZEXPORT deflateParams(strm, level, strategy) in deflateParams() argument
571 int strategy;
584 if (level < 0 || level > 9 || strategy < 0 || strategy > Z_FIXED) {
589 if ((strategy != s->strategy || func != configuration_table[level].func) &&
612 s->strategy = strategy;
819 if (s->strategy >= Z_HUFFMAN_ONLY || s->level < 2)
1002 s->strategy == Z_RLE ? deflate_rle(s, flush) :
[all …]
A Dgzlib.c121 state->strategy = Z_DEFAULT_STRATEGY;
155 state->strategy = Z_FILTERED;
158 state->strategy = Z_HUFFMAN_ONLY;
161 state->strategy = Z_RLE;
164 state->strategy = Z_FIXED;
A Dgzguts.h192 int strategy; /* compression strategy */ member
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/
A Dzlib.h708 int strategy));
1379 ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy));
1770 int strategy, const char *version,
1783 # define z_deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
1785 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
1797 # define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
1799 (strategy), ZLIB_VERSION, (int)sizeof(z_stream))
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/delphi/
A Dreadme.txt25 - The new Z_RLE strategy has its corresponding symbolic constant.
57 - The ability to select a different compression strategy, useful
68 there could be a compression strategy
/AliOS-Things-master/components/py_engine/external/unzip/internal/
A Dzlib.h648 int strategy));
1226 ZEXTERN int ZEXPORT gzsetparams OF((gzFile file, int level, int strategy));
1538 int strategy, const char *version,
1550 #define deflateInit2(strm, level, method, windowBits, memLevel, strategy) \ argument
1552 (strategy), ZLIB_VERSION, sizeof(z_stream))
A Dgzguts.h106 int strategy; /* compression strategy */ member
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/contrib/iostream3/
A DREADME24 - setcompressionlevel()/strategy() members replaced by single setcompression()
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/os400/
A Dzlib.inc171 D strategy 10I 0 value
336 D strategy 10I 0 value Compression strategy
356 D strategy 10I 0 value Compression strategy
/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/
A Dpngwutil.c331 int strategy; /* set below */ in png_deflate_claim() local
337 strategy = png_ptr->zlib_strategy; in png_deflate_claim()
340 strategy = PNG_Z_DEFAULT_STRATEGY; in png_deflate_claim()
343 strategy = PNG_Z_DEFAULT_NOFILTER_STRATEGY; in png_deflate_claim()
353 strategy = png_ptr->zlib_text_strategy; in png_deflate_claim()
360 strategy = Z_DEFAULT_STRATEGY; in png_deflate_claim()
393 png_ptr->zlib_set_strategy != strategy)) in png_deflate_claim()
418 memLevel, strategy); in png_deflate_claim()
/AliOS-Things-master/components/SDL2/src/file/cocoa/
A DSDL_rwopsbundlesupport.m29 …So the strategy is to first check the application bundle for the file, then fallback to the curren…

Completed in 43 milliseconds

12