Home
last modified time | relevance | path

Searched refs:ifs (Results 1 – 25 of 34) sorted by relevance

12

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/
Di915_fpc_emit.c286 struct i915_fragment_shader *ifs = p->shader; in i915_emit_const1f() local
295 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER) in i915_emit_const1f()
298 if (!(ifs->constant_flags[reg] & (1 << idx)) || in i915_emit_const1f()
299 ifs->constants[reg][idx] == c0) { in i915_emit_const1f()
300 ifs->constants[reg][idx] = c0; in i915_emit_const1f()
301 ifs->constant_flags[reg] |= 1 << idx; in i915_emit_const1f()
302 if (reg + 1 > ifs->num_constants) in i915_emit_const1f()
303 ifs->num_constants = reg + 1; in i915_emit_const1f()
316 struct i915_fragment_shader *ifs = p->shader; in i915_emit_const2f() local
332 if (ifs->constant_flags[reg] == 0xf || in i915_emit_const2f()
[all …]
Di915_fpc_translate.c1116 struct i915_fragment_shader *ifs = p->shader; in i915_translate_token() local
1134 assert(ifs->constant_flags[i] == 0x0); in i915_translate_token()
1135 ifs->constant_flags[i] = I915_CONSTFLAG_USER; in i915_translate_token()
1136 ifs->num_constants = MAX2(ifs->num_constants, i + 1); in i915_translate_token()
1174 if (ifs->constant_flags[j] == 0x0) { in i915_translate_token()
1175 memcpy(ifs->constants[j], in i915_translate_token()
1179 ifs->constant_flags[j] = 0xf; /* all four comps used */ in i915_translate_token()
1181 ifs->num_constants = MAX2(ifs->num_constants, j + 1); in i915_translate_token()
1218 struct i915_fragment_shader *ifs) in i915_init_compile() argument
1223 p->shader = ifs; in i915_init_compile()
[all …]
Di915_state.c569 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader); in i915_create_fs_state() local
570 if (!ifs) in i915_create_fs_state()
573 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ); in i915_create_fs_state()
574 ifs->state.tokens = tgsi_dup_tokens(templ->tokens); in i915_create_fs_state()
576 tgsi_scan_shader(templ->tokens, &ifs->info); in i915_create_fs_state()
579 i915_translate_fragment_program(i915, ifs); in i915_create_fs_state()
581 return ifs; in i915_create_fs_state()
615 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *) shader; in i915_delete_fs_state() local
617 if (ifs->decl) { in i915_delete_fs_state()
618 FREE(ifs->decl); in i915_delete_fs_state()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_fpc_emit.c286 struct i915_fragment_shader *ifs = p->shader; in i915_emit_const1f() local
295 if (ifs->constant_flags[reg] == I915_CONSTFLAG_USER) in i915_emit_const1f()
298 if (!(ifs->constant_flags[reg] & (1 << idx)) || in i915_emit_const1f()
299 ifs->constants[reg][idx] == c0) { in i915_emit_const1f()
300 ifs->constants[reg][idx] = c0; in i915_emit_const1f()
301 ifs->constant_flags[reg] |= 1 << idx; in i915_emit_const1f()
302 if (reg + 1 > ifs->num_constants) in i915_emit_const1f()
303 ifs->num_constants = reg + 1; in i915_emit_const1f()
316 struct i915_fragment_shader *ifs = p->shader; in i915_emit_const2f() local
332 if (ifs->constant_flags[reg] == 0xf || in i915_emit_const2f()
[all …]
Di915_fpc_translate.c1116 struct i915_fragment_shader *ifs = p->shader; in i915_translate_token() local
1134 assert(ifs->constant_flags[i] == 0x0); in i915_translate_token()
1135 ifs->constant_flags[i] = I915_CONSTFLAG_USER; in i915_translate_token()
1136 ifs->num_constants = MAX2(ifs->num_constants, i + 1); in i915_translate_token()
1174 if (ifs->constant_flags[j] == 0x0) { in i915_translate_token()
1175 memcpy(ifs->constants[j], in i915_translate_token()
1179 ifs->constant_flags[j] = 0xf; /* all four comps used */ in i915_translate_token()
1181 ifs->num_constants = MAX2(ifs->num_constants, j + 1); in i915_translate_token()
1218 struct i915_fragment_shader *ifs) in i915_init_compile() argument
1223 p->shader = ifs; in i915_init_compile()
[all …]
Di915_state.c569 struct i915_fragment_shader *ifs = CALLOC_STRUCT(i915_fragment_shader); in i915_create_fs_state() local
570 if (!ifs) in i915_create_fs_state()
573 ifs->draw_data = draw_create_fragment_shader(i915->draw, templ); in i915_create_fs_state()
574 ifs->state.tokens = tgsi_dup_tokens(templ->tokens); in i915_create_fs_state()
576 tgsi_scan_shader(templ->tokens, &ifs->info); in i915_create_fs_state()
579 i915_translate_fragment_program(i915, ifs); in i915_create_fs_state()
581 return ifs; in i915_create_fs_state()
615 struct i915_fragment_shader *ifs = (struct i915_fragment_shader *) shader; in i915_delete_fs_state() local
617 if (ifs->decl) { in i915_delete_fs_state()
618 FREE(ifs->decl); in i915_delete_fs_state()
[all …]
/external/ceres-solver/examples/
Dnist.cc147 bool GetAndSplitLine(std::ifstream& ifs, std::vector<std::string>* pieces) { in GetAndSplitLine() argument
150 ifs.getline(buf, 256); in GetAndSplitLine()
155 void SkipLines(std::ifstream& ifs, int num_lines) { in SkipLines() argument
158 ifs.getline(buf, 256); in SkipLines()
165 std::ifstream ifs(filename.c_str(), std::ifstream::in); in NISTProblem() local
168 SkipLines(ifs, 24); in NISTProblem()
169 GetAndSplitLine(ifs, &pieces); in NISTProblem()
172 GetAndSplitLine(ifs, &pieces); in NISTProblem()
175 GetAndSplitLine(ifs, &pieces); in NISTProblem()
178 SkipLines(ifs, 4); in NISTProblem()
[all …]
/external/libedit/src/
Dtokenizer.c75 Char *ifs; /* In field separator */ in TYPE() local
110 FUN(tok,init)(const Char *ifs) in TYPE()
116 tok->ifs = tok_strdup(ifs ? ifs : IFS); in TYPE()
117 if (tok->ifs == NULL) { in TYPE()
125 tok_free(tok->ifs); in TYPE()
133 tok_free(tok->ifs); in TYPE()
169 tok_free(tok->ifs); in FUN()
366 if (Strchr(tok->ifs, *ptr) != NULL) in FUN()
/external/javassist/src/main/javassist/
DCtClassType.java308 String[] ifs = file.getInterfaces(); in subtypeOf()
309 int num = ifs.length; in subtypeOf()
311 if (ifs[i].equals(cname)) in subtypeOf()
318 if (classPool.get(ifs[i]).subtypeOf(clazz)) in subtypeOf()
704 String[] ifs = getClassFile2().getInterfaces(); in getInterfaces() local
705 int num = ifs.length; in getInterfaces()
708 ifc[i] = classPool.get(ifs[i]); in getInterfaces()
715 String[] ifs; in setInterfaces() local
717 ifs = new String[0]; in setInterfaces()
720 ifs = new String[num]; in setInterfaces()
[all …]
/external/chromium_org/third_party/brotli/src/woff2/
Dfile.h26 std::ifstream ifs(filename.c_str(), std::ios::binary); in GetFileContent()
28 std::istreambuf_iterator<char>(ifs.rdbuf()), in GetFileContent()
/external/stlport/test/unit/
Dcodecvt_test.cpp495 wifstream ifs("test.txt"); // a file containing 4098 wchars in imbue_while_reading() local
497 ifs.imbue( locale(locale(), new my_codecvt) ); in imbue_while_reading()
498 ifs.get(); in imbue_while_reading()
499 ifs.seekg(0); in imbue_while_reading()
500 ifs.imbue( locale() ); in imbue_while_reading()
501 ifs.ignore(4096); in imbue_while_reading()
502 int ch = ifs.get(); in imbue_while_reading()
/external/dhcpcd/
Ddhcpcd.c776 struct if_state *ifs = iface->state; in configure_interface1() local
777 struct if_options *ifo = ifs->options; in configure_interface1()
1258 struct if_state *ifs; in init_state() local
1261 ifs = iface->state; in init_state()
1263 ifs = iface->state = xzalloc(sizeof(*ifs)); in init_state()
1265 ifs->state = DHS_INIT; in init_state()
1266 ifs->reason = "PREINIT"; in init_state()
1267 ifs->nakoff = 1; in init_state()
1273 if (ifs->options->options & DHCPCD_REQUEST) in init_state()
1276 if (ifs->options->options & DHCPCD_LINK) { in init_state()
[all …]
Dnet.c337 struct interface *ifp, *ifs, *ifl; in discover_interfaces() local
359 ifs = ifl = NULL; in discover_interfaces()
373 for (ifp = ifs; ifp; ifp = ifp->next) in discover_interfaces()
521 ifs = ifp; in discover_interfaces()
530 return ifs; in discover_interfaces()
/external/wpa_supplicant_8/wpa_supplicant/
Devents.c1488 struct wpa_supplicant *ifs; in wpa_supplicant_event_scan_results() local
1505 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in wpa_supplicant_event_scan_results()
1507 if (ifs != wpa_s) { in wpa_supplicant_event_scan_results()
1509 "sibling", ifs->ifname); in wpa_supplicant_event_scan_results()
1510 _wpa_supplicant_event_scan_results(ifs, data, 0); in wpa_supplicant_event_scan_results()
2770 struct wpa_supplicant *ifs; local
2790 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant,
2792 if (ifs != wpa_s) {
2794 ifs->ifname);
2795 free_hw_features(ifs);
[all …]
Dp2p_supplicant.c3770 struct wpa_supplicant *ifs; in wpas_is_concurrent_session_active() local
3772 for (ifs = wpa_s->global->ifaces; ifs; ifs = ifs->next) { in wpas_is_concurrent_session_active()
3773 if (ifs == wpa_s) in wpas_is_concurrent_session_active()
3775 if (ifs->wpa_state > WPA_ASSOCIATED) in wpas_is_concurrent_session_active()
6599 struct wpa_supplicant *ifs; in wpas_p2p_update_channel_list() local
6614 for (ifs = wpa_s->global->ifaces; ifs; ifs = ifs->next) { in wpas_p2p_update_channel_list()
6616 if (!ifs->current_ssid || in wpas_p2p_update_channel_list()
6617 !ifs->current_ssid->p2p_group || in wpas_p2p_update_channel_list()
6618 (ifs->current_ssid->mode != WPAS_MODE_P2P_GO && in wpas_p2p_update_channel_list()
6619 ifs->current_ssid->mode != WPAS_MODE_P2P_GROUP_FORMATION)) in wpas_p2p_update_channel_list()
[all …]
Dwpa_supplicant.c4719 struct wpa_supplicant *ifs; in get_shared_radio_freqs_data() local
4728 dl_list_for_each(ifs, &wpa_s->radio->ifaces, struct wpa_supplicant, in get_shared_radio_freqs_data()
4733 if (ifs->current_ssid == NULL || ifs->assoc_freq == 0) in get_shared_radio_freqs_data()
4736 if (ifs->current_ssid->mode == WPAS_MODE_AP || in get_shared_radio_freqs_data()
4737 ifs->current_ssid->mode == WPAS_MODE_P2P_GO) in get_shared_radio_freqs_data()
4738 freq = ifs->current_ssid->frequency; in get_shared_radio_freqs_data()
4739 else if (wpa_drv_get_bssid(ifs, bssid) == 0) in get_shared_radio_freqs_data()
4740 freq = ifs->assoc_freq; in get_shared_radio_freqs_data()
4752 if (ifs->current_ssid->mode == WPAS_MODE_INFRA) { in get_shared_radio_freqs_data()
4753 freqs_data[i].flags = ifs->current_ssid->p2p_group ? in get_shared_radio_freqs_data()
/external/javassist/src/main/javassist/compiler/
DMemberResolver.java155 CtClass[] ifs = clazz.getInterfaces(); in lookupMethod() local
156 int size = ifs.length; in lookupMethod()
158 Method r = lookupMethod(ifs[i], methodName, in lookupMethod()
/external/oprofile/module/ia64/
DIA64minstate.h277 #define SAVE_MIN_WITH_COVER DO_SAVE_MIN(cover, mov rCRIFS=cr.ifs,)
279 DO_SAVE_MIN(cover, mov rCRIFS=cr.ifs, mov r15=r19)
/external/javassist/src/main/javassist/util/proxy/
DProxyFactory.java365 public void setInterfaces(Class[] ifs) { in setInterfaces() argument
366 interfaces = ifs; in setInterfaces()
1023 Class[] ifs = clazz.getInterfaces(); in getMethods() local
1024 for (int i = 0; i < ifs.length; i++) in getMethods()
1025 getMethods(hash, ifs[i]); in getMethods()
/external/ppp/pppd/
Dsys-linux.c1754 struct ifreq ifs[MAX_IFS]; in get_ether_addr() local
1759 ifc.ifc_len = sizeof(ifs); in get_ether_addr()
1760 ifc.ifc_req = ifs; in get_ether_addr()
1771 ifend = ifs + (ifc.ifc_len / sizeof(struct ifreq)); in get_ether_addr()
1879 struct ifreq ifs[MAX_IFS]; in GetMask() local
1895 ifc.ifc_len = sizeof(ifs); in GetMask()
1896 ifc.ifc_req = ifs; in GetMask()
/external/libexif/m4m/
Dgp-check-library.m4170 ifs="$IFS"
180 IFS="$ifs"
197 IFS="$ifs"
/external/javassist/src/main/javassist/bytecode/
DSignatureAttribute.java666 ClassType[] ifs in parseSig() local
668 return new ClassSignature(tp, superClass, ifs); in parseSig()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/docs/
Dcoding_style.txt15 Platform/compiler-specific extensions can be used if beneficial, protected by #ifs.
/external/mesa3d/src/gallium/state_trackers/d3d1x/docs/
Dcoding_style.txt15 Platform/compiler-specific extensions can be used if beneficial, protected by #ifs.
/external/chromium_org/third_party/mesa/src/src/glsl/
DREADME53 inlined, all loops unrolled, all ifs flattened, no variable array

12