Searched refs:temp (Results 1 - 19 of 19) sorted by relevance

/system/extras/tests/bionic/libc/other/
H A Dtest_vfprintf_leak.c39 char temp[64]; local
43 snprintf( temp, sizeof(temp), "%g", n*0.647287623 );
/system/core/toolbox/
H A Dgetprop.c12 char temp[PROP_VALUE_MAX + PROP_NAME_MAX + 16]; local
13 snprintf(temp, sizeof temp, "[%s]: [%s]", key, name);
14 strlist_append_dup(list, temp);
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp32 component_t& temp, // incomming fragment / output
40 integer_t fragment(temp.reg, temp.h, temp.flags);
41 if (!(temp.flags & CORRUPTIBLE)) {
42 temp.reg = regs.obtain();
43 temp.flags |= CORRUPTIBLE;
59 build_blendFOneMinusF(temp, factor, fragment, fogColor);
64 component_t& temp, // incomming fragment / output
77 if (!temp
31 build_fog( component_t& temp, int component, Scratch& regs) argument
63 build_blending( component_t& temp, const pixel_t& pixel, int component, Scratch& regs) argument
[all...]
H A Dtexturing.cpp910 int temp = scratches.obtain(); local
934 UXTB16(AL, temp, pixel, 0);
940 MUL(AL, 0, dh, temp, u);
941 UXTB16(AL, temp, pixel, 8);
942 MUL(AL, 0, dl, temp, u);
951 UXTB16(AL, temp, pixellb, 0);
956 MLA(AL, 0, dh, temp, u, dh);
957 UXTB16(AL, temp, pixellb, 8);
958 MLA(AL, 0, dl, temp, u, dl);
969 UXTB16(AL, temp, pixe
1009 int temp = scratches.obtain(); local
[all...]
H A DGGLAssembler.h413 component_t& temp,
467 void build_fog( component_t& temp,
483 void build_blendFOneMinusF( component_t& temp,
488 void build_blendOneMinusFF( component_t& temp,
H A DGGLAssembler.cpp467 component_t temp(-1);
468 build_incoming_component( temp, dst_component_size,
474 build_blending( temp, mDstPixel, component, scratches );
477 downshift(pixel, component, temp, parts.dither);
482 component_t& temp,
597 temp = fragment;
604 temp = component_t(parts.iterated, component);
610 temp = component_t(parts.texel[i], component);
1020 // register 1 has a traditional use as a temp).
481 build_incoming_component( component_t& temp, int dst_size, const fragment_parts_t& parts, int component, Scratch& scratches, Scratch& global_regs) argument
H A DMIPSAssembler.cpp567 // move them to dedicated temp regs. This is ugly, and inefficient,
1285 // works with strings of limited size (makes a temp copy)
1290 char temp[100]; local
1291 char *t = temp;
1307 strcpy(os, temp);
/system/core/libcutils/
H A Dfs.c103 char temp[PATH_MAX]; local
104 if (snprintf(temp, PATH_MAX, "%s.XXXXXX", path) >= PATH_MAX) {
109 int fd = TEMP_FAILURE_RETRY(mkstemp(temp));
111 ALOGE("Failed to open %s: %s", temp, strerror(errno));
122 ALOGE("Failed to write %s: %s", temp, strerror(errno));
126 ALOGE("Failed to close %s: %s", temp, strerror(errno));
130 if (rename(temp, path) == -1) {
131 ALOGE("Failed to rename %s to %s: %s", temp, path, strerror(errno));
140 unlink(temp);
H A Dproperties.c311 char temp[256]; local
312 snprintf( temp, sizeof(temp), "%s=%s", ename, value);
313 putenv(temp);
/system/core/adb/
H A Dusb_vendors.c214 char temp[PATH_MAX]; local
215 if (get_adb_usb_ini(temp, sizeof(temp)) == 0) {
216 FILE * f = fopen(temp, "rt");
221 while (fgets(temp, sizeof(temp), f) != NULL) {
222 if (temp[0] == '#')
225 long value = strtol(temp, NULL, 0);
H A Dadb.c830 char temp[ MAX_PATH ]; local
834 GetTempPath( sizeof(temp) - 8, temp );
835 strcat( temp, "adb.log" );
842 flog = fopen( temp, "at" );
974 char temp[3]; local
977 ret = ReadFile( pipe_read, temp, 3, &count, NULL );
983 if (count != 3 || temp[0] != 'O' || temp[1] != 'K' || temp[
[all...]
H A Djdwp_service.c244 char temp[5]; local
267 memcpy(temp, proc->in_buff, 4);
268 temp[4] = 0;
270 if (sscanf( temp, "%04x", &proc->pid ) != 1) {
271 D("could not decode JDWP %p PID number: '%s'\n", proc, temp);
/system/core/libnetutils/
H A Dpacket.c96 uint16_t temp; local
121 temp = htons(IPPROTO_UDP);
122 udpsum = checksum(&temp, sizeof(temp), udpsum);
123 temp = udp.len;
124 udpsum = checksum(&temp, sizeof(temp), udpsum);
167 uint16_t temp; local
229 temp = packet.udp.check;
232 packet.udp.check = temp;
[all...]
/system/media/audio_utils/
H A Dprimitives.c53 int32_t temp = *src++; local
54 dst[0] = temp;
55 dst[1] = temp;
/system/extras/tests/bionic/libc/common/
H A Dtest_libgen.c12 char temp[256], *input = _input; local
17 strcpy(temp, _input);
18 input = temp;
128 char temp[256], *input = _input; local
133 strcpy(temp, _input);
134 input = temp;
/system/core/libpixelflinger/
H A Dfixed.cpp115 GGLfixed temp = bit + (r<<1); local
116 if (bshift >= 8) temp <<= (bshift-8);
117 else temp >>= (8-bshift);
118 if (a >= temp) {
120 a -= temp;
/system/core/sh/
H A Doutput.c291 char temp[TEMPSIZE];
407 p = temp + TEMPSIZE - 1;
413 len = (temp + TEMPSIZE - 1) - p;
H A Dexpand.c1520 char temp[32]; local
1522 char *p = temp + 31;
1524 temp[31] = '\0';
/system/extras/showslab/
H A Dshowslab.c163 struct slab_info *temp = list->next; local
165 list = temp;

Completed in 75 milliseconds