Lines Matching refs:ret
76 int i, ret;
80 if ((ret = __db_joinchk(primary, flags)) != 0)
81 return (ret);
89 if ((ret = __os_calloc(1, sizeof(DBC), &dbc)) != 0)
92 if ((ret = __os_calloc(1, sizeof(JOIN_CURSOR), &jc)) != 0)
95 if ((ret = __os_malloc(256, NULL, &jc->j_key.data)) != 0)
103 if ((ret = __os_calloc((jc->j_curslist - curslist + 1),
133 return (ret);
171 int ret;
183 if ((ret =
185 return (ret);
189 ret = jc->j_curslist[0]->c_get(jc->j_curslist[0],
192 if (ret == ENOMEM) {
194 if ((ret = __os_realloc(&jc->j_key.data, jc->j_key.ulen)) != 0)
195 return (ret);
198 if (ret != 0)
199 return (ret);
208 retry2: if ((ret = ((*cpp)->c_get)(*cpp,
211 if (ret == ENOMEM) {
213 if ((ret = __os_realloc(&jc->j_key.data,
215 return (ret);
225 * If we got out of here with ret != 0, then we failed to
227 * the next item in the outermost relation. If ret was
230 if (ret == 0)
232 } while ((ret = jc->j_curslist[0]->c_get(jc->j_curslist[0],
236 * If ret != 0 here, we've exhausted the first file. Otherwise,
240 if (ret != 0)
241 return (ret);