Lines Matching defs:obj

412 void PdfParser::parse(Object *obj, GBool topLevel) {
415 if (obj->isArray()) {
416 for (int i = 0; i < obj->arrayGetLength(); ++i) {
417 obj->arrayGet(i, &obj2);
425 } else if (!obj->isStream()) {
429 parser = new Parser(xref, new Lexer(xref, obj), gFalse);
437 Object obj;
442 parser->getObj(&obj);
443 while (!obj.isEOF()) {
446 if (obj.isCmd()) {
448 obj.print(stdout);
458 execOp(&obj, args, numArgs);
460 obj.free();
467 args[numArgs++] = obj;
474 obj.print(stdout);
478 obj.free();
482 parser->getObj(&obj);
484 obj.free();
695 Object obj;
696 dash[i] = a->get(i, &obj)->getNum();
697 obj.free();
1084 Object obj;
1087 res->lookupColorSpace(args[0].getName(), &obj);
1091 if (obj.isNull()) {
1094 colorSpace = GfxColorSpace::parse(NULL, &obj, NULL, NULL);
1097 if (obj.isNull()) {
1100 colorSpace = GfxColorSpace::parse(&obj, NULL, NULL);
1103 if (obj.isNull()) {
1106 colorSpace = GfxColorSpace::parse(&obj, NULL);
1109 obj.free();
1124 Object obj;
1128 res->lookupColorSpace(args[0].getName(), &obj);
1130 if (obj.isNull()) {
1133 colorSpace = GfxColorSpace::parse(NULL, &obj, NULL, NULL);
1136 if (obj.isNull()) {
1139 colorSpace = GfxColorSpace::parse(&obj, NULL, NULL);
1142 if (obj.isNull()) {
1145 colorSpace = GfxColorSpace::parse(&obj, NULL);
1148 obj.free();
2364 Object obj;
2378 a->get(i, &obj);
2379 if (obj.isNum()) {
2383 state->textShift(0, -obj.getNum() * 0.001 *
2386 state->textShift(-obj.getNum() * 0.001 *
2389 builder->updateTextShift(state, obj.getNum());
2390 } else if (obj.isString()) {
2391 doShowText(obj.getString());
2395 obj.free();
3164 Object obj;
3170 parser->getObj(&obj);
3171 while (!obj.isCmd(const_cast<char*>("ID")) && !obj.isEOF()) {
3172 if (!obj.isName()) {
3174 obj.free();
3176 key = copyString(obj.getName());
3177 obj.free();
3178 parser->getObj(&obj);
3179 if (obj.isEOF() || obj.isError()) {
3183 dict.dictAdd(key, &obj);
3185 parser->getObj(&obj);
3187 if (obj.isEOF()) {
3189 obj.free();
3193 obj.free();