• Home
  • Raw
  • Download

Lines Matching refs:buffer

198         char buffer[triggerBuffer];  in TestCheckParamTrigger1()  local
199 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestCheckParamTrigger1()
201 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger1()
206 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, "2"); in TestCheckParamTrigger1()
208 … CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM, buffer, strlen(buffer), TestTriggerExecute); in TestCheckParamTrigger1()
212 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestCheckParamTrigger1()
214 … CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM, buffer, strlen(buffer), TestTriggerExecute); in TestCheckParamTrigger1()
220 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", "2222", value); in TestCheckParamTrigger1()
222 … CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM, buffer, strlen(buffer), TestTriggerExecute); in TestCheckParamTrigger1()
225 …CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM_WATCH, buffer, strlen(buffer), TestTriggerExecut… in TestCheckParamTrigger1()
233 char buffer[triggerBuffer]; in TestCheckParamTrigger2() local
234 int ret = sprintf_s(buffer, sizeof(buffer), "%s=*", param); in TestCheckParamTrigger2()
236 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger2()
241 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, "2"); in TestCheckParamTrigger2()
243 … CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM, buffer, strlen(buffer), TestTriggerExecute); in TestCheckParamTrigger2()
259 char buffer[triggerBuffer]; in TestCheckParamTrigger3() local
260 int ret = sprintf_s(buffer, sizeof(buffer), "%s || %s", param1, param2); in TestCheckParamTrigger3()
262 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger3()
283 char buffer[triggerBuffer]; in TestCheckParamTrigger4() local
284 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s && %s=%s", param1, "1", param2, "2"); in TestCheckParamTrigger4()
286 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger4()
293 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param1, "1"); in TestCheckParamTrigger4()
295 … CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM, buffer, strlen(buffer), TestTriggerExecute); in TestCheckParamTrigger4()
300 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param2, "2"); in TestCheckParamTrigger4()
302 … CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM, buffer, strlen(buffer), TestTriggerExecute); in TestCheckParamTrigger4()
314 char buffer[triggerBuffer]; in TestCheckParamTrigger5() local
315 … int ret = sprintf_s(buffer, sizeof(buffer), "aaaa && %s=%s && %s=%s", param1, "1", param2, "2"); in TestCheckParamTrigger5()
317 JobNode *node = AddTrigger(TRIGGER_UNKNOW, triggerName, buffer, 0); in TestCheckParamTrigger5()
323 ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param1, "1"); in TestCheckParamTrigger5()
325 … CheckTrigger(GetTriggerWorkSpace(), TRIGGER_PARAM, buffer, strlen(buffer), TestTriggerExecute); in TestCheckParamTrigger5()
356 char buffer[triggerBuffer]; in TestExecuteParamTrigger1() local
357 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestExecuteParamTrigger1()
359 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger1()
379 char buffer[triggerBuffer]; in TestExecuteParamTrigger2() local
380 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestExecuteParamTrigger2()
382 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger2()
401 char buffer[triggerBuffer]; in TestExecuteParamTrigger3() local
402 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestExecuteParamTrigger3()
404 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger3()
432 char buffer[triggerBuffer]; in TestExecuteParamTrigger4() local
433 int ret = sprintf_s(buffer, sizeof(buffer), "%s=%s", param, value); in TestExecuteParamTrigger4()
435 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger4()
474 char buffer[triggerBuffer]; in TestExecuteParamTrigger5() local
475 ret = sprintf_s(buffer, sizeof(buffer), "boot2 && %s=%s", param, value); in TestExecuteParamTrigger5()
477 trigger = AddTrigger(TRIGGER_UNKNOW, triggerName, buffer, 0); in TestExecuteParamTrigger5()