Lines Matching refs:nv
297 const struct NameValue *nv = NULL; in tool_setopt_enum() local
298 for(nv = nvlist; nv->name; nv++) { in tool_setopt_enum()
299 if(nv->value == lval) in tool_setopt_enum()
302 if(!nv->name) { in tool_setopt_enum()
309 CODE2("curl_easy_setopt(hnd, %s, (long)%s);", name, nv->name); in tool_setopt_enum()
333 const struct NameValue *nv = NULL; in tool_setopt_flags() local
336 for(nv = nvlist; nv->name; nv++) { in tool_setopt_flags()
337 if((nv->value & ~ rest) == 0) { in tool_setopt_flags()
339 rest &= ~ nv->value; /* remove bits handled here */ in tool_setopt_flags()
341 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_flags()
376 const struct NameValueUnsigned *nv = NULL; in tool_setopt_bitmask() local
379 for(nv = nvlist; nv->name; nv++) { in tool_setopt_bitmask()
380 if((nv->value & ~ rest) == 0) { in tool_setopt_bitmask()
382 rest &= ~ nv->value; /* remove bits handled here */ in tool_setopt_bitmask()
384 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_bitmask()
655 const struct NameValue *nv = NULL; in tool_setopt() local
656 for(nv = setopt_nv_CURLNONZERODEFAULTS; nv->name; nv++) { in tool_setopt()
657 if(!strcmp(name, nv->name)) { in tool_setopt()
658 defval = nv->value; in tool_setopt()