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

1234567

/system/extras/tests/bionic/libc/glibc/assert/
H A Dtest-assert.c14 jmp_buf rec; variable
20 longjmp (rec, 1); /* recover control */
59 if (!setjmp (rec))
64 if (!setjmp (rec))
69 if (!setjmp (rec))
/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.c762 enum IMV_Action_Recommendation rec; local
775 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION;
780 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS;
782 rec != TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS)
783 rec = TNC_IMV_ACTION_RECOMMENDATION_ISOLATE;
785 rec == TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION)
786 rec = TNC_IMV_ACTION_RECOMMENDATION_ALLOW;
789 wpa_printf(MSG_DEBUG, "TNC: Recommendation: %d", rec);
790 tncs->recommendation = rec;
794 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.c762 enum IMV_Action_Recommendation rec; local
775 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION;
780 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS;
782 rec != TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS)
783 rec = TNC_IMV_ACTION_RECOMMENDATION_ISOLATE;
785 rec == TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION)
786 rec = TNC_IMV_ACTION_RECOMMENDATION_ALLOW;
789 wpa_printf(MSG_DEBUG, "TNC: Recommendation: %d", rec);
790 tncs->recommendation = rec;
794 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.c762 enum IMV_Action_Recommendation rec; local
775 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION;
780 rec = TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS;
782 rec != TNC_IMV_ACTION_RECOMMENDATION_NO_ACCESS)
783 rec = TNC_IMV_ACTION_RECOMMENDATION_ISOLATE;
785 rec == TNC_IMV_ACTION_RECOMMENDATION_NO_RECOMMENDATION)
786 rec = TNC_IMV_ACTION_RECOMMENDATION_ALLOW;
789 wpa_printf(MSG_DEBUG, "TNC: Recommendation: %d", rec);
790 tncs->recommendation = rec;
794 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/webkit/Source/WebKit/android/jni/
H A DJavaSharedClient.cpp105 FuncPtrRec* rec = (FuncPtrRec*)gFuncPtrQ.push_back(); local
106 rec->fProc = proc;
107 rec->fPayload = payload;
119 const FuncPtrRec* rec; local
124 rec = (const FuncPtrRec*)gFuncPtrQ.front();
125 if (rec) {
126 proc = rec->fProc;
127 payload = rec->fPayload;
133 if (rec)
/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/v8/src/
H A Dcpu-profiler.cc65 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; local
66 rec->type = CodeEventRecord::CODE_CREATION;
67 rec->order = ++enqueue_order_;
68 rec->start = start;
69 rec->entry = generator_->NewCodeEntry(tag, prefix, name);
70 rec->size = 1;
71 rec->shared = NULL;
85 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; local
86 rec->type = CodeEventRecord::CODE_CREATION;
87 rec
102 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; local
119 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; local
132 CodeMoveEventRecord* rec = &evt_rec.CodeMoveEventRecord_; local
144 SharedFunctionInfoMoveEventRecord* rec = local
162 CodeCreateEventRecord* rec = &evt_rec.CodeCreateEventRecord_; local
218 const TickSampleEventRecord* rec = local
[all...]
H A Dunbound-queue-inl.h69 void UnboundQueue<Record>::Dequeue(Record* rec) { argument
72 *rec = next->value;
78 void UnboundQueue<Record>::Enqueue(const Record& rec) { argument
80 next = new Node(rec);
/external/v8/test/cctest/
H A Dtest-circular-queue.cc25 Record* rec = reinterpret_cast<Record*>(scq.Enqueue()); local
26 CHECK_NE(NULL, rec);
27 *rec = i;
34 Record* rec = reinterpret_cast<Record*>(scq.Enqueue()); local
35 CHECK_NE(NULL, rec);
36 *rec = i;
40 Record* rec = reinterpret_cast<Record*>(scq.Enqueue()); local
41 CHECK_NE(NULL, rec);
42 *rec = 20;
49 Record* rec local
66 Record* rec = reinterpret_cast<Record*>(scq.StartDequeue()); local
97 Record* rec = reinterpret_cast<Record*>(scq_->Enqueue()); local
141 Record* rec = reinterpret_cast<Record*>(scq.StartDequeue()); local
153 Record* rec = reinterpret_cast<Record*>(scq.StartDequeue()); local
165 Record* rec = reinterpret_cast<Record*>(scq.StartDequeue()); local
[all...]
H A Dtest-unbound-queue.cc18 Record rec = 0; local
19 cq.Dequeue(&rec);
20 CHECK_EQ(1, rec);
35 Record rec = 0; local
38 cq.Dequeue(&rec);
39 CHECK_EQ(i, rec);
47 cq.Dequeue(&rec);
48 CHECK_EQ(i, rec);
/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:__anon13454
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...]

Completed in 456 milliseconds

1234567