Lines Matching refs:ret
136 UINT32 ret = access(pathList[i], 0);
137 if (ret == 0) {
138 ret = memcpy_s(nameBuf, sizeof(nameBuf), pathList[i], strlen(pathList[i]) + 1);
139 if (ret != 0) {
142 ret = strcat_s(nameBuf, sizeof(nameBuf), "_bak_for_test");
143 if (ret != 0) {
146 ret = rename(pathList[i], nameBuf);
147 if (ret != 0) {
155 ret = fwrite(streamList[i], 1, streamLen[i], fp);
156 if (ret != streamLen[i]) {
160 ret = fclose(fp);
161 if (ret != 0) {
170 UINT32 ret;
173 ret = remove(pathList[i]);
174 if (ret != 0) {
175 printf("ret = %d, err = %d\n", ret, errno);
177 ret = memcpy_s(nameBuf, sizeof(nameBuf), pathList[i], strlen(pathList[i]) + 1);
178 if (ret != 0) {
181 ret = strcat_s(nameBuf, sizeof(nameBuf), "_bak_for_test");
182 if (ret != 0) {
185 ret = access(nameBuf, 0);
186 if (ret == 0) {
187 ret = rename(nameBuf, pathList[i]);
188 if (ret != 0) {
440 int ret;
460 ret = sprintf_s(dir_name, sizeof(dir_name), "%s/%s", dir, dp->d_name);
461 if (ret < 0) {