Lines Matching refs:nv
248 const NameValue *nv = NULL; in tool_setopt_enum() local
249 for(nv=nvlist; nv->name; nv++) { in tool_setopt_enum()
250 if(nv->value == lval) break; /* found it */ in tool_setopt_enum()
252 if(! nv->name) { in tool_setopt_enum()
259 CODE2("curl_easy_setopt(hnd, %s, (long)%s);", name, nv->name); in tool_setopt_enum()
283 const NameValue *nv = NULL; in tool_setopt_flags() local
286 for(nv=nvlist; nv->name; nv++) { in tool_setopt_flags()
287 if((nv->value & ~ rest) == 0) { in tool_setopt_flags()
289 rest &= ~ nv->value; /* remove bits handled here */ in tool_setopt_flags()
291 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_flags()
326 const NameValueUnsigned *nv = NULL; in tool_setopt_bitmask() local
329 for(nv=nvlist; nv->name; nv++) { in tool_setopt_bitmask()
330 if((nv->value & ~ rest) == 0) { in tool_setopt_bitmask()
332 rest &= ~ nv->value; /* remove bits handled here */ in tool_setopt_bitmask()
334 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_bitmask()
487 const NameValue *nv = NULL; in tool_setopt() local
488 for(nv=setopt_nv_CURLNONZERODEFAULTS; nv->name; nv++) { in tool_setopt()
489 if(!strcmp(name, nv->name)) { in tool_setopt()
490 defval = nv->value; in tool_setopt()