Home
last modified time | relevance | path

Searched refs:sprintf (Results 1 – 25 of 123) sorted by relevance

12345

/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/
Dns_ntoa.c58 sprintf(obuf, "%x", (UINT32)ntohl(net.long_e)); in ns_ntoa()
64 sprintf(cp, ".0"); in ns_ntoa()
68 sprintf(cp, ".%x", *up++); in ns_ntoa()
71 sprintf(cp, "%02x", *up++); in ns_ntoa()
76 sprintf(cp, ".%x", port); in ns_ntoa()
Dgetnetbynis.c148 sprintf(buf, "%u", netbr[3]); in _getnetbynisaddr()
151 sprintf(buf, "%u.%u", netbr[2], netbr[3]); in _getnetbynisaddr()
154 sprintf(buf, "%u.%u.%u", netbr[1], netbr[2], netbr[3]); in _getnetbynisaddr()
157 sprintf(buf, "%u.%u.%u.%u", netbr[0], netbr[1], in _getnetbynisaddr()
Dinet_neta.c73 # define SPRINTF(x) strlen(sprintf/**/x)
75 # define SPRINTF(x) ((size_t)sprintf x)
Dgetnetbydns.c247 sprintf(qbuf, "0.0.0.%u.in-addr.arpa", netbr[3]); in _getnetbydnsaddr()
250 sprintf(qbuf, "0.0.%u.%u.in-addr.arpa", netbr[3], netbr[2]); in _getnetbydnsaddr()
253 sprintf(qbuf, "0.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _getnetbydnsaddr()
257 sprintf(qbuf, "%u.%u.%u.%u.in-addr.arpa", netbr[3], netbr[2], in _getnetbydnsaddr()
Dinet_net_ntop.c34 # define SPRINTF(x) strlen(sprintf/**/x)
36 # define SPRINTF(x) ((size_t)sprintf x)
Dres_debug.c129 #define SPRINTF(x) sprintf x
462 sprintf(unname, "%d", number); in sym_ntos()
479 sprintf(unname, "%d", number); in sym_ntop()
539 default: sprintf(nbuf, "?0x%lx?", (unsigned long)option); in p_option()
552 sprintf(nbuf, "%u", value); in p_time()
581 (void) sprintf(retbuf, "%ld.%.2ld", val/100, val%100); in precsize_ntoa()
866 (void) sprintf(ascii, "; error: unknown LOC RR version"); in loc_ntoa()
928 sprintf(ascii, in loc_ntoa()
984 sprintf(output, "%04d%02d%02d%02d%02d%02d", in p_secstodate()
Dinet_net_pton.c76 # define SPRINTF(x) strlen(sprintf/**/x)
78 # define SPRINTF(x) ((size_t)sprintf x)
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/ProcessDsc/
DProcessDsc.c766 sprintf (Line, "%s.%d", COMPONENTS_SECTION_NAME, i); in main()
847 sprintf (ExpLine, "nmake -nologo -f %s fvs_%d", gGlobals.MakefileName, i); in main()
1108 sprintf (InLine, "%s\\%s", GetSymbolValue (BUILD_DIR), Line); in ProcessComponentFile()
1142 sprintf (InLine, "%s\\%s", GetSymbolValue (EFI_SOURCE), Line); in ProcessComponentFile()
1172 sprintf (InLine, "$(BUILD_DIR)\\%s", Processor); in ProcessComponentFile()
1204 sprintf (FileName, "%s\\%s", name, Line); in ProcessComponentFile()
1288 sprintf ( in ProcessComponentFile()
1310 sprintf ( in ProcessComponentFile()
1321 sprintf ( in ProcessComponentFile()
1346 sprintf (FileName, "%s\\%s", GetSymbolValue (DEST_DIR), TempCptr); in ProcessComponentFile()
[all …]
DFWVolume.c365 sprintf (Str, "%s\\%s\\%s.%s", Sym, Processor, Name, FFSExt); in CFVAddFVFile()
367 sprintf (Str, "%s\\%s\\%s%s", Sym, Processor, Name, FFSExt); in CFVAddFVFile()
717 sprintf (Str, "fv.%s.options", StartCptr); in CFVWriteInfFiles()
732 sprintf (Str, "fv.%s.attributes", StartCptr); in CFVWriteInfFiles()
752 sprintf (ExpandedLine, "EFI_FILE_NAME = %s\n", FileListPtr->FileName); in CFVWriteInfFiles()
847 sprintf (ExpandedLine, "%s\n", FileListPtr->BaseFileName); in CFVWriteInfFiles()
968 sprintf (Str, "build.fv.%s", FVPtr->FVFileName); in CFVWriteInfFiles()
971 sprintf (Str, "build.fv"); in CFVWriteInfFiles()
1077 sprintf (Str, "build.fv.%s", FVPtr->FVFileName); in CFVWriteInfFiles()
1080 sprintf (Str, "build.fv"); in CFVWriteInfFiles()
[all …]
DMultiThread.c626 sprintf (WorkingDir, "%s\\%s", mBuildDir, CurrentBuildItem->Processor); in ThreadProc()
627 sprintf (LogFile, "%s\\%s_%s_%d.txt", mLogDir, CurrentBuildItem->BaseName, in ThreadProc()
629 sprintf (BuildCmd, "nmake -nologo -f %s all", CurrentBuildItem->Makefile); in ThreadProc()
799 sprintf (mLogDir, "%s\\Log", mBuildDir); in StartMultiThreadBuild()
887 sprintf (Cmd, "type %s\\%s_%s_%d.txt 2>NUL", mLogDir, mBuildingList->BaseName, in StartMultiThreadBuild()
/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
DEfiUtilityMsgs.c463 sprintf (Line, ": %s", Cptr); in PrintMessage()
465 sprintf (Line2, "(%u)", (unsigned) LineNumber); in PrintMessage()
477 sprintf (Line, "%s", Cptr); in PrintMessage()
479 sprintf (Line2, "(%u)", (unsigned) LineNumber); in PrintMessage()
484 sprintf (Line, "%s", mUtilityName); in PrintMessage()
503 sprintf (Line2, ": %s %04u", Type, (unsigned) MessageCode); in PrintMessage()
505 sprintf (Line2, ": %s", Type); in PrintMessage()
/device/google/marlin/camera/usbcamcore/src/
DQCameraUsbParm.cpp215 sprintf(tempStr, "%d", camHal->pictJpegQlty); in usbCamInitDefaultParameters()
223 sprintf(tempStr, "%d", camHal->thumbnailWidth); in usbCamInitDefaultParameters()
226 sprintf(tempStr, "%d", camHal->thumbnailHeight); in usbCamInitDefaultParameters()
231 sprintf(tempStr, "%d", camHal->thumbnailJpegQlty); in usbCamInitDefaultParameters()
612 sprintf(tempStr, "%d", camHal->thumbnailWidth); in usbCamSetThumbnailSize()
615 sprintf(tempStr, "%d", camHal->thumbnailHeight); in usbCamSetThumbnailSize()
658 sprintf(tempStr, "%d", camHal->pictJpegQlty); in usbCamSetJpegQlty()
670 sprintf(tempStr, "%d", camHal->thumbnailJpegQlty); in usbCamSetJpegQlty()
/device/linaro/bootloader/arm-trusted-firmware/plat/hikey/
Dusb.c1228 bytes = sprintf(response, "OKAY0x%08x", in fb_getvar()
1234 bytes = sprintf(part_name, "%s", cmdbuf + 22); in fb_getvar()
1237 bytes = sprintf(response, "FAIL%s", in fb_getvar()
1245 bytes = sprintf(response, "OKAYext4"); in fb_getvar()
1248 bytes = sprintf(response, "OKAYraw"); in fb_getvar()
1255 bytes = sprintf(part_name, "%s", cmdbuf + 22); in fb_getvar()
1258 bytes = sprintf(response, "FAIL%s", in fb_getvar()
1263 bytes = sprintf(response, "OKAY%llx",ptn->length); in fb_getvar()
1270 bytes = sprintf(response, "OKAY%s", in fb_getvar()
1276 bytes = sprintf(response, "OKAY%s", VERSION_BOOTLOADER); in fb_getvar()
[all …]
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/
DAToken_traditional.h113 if ( t==1 ) sprintf(object,"tok_EOF");
114 else sprintf(object,"tok_%s",s);
125 sprintf(object,"tok_blank");
DAToken.h115 if ( t==1 ) sprintf(object,"tok_EOF");
116 else sprintf(object,"tok_%s",s);
127 sprintf(object,"tok_blank");
/device/lge/bullhead/thermal/
Dthermal.c115 sprintf(file_name, TEMPERATURE_FILE_FORMAT, CPU_SENSORS[cpu]); in get_cpu_temperatures()
144 sprintf(file_name, TEMPERATURE_FILE_FORMAT, GPU_SENSOR_NUM); in get_temperatures()
156 sprintf(file_name, TEMPERATURE_FILE_FORMAT, BATTERY_SENSOR_NUM); in get_temperatures()
/device/linaro/bootloader/arm-trusted-firmware/include/stdlib/
Dstdio.h64 int sprintf(char * __restrict, const char * __restrict, ...);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/antlr/
Dparser.dlg913 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s)",
915 else sprintf(buf,"_t%d%s",
935 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%d,%s).",
937 else sprintf(buf,"_t%d%s.",
970 if ( !GenCC ) sprintf(buf,"zzaArg(zztasp%s,%s)",i,j);
971 else sprintf(buf,"_t%s%s",i,j);
994 sprintf(buf,"_retv.%s",&zzbegexpr[1]);
1060 if ( GenCC ) sprintf(buf,"_ast%d%s",BlkLevel-1,zzbegexpr+1);
1061 else sprintf(buf,"zzastArg(%s)",zzbegexpr+1);
1102 sprintf(buf, "%s_ast", zzbegexpr+1);
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/
DAToken.h135 if ( t==1 ) sprintf(object,"tok_EOF");
136 else sprintf(object,"tok_%s",s);
147 sprintf(object,"tok_blank");
/device/google/dragon/audio/hal/
Ddictionary.c374 sprintf(cval, "%04d", i); in main()
379 sprintf(cval, "%04d", i); in main()
387 sprintf(cval, "%04d", i); in main()
Diniparser.c255 sprintf(keym, "%s:", s); in iniparser_dumpsection_ini()
290 sprintf(keym, "%s:", s); in iniparser_getsecnkeys()
336 sprintf(keym, "%s:", s); in iniparser_getseckeys()
702 sprintf(tmp, "%s:%s", section, key); in iniparser_load()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dsprintf.c58 sprintf(char *str, char const *fmt, ...) in sprintf() function
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GuidChk/
DUtilsMsgs.c377 sprintf (Line2, "(%d)", LineNumber); in PrintMessage()
384 sprintf (Line2, " : %s %c%04d", Type, toupper (Type[0]), MessageCode); in PrintMessage()
/device/google/dragon/bluetooth/
Dbluetooth_address.cc31 sprintf(addr_str, "%02x:%02x:%02x:%02x:%02x:%02x", addr[0], addr[1], addr[2], in bytes_to_string()
/device/linaro/bootloader/edk2/StdLib/LibC/Time/
Dstrftime.c298 (void) sprintf(buf, "%ld", in _fmt()
300 else (void) sprintf(buf, "%lu", in _fmt()
584 (void) sprintf(buf, format, n); in _conv()

12345