Searched defs:rec (Results 1 - 25 of 291) sorted by last modified time

1234567891011>>

/external/zlib/src/examples/
H A Dgzlog.c721 FILE *rec; local
725 rec = fopen(log->path, "a");
726 if (rec == NULL)
728 fprintf(rec, "%.24s %s recovery: %s\n", ctime(&now), op == APPEND_OP ?
730 fclose(rec);
/external/wpa_supplicant_8/hostapd/src/eap_server/
H A Dtncs.c696 enum IMV_Action_Recommendation rec; local
709 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION;
714 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS;
716 rec != TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS)
717 rec = TNC_IMV_ACTION_RECOMMENDATION_ISOLATE;
719 rec == TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION)
720 rec = TNC_IMV_ACTION_RECOMMENDATION_ALLOW;
723 wpa_printf(MSG_DEBUG, "TNC: Recommendation: %d", rec);
724 tncs->recommendation = rec;
728 switch (rec) {
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dpcsc_funcs.c391 int rlen, rec; local
411 for (rec = 1; rec < 10; rec++) {
412 rlen = scard_get_record_len(scard, rec,
424 if (scard_read_record(scard, buf, rlen, rec,
427 "EF_DIR record %d", rec);
464 "EF_DIR record %d", rec);
469 if (rec >= 10) {
/external/wpa_supplicant_8/src/eap_server/
H A Dtncs.c696 enum IMV_Action_Recommendation rec; local
709 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION;
714 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS;
716 rec != TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS)
717 rec = TNC_IMV_ACTION_RECOMMENDATION_ISOLATE;
719 rec == TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION)
720 rec = TNC_IMV_ACTION_RECOMMENDATION_ALLOW;
723 wpa_printf(MSG_DEBUG, "TNC: Recommendation: %d", rec);
724 tncs->recommendation = rec;
728 switch (rec) {
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dpcsc_funcs.c391 int rlen, rec; local
411 for (rec = 1; rec < 10; rec++) {
412 rlen = scard_get_record_len(scard, rec,
424 if (scard_read_record(scard, buf, rlen, rec,
427 "EF_DIR record %d", rec);
464 "EF_DIR record %d", rec);
469 if (rec >= 10) {
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Dtncs.c696 enum IMV_Action_Recommendation rec; local
709 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION;
714 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS;
716 rec != TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS)
717 rec = TNC_IMV_ACTION_RECOMMENDATION_ISOLATE;
719 rec == TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION)
720 rec = TNC_IMV_ACTION_RECOMMENDATION_ALLOW;
723 wpa_printf(MSG_DEBUG, "TNC: Recommendation: %d", rec);
724 tncs->recommendation = rec;
728 switch (rec) {
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dpcsc_funcs.c391 int rlen, rec; local
411 for (rec = 1; rec < 10; rec++) {
412 rlen = scard_get_record_len(scard, rec,
424 if (scard_read_record(scard, buf, rlen, rec,
427 "EF_DIR record %d", rec);
464 "EF_DIR record %d", rec);
469 if (rec >= 10) {
/external/valgrind/main/memcheck/tests/linux/
H A Dlsframe2.c13 int rec ( int depth ) function
20 zzz = rec(depth-1);
31 sum = rec(N_MBYTES);
/external/speex/libspeex/
H A Dmdf.c389 static void dump_audio(const spx_int16_t *rec, const spx_int16_t *play, const spx_int16_t *out, int len) argument
395 fwrite(rec, sizeof(spx_int16_t), len, rFile);
636 EXPORT void speex_echo_capture(SpeexEchoState *st, const spx_int16_t *rec, spx_int16_t *out) argument
643 speex_echo_cancellation(st, rec, st->play_buf, out);
655 out[i] = rec[i];
/external/srec/srec/crec/
H A Dastar.c52 int astar_draw_tree_as_dotty(const char* file, srec* rec, AstarStack* stack);
243 void print_partial_paths(partial_path** parps, int num_parps, srec* rec, const char* msg);
244 void print_path(partial_path* path, srec* rec, char* msg);
486 wtokenID token_index, srec* rec,
496 wtoken = &rec->word_token_array[token_index];
499 parp->word = rec->word_token_array[ token_index].word;
502 /* wtoken->end_time should be equal to rec->current_search_frame */
503 ASSERT(rec->accumulated_cost_offset[ wtoken->end_time] != 0);
504 parp->costsofar = rec->accumulated_cost_offset[ wtoken->end_time];
506 /* BKWD: rec
485 make_partial_path(AstarStack* stack, wtokenID token_index, srec* rec, int* pwhether_complete) argument
521 astar_stack_make(srec* rec, int max_nbest_len) argument
554 astar_stack_destroy(srec* rec) argument
569 astar_stack_prepare(AstarStack* stack, int request_nbest_len, srec* rec) argument
654 astar_stack_do_backwards_search(srec* rec, int request_nbest_len) argument
923 print_path(partial_path* ipath, srec* rec, char* msg) argument
978 print_partial_paths(partial_path** parps, int num_parps, srec* rec, const char* msg) argument
1001 astar_draw_arc_as_dotty(FILE* fp, partial_path* parp, int src_node, int *nodes_used, srec* rec) argument
1037 astar_draw_tree_as_dotty(const char* file, srec* rec, AstarStack* stack) argument
1073 astar_stack_prepare_from_active_search(AstarStack* stack, int nbestlen, srec* rec) argument
1243 astar_stack_flag_word_tokens_used(AstarStack* stack, srec* rec) argument
[all...]
H A Dastar_pphash.c40 hash->rec = rec_debug;
46 int compare_parp(partial_path* parp1, partial_path* parp2, srec* rec) argument
105 if (compare_parp(p_return, parp, hash->rec) == 0)
128 print_path(parp, hash->rec, "problem in astar_pphash hash_set ");
132 else if (compare_parp(*p_insert, parp, hash->rec) == 0)
135 print_path(*p_insert, hash->rec, "key taken in astar_pphash hash_set ");
143 print_path(parp, hash->rec, "");
160 if (compare_parp(*p_insert, parp, hash->rec) == 0)
165 print_path(parp, hash->rec, "deleted ");
H A Dastar_pphash.h43 srec* rec; member in struct:__anon31089
47 void hash_init(FixedSizeHash* hash, srec* rec);
50 int compare_parp(partial_path* parp1, partial_path* parp2, srec* rec);
H A Dpriority_q.c75 void remove_non_end_word_from_q(srec *rec, priority_q *pq, word_token *word_token_array, nodeID end_node) argument
92 free_word_token(rec, old_token_index);
H A Dsrec.c60 static void reset_cost_offsets(multi_srec* rec, frameID current_search_frame,
62 static void update_internal_hmm_states(srec *rec, costdata *pcurrent_prune_delta,
78 static altword_token* reprune_altword_token_batch(srec* rec, argument
88 free_altword_token(rec, batch);
102 free_altword_token(rec, awtoken);
125 free_altword_token(rec, awtoken);
131 free_altword_token(rec, batch);
137 static void reprune_altword_tokens(srec* rec) argument
142 bigcostdata current_prune_delta = rec->prune_delta;
146 for (i = rec
212 copy_altwords(srec* rec, altword_token* list1, costdata delta) argument
269 sizewise_altwords(srec* rec, altword_token* awtoken_head) argument
349 find_which_models_to_compute(srec *rec, const SWIModel *acoustic_models) argument
441 prune_new_tokens(srec *rec, costdata current_prune_thresh) argument
490 reprune_word_tokens_if_necessary(srec *rec) argument
509 reprune_new_states(srec *rec, costdata current_best_cost, costdata current_prune_delta) argument
550 prune_fsmnode_tokens(srec *rec, costdata current_prune_thresh, ftokenID not_this_one) argument
589 reprune_fsmnode_tokens(srec *rec, costdata current_best_cost, costdata current_prune_delta, ftokenID not_this_one) argument
628 reset_best_cost_to_zero(srec* rec, costdata current_best_cost) argument
654 reset_cost_offsets(multi_srec* rec, frameID current_frame, costdata current_best_cost) argument
673 create_word_token(srec *rec) argument
695 block_fsmnodes_per_backtrace(srec *rec, wtokenID wtoken_id) argument
716 srec_process_word_boundary_nbest(srec* rec, nodeID end_node, wordID word, wtokenID word_backtrace, costdata cost, costdata* pcurrent_word_threshold, int *any_nodes_blocked) argument
795 srec_get_parent_for_active_fsmnode(srec* rec, ftokenID ftoken_index) argument
822 do_epsilon_updates(srec *rec, costdata prune_delta, costdata best_cost) argument
1096 update_internal_hmm_states(srec *rec, costdata *pcurrent_prune_delta, costdata *pcurrent_best_cost, costdata *precomputed_model_scores) argument
1251 update_from_hmms_to_fsmnodes(srec *rec, costdata prune_delta, costdata best_cost) argument
1518 update_from_current_fsm_nodes_into_new_HMMs(srec* rec, costdata *pcurrent_prune_delta, costdata *pcurrent_best_cost, costdata *precomputed_model_scores) argument
1696 srec_begin(srec *rec, int begin_syn_node) argument
1785 srec_force_the_end(srec* rec, frameID end_frame, wordID end_word) argument
1821 srec_no_more_frames(srec* rec) argument
1914 srec_terminate(srec* rec) argument
2162 srec_viterbi_part1(srec *rec, const SWIModel *acoustic_models, pattern_info *pattern, costdata silence_model_cost) argument
2258 srec_viterbi_part2(srec *rec) argument
2336 WHICH_RECOG(multi_srec* rec) argument
2361 srec* rec = WHICH_RECOG(recm); local
2411 multi_srec_get_eos_status(multi_srec* rec) argument
[all...]
H A Dsrec_debug.c26 static char* sprint_altwords(srec* rec, altword_token* awtoken, char* buf) argument
43 void print_fsmnode_token(srec* rec, ftokenID token_index, char* msg) argument
54 ftoken = &rec->fsmnode_token_array[token_index];
55 printf("%sftoken %d rec %d@%d fsmnode %d cost %d word %d(%s) word_backtrace %d next_token_index %d ", msg, token_index, rec->id, rec->current_search_frame, ftoken->FSMnode_index, ftoken->cost, ftoken->word,
56 sprint_altwords(rec, ftoken->aword_backtrace, buf),
60 if (ftoken->word < rec->context->olabels->num_words)
61 p = rec->context->olabels->words[ftoken->word];
62 sprint_bword_token_backtrace(word_backtrace_trans, sizeof(word_backtrace_trans), rec, ftoke
66 print_fsmnode_token_list(srec* rec, stokenID token_index, char* msg) argument
78 print_search_status(srec* rec) argument
91 print_fsmarc_token(srec* rec, stokenID token_index, char* msg) argument
120 print_fsmarc_token_list(srec* rec, stokenID token_index, char* msg) argument
[all...]
H A Dsrec_eosd.c70 EOSrc srec_check_end_of_speech_end(srec* rec) argument
76 EOSrc srec_check_end_of_speech(srec_eos_detector_parms* eosd_parms, srec* rec) argument
87 costdata wrapup_cost = rec->context->wrapup_cost;
88 srec_eos_detector_state* eosd_state = &rec->eosd_state;
90 if (rec->current_search_frame == 1)
93 end_node = rec->context->end_node;
94 eftoken_index = rec->best_token_for_node[ end_node];
96 eftoken = &rec->fsmnode_token_array[ eftoken_index];
100 xftoken_index = rec->current_best_ftoken_index[NODE_INFO_REGULAR];
102 xftoken = &rec
[all...]
H A Dsrec_initialize.c72 static void allocate_recognition1(srec *rec, argument
91 rec->current_model_scores = (costdata*) CALLOC_CLR(max_model_states, sizeof(costdata), "search.srec.current_model_scores"); /*FIX - either get NUM_MODELS from acoustic models, or check this someplace to make sure we have enough room*/
92 rec->num_model_slots_allocated = (modelID)max_model_states;
94 rec->fsmarc_token_array_size = (stokenID)max_hmm_tokens;
96 rec->fsmarc_token_array = (fsmarc_token*) CALLOC_CLR(rec->fsmarc_token_array_size , sizeof(fsmarc_token), "search.srec.fsmarc_token_array");
97 rec->max_new_states = (stokenID)max_hmm_tokens;
99 rec->word_token_array = (word_token*) CALLOC_CLR(max_word_tokens, sizeof(word_token), "search.srec.word_token_array");
100 rec->word_token_array_size = (wtokenID)max_word_tokens;
102 rec
138 allocate_recognition(multi_srec *rec, int viterbi_prune_thresh, int max_hmm_tokens, int max_fsmnode_tokens, int max_word_tokens, int max_altword_tokens, int num_wordends_per_frame, int max_fsm_nodes, int max_fsm_arcs, int max_frames, int max_model_states, int max_searches) argument
211 free_recognition1(srec *rec) argument
225 free_recognition(multi_srec *rec) argument
[all...]
H A Dsrec_results.c40 if (current_best_cost > recm->rec[i].current_best_cost)
42 current_best_cost = recm->rec[i].current_best_cost;
43 return_rec = &recm->rec[i];
53 srec* rec = WHICH_RECOG(recm); local
54 if (!rec) *id = -1;
55 else *id = rec->id;
78 srec* rec = WHICH_RECOG(recm); local
80 if (!rec)
82 end_frame = rec->current_search_frame;
83 if (!rec
94 srec* rec = WHICH_RECOG(recm); local
111 srec* rec = WHICH_RECOG(recm); local
143 srec* rec = (srec*)rec_void; local
150 srec* rec = (srec*)rec_void; local
157 srec* rec = (srec*)rec_void; local
172 srec* rec = (srec*)rec_void; local
180 srec* rec = (srec*)rec_void; local
200 srec* rec = (srec*)nbest; local
207 srec* rec = (srec*)rec_void; local
233 const srec* rec = (srec*) rec_void; local
285 const srec* rec = (srec*)rec_void; local
352 srec* rec = (srec*)rec_void; local
459 srec* rec = (srec*)rec_void; local
[all...]
H A Dsrec_stats.c80 void srec_stats_update(srec* rec, char* msg) argument
95 st_index = rec->active_fsmarc_tokens;
98 stoken = &rec->fsmarc_token_array[st_index];
105 ft_index = rec->active_fsmnode_tokens;
108 ftoken = &rec->fsmnode_token_array[ft_index];
115 for (i = 0, num = 0; i < rec->current_search_frame; i++)
117 wt_index = rec->word_lattice->words_for_frame[i];
120 wtoken = &rec->word_token_array[wt_index];
128 for (num = 0, awtoken = rec->altword_token_freelist; awtoken; awtoken = awtoken->next_token)
130 num = rec
[all...]
H A Dsrec_tokens.c37 int count_fsmarc_token_list(srec* rec, stokenID token_index) argument
43 fsmarc_token* stoken = &rec->fsmarc_token_array[token_index];
53 void initialize_free_fsmarc_tokens(srec *rec) argument
58 for (i = 0;i < rec->fsmarc_token_array_size - 1;i++)
60 rec->fsmarc_token_array[i].next_token_index = i + 1;
62 rec->fsmarc_token_array[rec->fsmarc_token_array_size-1].next_token_index = MAXstokenID;
63 rec->fsmarc_token_freelist = 0;
67 stokenID setup_free_fsmarc_token(srec *rec, FSMarc* arc, arcID fsm_arc_index, miscdata what_to_do_if_fails) argument
73 if (rec
115 free_fsmarc_token(srec *rec, stokenID old_token_index) argument
129 sort_fsmarc_token_list(srec* rec, stokenID* ptoken_index) argument
136 initialize_free_word_tokens(srec *rec) argument
151 get_free_word_token(srec *rec, miscdata what_to_do_if_fails) argument
191 count_fsmnode_token_list(srec* rec, ftokenID token_index) argument
204 initialize_free_fsmnode_tokens(srec *rec) argument
219 get_free_fsmnode_token(srec *rec, miscdata what_to_do_if_fails) argument
253 free_fsmnode_token(srec *rec, ftokenID old_token_index) argument
269 initialize_free_altword_tokens(srec *rec) argument
288 count_altword_token(srec* rec, altword_token* b) argument
300 get_free_altword_token(srec* rec, miscdata what_to_do_if_fails) argument
316 free_altword_token(srec* rec, altword_token* old_token) argument
329 free_altword_token_batch(srec* rec, altword_token* old_token) argument
[all...]
H A Dword_lattice.c111 void print_word_token_backtrace(srec* rec, wtokenID wtoken_index, char* tail) argument
122 wtoken = &rec->word_token_array[wtoken_index];
123 if (wtoken->word < rec->context->olabels->num_words)
124 p = rec->context->olabels->words[wtoken->word];
128 ASSERT(rec->accumulated_cost_offset[ wtoken->end_time] != 0);
129 cost = wtoken->cost + rec->accumulated_cost_offset[ wtoken->end_time];
133 word_token* next_wtoken = &rec->word_token_array[wtoken->backtrace];
134 cost_for_word = cost - next_wtoken->cost - rec->accumulated_cost_offset[ next_wtoken->end_time];
150 int sprint_bword_token_backtrace(char* buf, int buflen, srec* rec, wtokenID wtoken_index) argument
158 word_token* wtoken = &rec
174 sprint_word_token_backtraceByWordID(wordID* wordIDs, size_t* len, srec* rec, wtokenID wtoken_index) argument
230 sprint_word_token_backtrace(char *transcription, int len, srec* rec, wtokenID wtoken_index) argument
308 print_word_token(srec* rec, wtokenID wtoken_index, char* msg) argument
335 print_word_token_list(srec* rec, wtokenID wtoken_index, char* msg) argument
352 srec_get_result(srec *rec) argument
389 WHICH_RECOG(multi_srec* rec) argument
411 srec* rec = WHICH_RECOG(recm); local
447 srec* rec = WHICH_RECOG(recm); local
488 srec* rec = WHICH_RECOG(recm); local
534 sort_word_lattice_at_frame(srec* rec, frameID frame) argument
588 free_word_token(srec *rec, wtokenID old_token_index) argument
600 free_word_token_from_lattice(srec *rec, wtokenID old_token_index) argument
679 reprune_word_tokens(srec* rec, costdata current_best_cost) argument
[all...]
/external/srec/srec/include/
H A Dsrec.h295 srec* rec; /* size num_allocated_recs, one for member in struct:__anon31152
328 void remove_non_end_word_from_q(srec *rec, priority_q *pq, word_token *word_token_array, nodeID end_node);
331 void free_word_token(srec *rec, wtokenID old_token_index);
332 int srec_begin(srec* rec, int begin_syn_node);
333 void srec_no_more_frames(srec* rec);
335 void multi_srec_get_speech_bounds(multi_srec* rec, frameID* start_frame, frameID* end_frame);
336 int multi_srec_get_eos_status(multi_srec* rec);
/external/skia/samplecode/
H A DSampleSlides.cpp345 static void make_tris(Rec* rec) { argument
349 rec->fMode = SkCanvas::kTriangles_VertexMode;
350 rec->fCount = n * 3;
351 rec->fVerts = new SkPoint[rec->fCount];
354 SkPoint* v = &rec->fVerts[i*3];
361 static void make_fan(Rec* rec, int texWidth, int texHeight) { argument
366 rec->fMode = SkCanvas::kTriangleFan_VertexMode;
367 rec->fCount = n + 2;
368 rec
391 make_strip(Rec* rec, int texWidth, int texHeight) argument
[all...]
H A DSampleVertices.cpp144 void make_tris(Rec* rec) { argument
148 rec->fMode = SkCanvas::kTriangles_VertexMode;
149 rec->fCount = n * 3;
150 rec->fVerts = new SkPoint[rec->fCount];
153 SkPoint* v = &rec->fVerts[i*3];
160 void make_fan(Rec* rec, int texWidth, int texHeight) { argument
165 rec->fMode = SkCanvas::kTriangleFan_VertexMode;
166 rec->fCount = n + 2;
167 rec
190 make_strip(Rec* rec, int texWidth, int texHeight) argument
[all...]
/external/skia/src/core/
H A DSkBitmapProcShader.cpp100 SkShader::Context* SkBitmapProcShader::onCreateContext(const ContextRec& rec, void* storage) const { argument
107 if (!this->computeTotalInverse(rec, &totalInverse)) {
118 if (!state->chooseProcs(totalInverse, *rec.fPaint)) {
123 return SkNEW_PLACEMENT_ARGS(storage, BitmapProcShaderContext, (*this, rec, state));
133 const SkBitmapProcShader& shader, const ContextRec& rec, SkBitmapProcState* state)
134 : INHERITED(shader, rec)
162 if (rec.fPaint->isDither() && bitmap.colorType() != kRGB_565_SkColorType) {
132 BitmapProcShaderContext( const SkBitmapProcShader& shader, const ContextRec& rec, SkBitmapProcState* state) argument

Completed in 549 milliseconds

1234567891011>>