• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/flac-1.2.1/src/metaflac/

Lines Matching defs:ok

69 	FLAC__bool ok = true;
81 ok = do_major_operation(options);
85 ok = do_shorthand_operations(options);
88 return ok;
103 FLAC__bool ok = true;
105 /* to die after first error, v--- add '&& ok' here */
107 ok &= do_major_operation_on_file(options->filenames[i], options);
109 return ok;
114 FLAC__bool ok = true, needs_write = false, is_ogg = false;
132 ok = do_major_operation__list(options->prefix_with_filename? filename : 0, chain, options);
135 ok = do_major_operation__append(chain, options);
139 ok = do_major_operation__remove(chain, options);
143 ok = do_major_operation__remove_all(chain, options);
159 if(ok && needs_write) {
162 ok = FLAC__metadata_chain_write(chain, options->use_padding, options->preserve_modtime);
163 if(!ok)
169 return ok;
176 FLAC__bool ok = true;
187 ok &= (0 != block);
188 if(!ok)
193 } while(ok && FLAC__metadata_iterator_next(iterator));
197 return ok;
210 FLAC__bool ok = true;
219 while(ok && FLAC__metadata_iterator_next(iterator)) {
222 ok &= FLAC__metadata_iterator_delete_block(iterator, options->use_padding);
224 ok &= FLAC__metadata_iterator_next(iterator);
230 return ok;
236 FLAC__bool ok = true;
243 while(ok && FLAC__metadata_iterator_next(iterator)) {
244 ok &= FLAC__metadata_iterator_delete_block(iterator, options->use_padding);
246 ok &= FLAC__metadata_iterator_next(iterator);
251 return ok;
257 FLAC__bool ok = true;
259 /* to die after first error, v--- add '&& ok' here */
261 ok &= do_shorthand_operations_on_file(options->filenames[i], options);
264 if(ok && options->num_files > 0) {
267 ok = do_shorthand_operation__add_replay_gain(options->filenames, options->num_files, options->preserve_modtime);
271 return ok;
277 FLAC__bool ok = true, needs_write = false, use_padding = options->use_padding;
288 for(i = 0; i < options->ops.num_operations && ok; i++) {
294 ok &= do_shorthand_operation(filename, options->prefix_with_filename, chain, &options->ops.operations[i], &needs_write, options->utf8_convert);
311 for(i = 0; i < options->ops.num_operations && ok; i++) {
313 ok &= do_shorthand_operation(filename, options->prefix_with_filename, chain, &options->ops.operations[i], &needs_write, options->utf8_convert);
316 if(ok && needs_write) {
319 ok = FLAC__metadata_chain_write(chain, use_padding, options->preserve_modtime);
320 if(!ok)
326 return ok;
331 FLAC__bool ok = true;
352 ok = do_shorthand_operation__streaminfo(filename, prefix_with_filename, chain, operation, needs_write);
362 ok = do_shorthand_operation__vorbis_comment(filename, prefix_with_filename, chain, operation, needs_write, !utf8_convert);
366 ok = do_shorthand_operation__cuesheet(filename, chain, operation, needs_write);
370 ok = do_shorthand_operation__picture(filename, chain, operation, needs_write);
373 ok = do_shorthand_operation__add_seekpoints(filename, chain, operation->argument.add_seekpoint.specification, needs_write);
377 ok = true;
380 ok = do_shorthand_operation__add_padding(filename, chain, operation->argument.add_padding.length, needs_write);
383 ok = false;
388 return ok;