Searched refs:temp (Results 1 - 21 of 21) 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.c110 char temp[PATH_MAX]; local
111 if (snprintf(temp, PATH_MAX, "%s.XXXXXX", path) >= PATH_MAX) {
116 int fd = TEMP_FAILURE_RETRY(mkstemp(temp));
118 ALOGE("Failed to open %s: %s", temp, strerror(errno));
129 ALOGE("Failed to write %s: %s", temp, strerror(errno));
133 ALOGE("Failed to close %s: %s", temp, strerror(errno));
137 if (rename(temp, path) == -1) {
138 ALOGE("Failed to rename %s to %s: %s", temp, path, strerror(errno));
147 unlink(temp);
H A Dproperties.c320 char temp[256]; local
321 snprintf( temp, sizeof(temp), "%s=%s", ename, value);
322 putenv(temp);
/system/core/adb/
H A Dusb_vendors.c250 char temp[PATH_MAX]; local
251 if (get_adb_usb_ini(temp, sizeof(temp)) == 0) {
252 FILE * f = fopen(temp, "rt");
257 while (fgets(temp, sizeof(temp), f) != NULL) {
258 if (temp[0] == '#')
261 long value = strtol(temp, NULL, 0);
H A Dadb.c917 char temp[ MAX_PATH ]; local
921 GetTempPath( sizeof(temp) - 8, temp );
922 strcat( temp, "adb.log" );
929 flog = fopen( temp, "at" );
1109 char temp[3]; local
1112 ret = ReadFile( pipe_read, temp, 3, &count, NULL );
1118 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.c84 int32_t temp = *src++; local
85 dst[0] = temp;
86 dst[1] = temp;
H A Dtinysndfile.c29 uint8_t *temp; // realloc buffer used for shrinking 16 bits to 8 bits and byte-swapping member in struct:SNDFILE_
72 handle->temp = NULL;
299 handle->temp = NULL;
328 free(handle->temp);
356 void *temp = NULL; local
359 temp = malloc(desiredBytes);
360 actualBytes = fread(temp, sizeof(char), desiredBytes, handle->stream);
375 memcpy_to_i16_from_i32(ptr, (const int *) temp, actualFrames * handle->info.channels);
376 free(temp);
379 memcpy_to_i16_from_float(ptr, (const float *) temp, actualFrame
[all...]
/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/libutils/
H A DVectorImpl.cpp173 void* temp = 0; local
180 if (!temp) {
184 temp = malloc(mItemSize);
185 if (!temp) return NO_MEMORY;
189 _do_destroy(temp, 1);
192 _do_copy(temp, item, 1);
202 } while (j>=0 && (cmp(curr, temp, state) > 0));
205 _do_copy(next, temp, 1);
210 if (temp) {
211 _do_destroy(temp,
[all...]
/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 451 milliseconds