/third_party/ltp/testcases/kernel/syscalls/timer_settime/ |
D | timer_settime01.c | 33 static struct tst_its new_set, old_set; variable 121 memset(&new_set, 0, sizeof(new_set)); in run() 124 new_set.type = old_set.type = tv->ts_type; in run() 136 tst_its_set_value_from_ts(&new_set, timenow); in run() 138 tst_its_set_value_from_us(&new_set, val); in run() 141 tst_its_set_interval_from_us(&new_set, tc->it_interval_tv_usec); in run() 143 TEST(tv->timer_settime(timer, tc->flag, tst_its_get(&new_set), tst_its_get(tc->old_ptr))); in run() 150 TEST(tv->timer_gettime(timer, tst_its_get(&new_set))); in run() 154 } else if ((tst_its_get_interval_nsec(new_set) != in run() 156 (tst_its_get_value_nsec(new_set) > in run() [all …]
|
D | timer_settime02.c | 31 static struct tst_its new_set, old_set; variable 32 static struct tst_its *pnew_set = &new_set, *pold_set = &old_set, *null_set = NULL; 111 memset(&new_set, 0, sizeof(new_set)); in run() 114 new_set.type = old_set.type = tv->ts_type; in run() 115 tst_its_set_interval_sec(&new_set, 0); in run() 116 tst_its_set_interval_nsec(&new_set, 0); in run() 117 tst_its_set_value_sec(&new_set, 5); in run() 118 tst_its_set_value_nsec(&new_set, tc->it_value_tv_nsec); in run()
|
/third_party/boost/tools/build/src/engine/ |
D | object.cpp | 175 string_set new_set; in string_set_resize() local 176 new_set.num = set->num * 2; in string_set_resize() 177 new_set.size = set->size; in string_set_resize() 178 new_set.data = (struct hash_item * *)BJAM_MALLOC( sizeof( struct hash_item * in string_set_resize() 179 ) * new_set.num ); in string_set_resize() 180 memset( new_set.data, 0, sizeof( struct hash_item * ) * new_set.num ); in string_set_resize() 186 unsigned pos = temp->header.hash % new_set.num; in string_set_resize() 188 temp->header.next = new_set.data[ pos ]; in string_set_resize() 189 new_set.data[ pos ] = temp; in string_set_resize() 193 *set = new_set; in string_set_resize()
|
/third_party/musl/porting/liteos_m/kernel/src/regex/ |
D | regcomp.c | 2022 tre_pos_and_tags_t *new_set; in tre_set_empty() local 2024 new_set = tre_mem_calloc(mem, sizeof(*new_set)); in tre_set_empty() 2025 if (new_set == NULL) in tre_set_empty() 2028 new_set[0].position = -1; in tre_set_empty() 2029 new_set[0].code_min = -1; in tre_set_empty() 2030 new_set[0].code_max = -1; in tre_set_empty() 2032 return new_set; in tre_set_empty() 2039 tre_pos_and_tags_t *new_set; in tre_set_one() local 2041 new_set = tre_mem_calloc(mem, sizeof(*new_set) * 2); in tre_set_one() 2042 if (new_set == NULL) in tre_set_one() [all …]
|
/third_party/musl/porting/liteos_m_iccarm/kernel/src/regex/ |
D | regcomp.c | 2023 tre_pos_and_tags_t *new_set; in tre_set_empty() local 2025 new_set = tre_mem_calloc(mem, sizeof(*new_set)); in tre_set_empty() 2026 if (new_set == NULL) in tre_set_empty() 2029 new_set[0].position = -1; in tre_set_empty() 2030 new_set[0].code_min = -1; in tre_set_empty() 2031 new_set[0].code_max = -1; in tre_set_empty() 2033 return new_set; in tre_set_empty() 2040 tre_pos_and_tags_t *new_set; in tre_set_one() local 2042 new_set = tre_mem_calloc(mem, sizeof(*new_set) * 2); in tre_set_one() 2043 if (new_set == NULL) in tre_set_one() [all …]
|
/third_party/musl/porting/uniproton/kernel/src/regex/ |
D | regcomp.c | 2022 tre_pos_and_tags_t *new_set; in tre_set_empty() local 2024 new_set = tre_mem_calloc(mem, sizeof(*new_set)); in tre_set_empty() 2025 if (new_set == NULL) in tre_set_empty() 2028 new_set[0].position = -1; in tre_set_empty() 2029 new_set[0].code_min = -1; in tre_set_empty() 2030 new_set[0].code_max = -1; in tre_set_empty() 2032 return new_set; in tre_set_empty() 2039 tre_pos_and_tags_t *new_set; in tre_set_one() local 2041 new_set = tre_mem_calloc(mem, sizeof(*new_set) * 2); in tre_set_one() 2042 if (new_set == NULL) in tre_set_one() [all …]
|
/third_party/musl/src/regex/ |
D | regcomp.c | 2022 tre_pos_and_tags_t *new_set; in tre_set_empty() local 2024 new_set = tre_mem_calloc(mem, sizeof(*new_set)); in tre_set_empty() 2025 if (new_set == NULL) in tre_set_empty() 2028 new_set[0].position = -1; in tre_set_empty() 2029 new_set[0].code_min = -1; in tre_set_empty() 2030 new_set[0].code_max = -1; in tre_set_empty() 2032 return new_set; in tre_set_empty() 2039 tre_pos_and_tags_t *new_set; in tre_set_one() local 2041 new_set = tre_mem_calloc(mem, sizeof(*new_set) * 2); in tre_set_one() 2042 if (new_set == NULL) in tre_set_one() [all …]
|
/third_party/mesa3d/src/amd/compiler/ |
D | aco_reindex_ssa.cpp | 101 IDSet new_set; in update_live_out() local 103 new_set.insert(ctx.renames[id]); in update_live_out() 104 set = new_set; in update_live_out()
|
/third_party/mesa3d/src/util/ |
D | u_thread.h | 111 sigset_t saved_set, new_set; in u_thread_create() local 114 sigfillset(&new_set); in u_thread_create() 115 sigdelset(&new_set, SIGSYS); in u_thread_create() 116 pthread_sigmask(SIG_BLOCK, &new_set, &saved_set); in u_thread_create()
|
/third_party/ffmpeg/libavformat/ |
D | webmdashenc.c | 410 enum { new_set, parsed_id, parsing_streams } state; in parse_adaptation_sets() enumerator 416 state = new_set; in parse_adaptation_sets() 419 if (state == new_set) in parse_adaptation_sets() 423 } else if (state == new_set && *p == ' ') { in parse_adaptation_sets() 426 } else if (state == new_set && !strncmp(p, "id=", 3)) { in parse_adaptation_sets() 464 if (*q == ' ') state = new_set; in parse_adaptation_sets()
|
D | dashenc.c | 944 enum { new_set, parse_default, parsing_streams, parse_seg_duration, parse_frag_duration } state; in parse_adaptation_sets() enumerator 969 state = new_set; in parse_adaptation_sets() 974 } else if (state == new_set && av_strstart(p, "id=", &p)) { in parse_adaptation_sets() 994 } else if (state != new_set && av_strstart(p, "seg_duration=", &p)) { in parse_adaptation_sets() 996 } else if (state != new_set && av_strstart(p, "frag_duration=", &p)) { in parse_adaptation_sets() 1019 } else if (state != new_set && av_strstart(p, "frag_type=", &p)) { in parse_adaptation_sets() 1041 } else if (state != new_set && av_strstart(p, "descriptor=", &p)) { in parse_adaptation_sets() 1053 } else if ((state != new_set) && av_strstart(p, "trick_id=", &p)) { in parse_adaptation_sets() 1067 …} else if ((state != new_set) && av_strstart(p, "streams=", &p)) { //descriptor and durations are … in parse_adaptation_sets() 1108 state = new_set; in parse_adaptation_sets()
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | goomsl_yacc.y | 366 static NodeType *new_set(NodeType *lvalue, NodeType *expression) in new_set() function 523 commit_node(new_set(tmp,expr->unode.opr.op[0]),0); in precommit_expr() 686 commit_node(new_set(tmp,new_var(call->str,call->line_number)),0); in precommit_call_expr() 718 commit_node(new_set(tmp,set->unode.opr.op[0]),0); in commit_test2() 824 commit_node(new_set(x, var),0); in commit_foreach() 836 commit_node(new_set(var, x),0); in commit_foreach() 918 NodeType *nset = new_set(nodeClone(expression), nodeClone(lvalue)); in new_affect_list_after() 1330 declaration: FLOAT_TK LTYPE_VAR '=' expression { gsl_float_decl_local($2); $$ = new_set(new_var($2,… 1331 …| INT_TK LTYPE_VAR '=' expression { gsl_int_decl_local($2); $$ = new_set(new_var($2,currentGoo… 1332 …| PTR_TK LTYPE_VAR '=' expression { gsl_ptr_decl_local($2); $$ = new_set(new_var($2,currentGoo… [all …]
|
/third_party/boost/boost/graph/distributed/ |
D | strong_components.hpp | 683 std::vector<vertex_descriptor> new_set; in fleischer_hendrickson_pinar_strong_components() local 695 new_set.push_back(v); in fleischer_hendrickson_pinar_strong_components() 700 all_gather(pg, new_set.begin(), new_set.end(), vertex_sets[i]); in fleischer_hendrickson_pinar_strong_components()
|