Lines Matching defs:uwRet
291 UINT32 uwRet = 0;
294 uwRet = pthread_attr_init(attr);
295 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK);
297 uwRet = pthread_attr_setinheritsched(attr, PTHREAD_EXPLICIT_SCHED);
298 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK);
301 uwRet = pthread_attr_setschedparam(attr, &sp);
302 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK);
311 UINT32 uwRet = 0;
313 uwRet = pthread_join(thread, NULL);
314 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK);
316 uwRet = pthread_attr_destroy(attr);
317 ICUNIT_GOTO_EQUAL(uwRet, 0, uwRet, NOK);
380 int uwRet = 0;
382 if ((uwRet = add_mtd_partition(type, start_addr, length, 0)) != 0)
383 PRINT_ERR("add %s partition failed, return %d\n", type, uwRet);
387 if ((uwRet = mount("/dev/spinorblk0", "/jffs0", "jffs", 0, NULL)) != 0)
388 PRINT_ERR("mount jffs0 failed,err %d\n", uwRet);
409 int uwRet = 0;
416 if ((uwRet = umount(point)) != 0) {
417 PRINT_ERR("umount %s failed,err %d.\n", point, uwRet);
420 if ((uwRet = delete_mtd_partition(0, type)) != 0)
421 PRINT_ERR("delete %s partition failed, return %d\n", type, uwRet);